/* FloridaImmobilie.com – Bludit Marktbericht Theme */

.market-page{
  --market-line:rgba(0,0,0,.14);
  --market-ink:#181818;
  --market-muted:#696969;
  --market-sand:#efede8;
  --market-soft:#f7f6f2;
  background:#fff;
}

.market-page [hidden]{
  display:none !important;
}

.market-page .market-js-only{
  display:none;
}

html.has-market-js .market-page .market-tools{
  display:grid;
}

html.has-market-js .market-page .market-load-more{
  display:flex;
}

html.has-market-js .market-page .market-empty-results{
  display:block;
}

/* ---------- Übersicht: Hero ---------- */
.market-hero{
  position:relative;
  min-height:clamp(540px,62vh,720px);
  display:grid;
  align-items:end;
  overflow:hidden;
  background:#111;
}

.market-hero-media{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(0,0,0,.60) 0%,rgba(0,0,0,.30) 48%,rgba(0,0,0,.05) 100%),
    linear-gradient(0deg,rgba(0,0,0,.34) 0%,transparent 52%),
    url("/images/hero-immobilienmarkt.jpg") center center / cover no-repeat;
  transform:scale(1.01);
}

.market-hero-stage{
  position:relative;
  z-index:1;
  padding-top:calc(var(--header-h) + 70px);
  padding-bottom:clamp(62px,8vh,104px);
}

.market-hero-copy{
  max-width:900px;
}

.market-hero-copy .eyebrow{
  color:rgba(255,255,255,.74);
}

.market-hero-copy .eyebrow::before{
  background:#fff;
}

.market-hero-copy h1{
  max-width:980px;
  color:#fff;
  text-wrap:balance;
}

.market-hero-copy > p:not(.eyebrow){
  max-width:760px;
  margin-top:22px;
  color:rgba(255,255,255,.85);
  font-size:clamp(1.08rem,1.3vw,1.28rem);
  line-height:1.58;
}

.market-hero-copy .btn{
  margin-top:30px;
}

.market-taxonomy-hero{
  padding-top:calc(var(--header-h) + 104px);
  padding-bottom:72px;
  color:#fff;
  background:
    linear-gradient(90deg,rgba(0,0,0,.60),rgba(0,0,0,.30)),
    url("/images/hero-immobilienmarkt.jpg") center 54% / cover no-repeat;
}

.market-taxonomy-hero .eyebrow,
.market-taxonomy-hero p{
  color:rgba(255,255,255,.8);
}

.market-taxonomy-hero .eyebrow::before{
  background:#fff;
}

.market-taxonomy-hero h1{
  max-width:920px;
  color:#fff;
}

.market-taxonomy-hero p:last-child{
  margin-top:16px;
}

/* ---------- Übersicht: Archiv ---------- */
.market-archive{
  padding-block:clamp(76px,8vw,120px);
  background:#fff;
}

.market-archive-head{
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);
  gap:clamp(42px,7vw,120px);
  align-items:end;
  margin-bottom:46px;
}

.market-archive-head h2{
  color:var(--market-ink);
}

.market-archive-head > p{
  max-width:600px;
  padding-left:24px;
  border-left:1px solid var(--market-line);
  color:var(--market-muted);
}

.market-tools{
  grid-template-columns:minmax(260px,1fr) minmax(220px,.46fr);
  gap:18px;
  align-items:end;
  padding:22px;
  margin-bottom:38px;
  background:var(--market-soft);
  border-top:1px solid rgba(0,0,0,.24);
}

.market-search,
.market-filter{
  display:grid;
  gap:8px;
}

.market-search span,
.market-filter span{
  color:var(--market-ink);
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.07em;
  text-transform:uppercase;
}

.market-search input,
.market-filter select{
  width:100%;
  min-height:48px;
  padding:10px 14px;
  border:1px solid rgba(0,0,0,.23);
  border-radius:0;
  color:var(--market-ink);
  background:#fff;
  outline:none;
}

.market-search input:focus,
.market-filter select:focus{
  border-color:#000;
  box-shadow:0 0 0 2px rgba(0,0,0,.09);
}

.market-report-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(28px,2.2vw,42px);
}

.market-report-card{
  min-width:0;
  display:flex;
  flex-direction:column;
  background:#fff;
  border:1px solid var(--market-line);
  box-shadow:0 12px 30px rgba(0,0,0,.045);
  transition:transform 260ms ease,box-shadow 260ms ease,border-color 260ms ease;
}

.market-report-card:hover{
  transform:translateY(-4px);
  border-color:rgba(0,0,0,.28);
  box-shadow:0 18px 38px rgba(0,0,0,.09);
}

.market-report-media{
  position:relative;
  display:block;
  aspect-ratio:16/9;
  overflow:hidden;
  background:var(--market-sand);
}

.market-report-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform 600ms ease;
}

.market-report-card:hover .market-report-media img{
  transform:scale(1.035);
}

.market-report-media--fallback{
  display:grid;
  place-items:end start;
  padding:24px;
  text-decoration:none;
  background:
    linear-gradient(135deg,rgba(255,255,255,.84),rgba(255,255,255,.12)),
    repeating-linear-gradient(90deg,transparent 0,transparent 42px,rgba(0,0,0,.04) 42px,rgba(0,0,0,.04) 43px),
    var(--market-sand);
}

.market-report-media--fallback span{
  color:rgba(0,0,0,.72);
  font-size:clamp(1.1rem,1.35vw,1.4rem);
  font-weight:700;
  line-height:1.08;
}

.market-report-body{
  flex:1;
  display:flex;
  flex-direction:column;
  padding:26px 26px 28px;
}

.market-report-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px 16px;
  align-items:center;
  margin-bottom:15px;
  color:var(--market-muted);
  font-size:.78rem;
  letter-spacing:.045em;
  text-transform:uppercase;
}

.market-report-meta span{
  position:relative;
  padding-left:16px;
}

.market-report-meta span::before{
  content:"";
  position:absolute;
  left:0;
  top:50%;
  width:3px;
  height:3px;
  background:var(--accent);
  transform:translateY(-50%);
}

.market-report-card h3{
  margin-bottom:14px;
  color:var(--market-ink);
  font-size:clamp(1.3rem,1.5vw,1.62rem);
  line-height:1.18;
}

.market-report-card h3 a{
  text-decoration:none;
}

.market-report-card h3 a:hover,
.market-report-card h3 a:focus-visible{
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:4px;
}

.market-report-card p{
  color:var(--market-muted);
  font-size:1rem;
  line-height:1.58;
}

.market-report-link{
  display:inline-flex;
  align-items:center;
  gap:9px;
  width:max-content;
  margin-top:auto;
  padding-top:22px;
  color:var(--market-ink);
  font-size:.92rem;
  font-weight:700;
  text-decoration:none;
}

.market-report-link span{
  color:var(--accent);
  transition:transform 220ms ease;
}

.market-report-link:hover span,
.market-report-link:focus-visible span{
  transform:translateX(4px);
}

.market-load-more{
  justify-content:center;
  margin-top:44px;
}

.market-empty-results,
.market-empty-state{
  padding:38px;
  text-align:center;
  background:var(--market-soft);
  border-top:1px solid rgba(0,0,0,.24);
}

.market-empty-results{
  margin:0;
  color:var(--market-muted);
}

.market-empty-state h3{
  margin-bottom:10px;
}

/* ---------- Zentrale Leseseite ---------- */
.market-reading-room{
  padding-block:clamp(76px,8vw,120px);
  background:#fff;
}

.market-featured-report,
.market-collapsible-report{
  display:grid;
  grid-template-columns:minmax(250px,.78fr) minmax(0,2.22fr);
  gap:clamp(30px,3.5vw,68px);
  align-items:start;
}

.market-featured-main,
.market-collapsible-main{
  min-width:0;
}

.market-report-dateline{
  margin:0 0 18px;
  color:var(--market-muted);
  font-size:.92rem;
  line-height:1.4;
  text-align:right;
}

.market-report-dateline time{
  color:inherit;
}

.market-collapsible-report:not(.is-expanded) .market-report-dateline{
  display:none;
}

.market-report-rail{
  align-self:stretch;
}

.market-report-rail-sticky{
  position:sticky;
  top:calc(var(--header-h) + 28px);
  display:flex;
  flex-direction:column;
  max-height:calc(100dvh - var(--header-h) - 56px);
  padding:clamp(22px,2.2vw,30px);
  overflow:hidden;
  background:var(--market-sand);
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.035);
}

.market-report-rail h1,
.market-report-rail h2{
  color:var(--market-ink);
  font-size:clamp(1.65rem,2.25vw,2.35rem);
  line-height:1.08;
  text-wrap:balance;
}

.market-report-rail h2 a{
  color:inherit;
  text-decoration:none;
}

.market-report-rail h2 a:hover,
.market-report-rail h2 a:focus-visible{
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:5px;
}

.market-rail-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px 14px;
  margin-top:18px;
  color:var(--market-muted);
  font-size:.77rem;
  letter-spacing:.045em;
  text-transform:uppercase;
}

.market-rail-meta > * + *{
  position:relative;
  padding-left:14px;
}

.market-rail-meta > * + *::before{
  content:"";
  position:absolute;
  left:0;
  top:50%;
  width:3px;
  height:3px;
  background:var(--accent);
  transform:translateY(-50%);
}

.market-report-status{
  margin-bottom:12px;
}

.market-toc{
  display:flex;
  flex:1 1 auto;
  flex-direction:column;
  min-height:0;
  margin-top:16px;
  padding-top:0;
  border-top:0;
}

.market-toc > p{
  margin-bottom:12px;
  color:var(--market-ink);
  font-size:.9rem;
  font-weight:700;
  letter-spacing:.065em;
  text-transform:uppercase;
}

.market-toc ol{
  flex:1 1 auto;
  min-height:0;
  max-height:clamp(160px,calc(100dvh - var(--header-h) - 330px),46dvh);
  margin:0;
  padding:0 8px 0 0;
  overflow-y:auto;
  list-style:none;
  scrollbar-width:thin;
}

.market-toc li + li{
  margin-top:8px;
}

.market-toc li.is-subsection{
  padding-left:14px;
}

.market-toc a{
  display:block;
  color:var(--market-muted);
  font-size:.86rem;
  line-height:1.35;
  text-decoration:none;
}

.market-toc a:hover,
.market-toc a:focus-visible{
  color:var(--market-ink);
  text-decoration:underline;
  text-underline-offset:3px;
}

.market-toc a.is-active{
  color:var(--market-ink);
  font-weight:700;
}

.market-rail-person{
  flex:0 0 auto;
  margin-top:28px;
  padding-top:22px;
  border-top:1px solid var(--market-line);
}

.market-rail-expanded:not([hidden]){
  display:flex;
  flex:1 1 auto;
  flex-direction:column;
  min-height:0;
}

.market-rail-author{
  display:grid;
  grid-template-columns:64px minmax(0,1fr);
  gap:15px;
  align-items:center;
  color:inherit;
  text-decoration:none;
}

.market-rail-author img{
  box-sizing:border-box;
  width:64px;
  height:64px;
  padding:3px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 0 0 1px rgba(0,0,0,.08);
  object-fit:cover;
  object-position:center 18%;
  filter:grayscale(.08);
}

.market-rail-author p{
  color:var(--market-muted);
  font-size:.78rem;
  line-height:1.4;
}

.market-rail-author .market-rail-author-name{
  margin-bottom:4px;
  color:var(--market-ink);
  font-size:.95rem;
  font-weight:700;
}

.market-rail-author:hover .market-rail-author-name,
.market-rail-author:focus-visible .market-rail-author-name{
  text-decoration:underline;
  text-underline-offset:3px;
}

.market-rail-author:focus-visible{
  outline:2px solid var(--market-ink);
  outline-offset:5px;
}

.market-rail-contact-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  width:100%;
  margin-top:17px;
  padding:9px 14px;
  border:1px solid var(--market-ink);
  color:var(--market-ink);
  font-size:.83rem;
  font-weight:700;
  text-decoration:none;
  transition:background-color .2s ease,color .2s ease;
}

.market-rail-contact-link:hover,
.market-rail-contact-link:focus-visible{
  background:var(--market-ink);
  color:#fff;
}

.market-featured-main > .market-article-content,
.market-expanded-content{
  width:100%;
}

.market-contact-home-slot,
.market-contact-slot{
  width:100%;
}

.market-inline-contact{
  margin-top:64px;
  padding:clamp(24px,3vw,38px);
  scroll-margin-top:calc(var(--header-h) + 24px);
}

.market-inline-contact .market-contact-fields{
  grid-template-columns:repeat(2,minmax(0,1fr));
}

.market-inline-contact .market-contact-email,
.market-inline-contact .market-contact-message{
  grid-column:1/-1;
}

.market-inline-contact .market-contact-form .btn{
  width:max-content;
  min-width:190px;
}

.market-permanent-link{
  display:inline-flex;
  gap:9px;
  margin-top:26px;
  color:var(--market-ink);
  font-size:.88rem;
  font-weight:700;
  text-decoration:none;
}

.market-permanent-link:hover,
.market-permanent-link:focus-visible{
  text-decoration:underline;
  text-underline-offset:4px;
}

/* ---------- Frühere Berichte ---------- */
.market-previous-reports{
  padding-block:clamp(76px,8vw,120px);
  background:var(--market-soft);
}

.market-previous-head{
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);
  gap:clamp(42px,7vw,120px);
  align-items:end;
  margin-bottom:46px;
}

.market-previous-head h2{
  color:var(--market-ink);
}

.market-previous-head > p{
  max-width:600px;
  padding-left:24px;
  border-left:1px solid var(--market-line);
  color:var(--market-muted);
}

.market-collapsible-list{
  border-top:1px solid var(--market-line);
}

.market-collapsible-report{
  position:relative;
  isolation:isolate;
  padding-block:clamp(48px,6vw,78px);
  border-bottom:1px solid var(--market-line);
  scroll-margin-top:calc(var(--header-h) + 24px);
}

.market-collapsible-report::before{
  content:"";
  position:absolute;
  z-index:0;
  top:1px;
  bottom:1px;
  left:50%;
  width:100vw;
  background:rgba(255,255,255,.6);
  opacity:0;
  pointer-events:none;
  transform:translateX(-50%);
  transition:opacity .2s ease;
}

.market-collapsible-report > *{
  position:relative;
  z-index:1;
}

.market-collapsible-report:hover::before,
.market-collapsible-report:focus-within::before{
  opacity:1;
}

.market-collapsible-report:hover .market-report-preview::after,
.market-collapsible-report:focus-within .market-report-preview::after{
  background:linear-gradient(to bottom,rgba(255,255,255,0),rgba(255,255,255,.6) 82%);
}

.market-collapsible-report:not(.is-expanded) .market-report-rail-sticky{
  position:static;
}

.market-report-preview{
  position:relative;
  min-height:160px;
  max-height:200px;
  overflow:hidden;
}

.market-report-preview::after{
  content:"";
  position:absolute;
  inset:auto 0 0;
  height:124px;
  pointer-events:none;
  background:linear-gradient(to bottom,rgba(247,246,242,0),var(--market-soft) 82%);
}

.market-report-preview p{
  color:#414141;
  font-size:clamp(1.05rem,1.15vw,1.18rem);
  line-height:1.75;
}

.market-collapsible-actions{
  display:flex;
  flex-wrap:wrap;
  gap:18px 26px;
  align-items:center;
  margin-top:20px;
}

.market-expand-link,
.market-single-link{
  color:var(--market-ink);
  font-size:.9rem;
  font-weight:700;
  text-underline-offset:4px;
}

.market-expand-link{
  display:inline-flex;
  gap:9px;
  align-items:center;
  text-decoration:none;
}

.market-expand-link:hover,
.market-expand-link:focus-visible,
.market-single-link:hover,
.market-single-link:focus-visible{
  text-decoration:underline;
}

.market-collapsible-report.is-loading{
  opacity:.68;
}

.market-collapsible-report.is-transitioning .market-expand-link{
  pointer-events:none;
}

.market-collapsible-report.is-transitioning{
  overflow-anchor:none;
}

.market-expand-link [data-expand-icon]{
  display:inline-block;
  transition:transform .45s cubic-bezier(.22,.61,.36,1);
}

.market-collapsible-report.is-expanded .market-expand-link [data-expand-icon]{
  transform:rotate(180deg);
}

.market-collapsible-report:not(.is-expanded) .market-contact-slot{
  display:none;
}

.market-collapsible-report.is-expanded .market-collapsible-actions{
  margin-top:30px;
}

.market-contact-slot:empty{
  display:none;
}

/* ---------- Einzelner Bericht ---------- */
.market-single-report-intro{
  padding-top:calc(var(--header-h) + 34px);
  background:#fff;
}

.market-single-report-intro .market-breadcrumbs{
  margin:0;
  color:var(--market-muted);
}

.market-single-report-intro .market-breadcrumbs a:hover,
.market-single-report-intro .market-breadcrumbs a:focus-visible{
  color:var(--market-ink);
}

.market-single-reading-room{
  padding-top:clamp(34px,4.5vw,64px);
}

.market-single-report .market-back-link{
  margin-top:28px;
}

.market-article-hero{
  position:relative;
  min-height:clamp(540px,66vh,720px);
  display:grid;
  align-items:end;
  overflow:hidden;
  background:#111;
}

.market-article-hero-media{
  position:absolute;
  inset:0;
}

.market-article-hero-media::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(0,0,0,.82) 0%,rgba(0,0,0,.54) 52%,rgba(0,0,0,.2) 100%),
    linear-gradient(0deg,rgba(0,0,0,.5),transparent 48%);
}

.market-article-hero-media img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.market-article-hero-stage{
  position:relative;
  z-index:1;
  padding-top:calc(var(--header-h) + 54px);
  padding-bottom:clamp(54px,7vh,86px);
}

.market-breadcrumbs{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:34px;
  color:rgba(255,255,255,.68);
  font-size:.82rem;
  text-transform:uppercase;
  letter-spacing:.055em;
}

.market-breadcrumbs a{
  color:inherit;
  text-decoration:none;
}

.market-breadcrumbs a:hover,
.market-breadcrumbs a:focus-visible{
  color:#fff;
  text-decoration:underline;
  text-underline-offset:4px;
}

.market-article-heading{
  max-width:1080px;
}

.market-article-heading .eyebrow{
  color:rgba(255,255,255,.72);
}

.market-article-heading .eyebrow::before{
  background:#fff;
}

.market-article-heading h1{
  color:#fff;
  font-size:clamp(2.35rem,4.55vw,4.6rem);
  text-wrap:balance;
}

.market-article-lead{
  max-width:850px;
  margin-top:22px;
  color:rgba(255,255,255,.84);
  font-size:clamp(1.05rem,1.25vw,1.25rem);
  line-height:1.56;
}

.market-article-meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px 22px;
  margin-top:28px;
  color:rgba(255,255,255,.72);
  font-size:.78rem;
  text-transform:uppercase;
  letter-spacing:.055em;
}

.market-article-meta > * + *{
  position:relative;
  padding-left:22px;
}

.market-article-meta > * + *::before{
  content:"";
  position:absolute;
  left:0;
  top:50%;
  width:3px;
  height:3px;
  background:#fff;
  transform:translateY(-50%);
}

.market-article-shell{
  padding-block:clamp(72px,8vw,120px);
  background:#fff;
}

.market-article-layout{
  display:grid;
  grid-template-columns:minmax(0,2fr) minmax(290px,.8fr);
  gap:clamp(52px,7vw,120px);
  align-items:start;
}

.market-article-content{
  width:min(100%,900px);
}

.market-article-content > *:first-child{
  margin-top:0;
}

.market-article-content h2,
.market-article-content h3,
.market-article-content h4{
  color:var(--market-ink);
  scroll-margin-top:calc(var(--header-h) + 24px);
}

.market-article-content h2{
  margin:2.3em 0 .72em;
  padding-top:.7em;
  border-top:1px solid var(--market-line);
  font-size:clamp(1.75rem,2.5vw,2.5rem);
}

.market-article-content h3{
  margin:1.75em 0 .62em;
  font-size:clamp(1.3rem,1.6vw,1.62rem);
}

.market-article-content h4{
  margin:1.45em 0 .5em;
  font-size:1.12rem;
}

.market-article-content p,
.market-article-content li{
  color:#414141;
  font-size:clamp(1.04rem,1.05vw,1.14rem);
  line-height:1.75;
}

.market-article-content p + p{
  margin-top:1.18em;
}

.market-article-content ul,
.market-article-content ol{
  margin:1.1em 0 1.35em;
  padding-left:1.35em;
}

.market-article-content li + li{
  margin-top:.48em;
}

.market-article-content a{
  color:var(--market-ink);
  text-decoration-color:rgba(0,0,0,.42);
  text-decoration-thickness:1px;
  text-underline-offset:4px;
}

.market-article-content a:hover,
.market-article-content a:focus-visible{
  color:#000;
  text-decoration-thickness:2px;
}

.market-article-content blockquote{
  margin:2em 0;
  padding:24px 28px;
  border-left:1px solid rgba(0,0,0,.34);
  background:var(--market-soft);
}

.market-article-content blockquote p{
  color:var(--market-ink);
  font-size:clamp(1.1rem,1.3vw,1.28rem);
}

.market-article-content figure,
.market-article-content > img,
.market-article-content p > img{
  margin-block:2em;
}

.market-article-content figure img,
.market-article-content > img,
.market-article-content p > img{
  width:100%;
  height:auto;
}

.market-article-content figcaption{
  margin-top:9px;
  color:var(--market-muted);
  font-size:.82rem;
  line-height:1.45;
}

.market-article-content table{
  display:block;
  width:100%;
  max-width:100%;
  overflow-x:auto;
  border-collapse:collapse;
  margin:2em 0;
  font-size:.96rem;
}

.market-article-content th,
.market-article-content td{
  min-width:130px;
  padding:12px 14px;
  border:1px solid var(--market-line);
  text-align:left;
  vertical-align:top;
}

.market-article-content th{
  color:var(--market-ink);
  background:var(--market-sand);
}

.market-article-content hr{
  height:1px;
  margin:2.4em 0;
  border:0;
  background:var(--market-line);
}

.market-article-note{
  margin-top:54px;
  padding:22px 24px;
  border-top:1px solid var(--market-line);
  background:var(--market-soft);
}

.market-article-note p{
  color:var(--market-muted);
  font-size:.88rem;
  line-height:1.58;
}

.market-article-aside{
  position:sticky;
  top:calc(var(--header-h) + 28px);
  display:grid;
  gap:24px;
}

.market-author-card,
.market-contact-card{
  padding:28px;
  border:1px solid var(--market-line);
}

.market-author-card img{
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
  object-position:center 20%;
  margin-bottom:22px;
  filter:grayscale(.14);
}

.market-author-card .market-author-kicker{
  margin-bottom:7px;
  color:var(--market-muted);
  font-size:.73rem;
  font-weight:700;
  letter-spacing:.07em;
  text-transform:uppercase;
}

.market-author-card h2,
.market-contact-card h2{
  margin-bottom:12px;
  color:var(--market-ink);
  font-size:1.35rem;
}

.market-author-card p,
.market-contact-card p{
  color:var(--market-muted);
  font-size:.94rem;
  line-height:1.55;
}

.market-author-card a,
.market-back-link{
  color:var(--market-ink);
  font-weight:700;
  text-underline-offset:4px;
}

.market-author-card a{
  display:inline-block;
  margin-top:14px;
}

.market-contact-card{
  background:var(--market-sand);
}

.market-contact-form{
  display:grid;
  gap:14px;
}

.market-contact-fields{
  display:grid;
  gap:14px;
}

.market-contact-form > p:first-of-type{
  margin-top:-5px;
  margin-bottom:3px;
}

.market-contact-form label{
  display:grid;
  gap:6px;
}

.market-contact-form label > span{
  color:var(--market-ink);
  font-size:.79rem;
  font-weight:700;
  letter-spacing:.035em;
}

.market-contact-form label em{
  color:var(--market-muted);
  font-size:.72rem;
  font-style:normal;
  font-weight:500;
}

.market-contact-form input,
.market-contact-form textarea{
  width:100%;
  border:1px solid #c8c4bd;
  border-radius:0;
  background:#fff;
  color:var(--market-ink);
  font:inherit;
  font-size:.94rem;
  line-height:1.4;
  transition:border-color .2s ease, box-shadow .2s ease;
}

.market-contact-form input{
  min-height:44px;
  padding:10px 12px;
}

.market-contact-form textarea{
  min-height:112px;
  padding:11px 12px;
  resize:vertical;
}

.market-contact-form input:focus,
.market-contact-form textarea:focus{
  border-color:var(--market-ink);
  box-shadow:0 0 0 2px rgba(20,20,20,.1);
  outline:none;
}

.market-contact-form .btn{
  width:100%;
  margin-top:3px;
}

.market-contact-card .market-contact-note{
  color:var(--market-muted);
  font-size:.76rem;
  line-height:1.45;
}

.market-contact-card .market-contact-status{
  display:none;
  padding:10px 12px;
  border-left:2px solid var(--market-ink);
  background:#fff;
  color:var(--market-ink);
  font-size:.82rem;
  line-height:1.5;
}

.market-contact-status.is-visible{
  display:block;
}

.market-contact-status.is-error{
  border-left-color:#555;
}

.market-contact-form .market-contact-honey{
  position:absolute;
  left:-10000px;
  width:1px;
  height:1px;
  overflow:hidden;
}

.market-back-link{
  display:inline-flex;
  align-items:center;
  gap:9px;
  width:max-content;
  text-decoration:none;
}

.market-back-link:hover,
.market-back-link:focus-visible{
  text-decoration:underline;
}

/* ---------- 404 ---------- */
.market-not-found{
  min-height:72vh;
  display:grid;
  align-items:center;
  padding-top:calc(var(--header-h) + 90px);
  padding-bottom:90px;
  background:var(--market-sand);
}

.market-not-found .stage{
  max-width:900px;
}

.market-not-found h1{
  margin-bottom:18px;
}

.market-not-found-actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:30px;
}

/* ---------- Responsive ---------- */
@media (max-width:1080px){
  .market-report-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .market-article-layout{
    grid-template-columns:minmax(0,1fr) 290px;
    gap:48px;
  }
}

/* Kompakteres Autorenprofil, damit die beiden Berufszeilen neben dem Bild
   im schmaleren Desktop-Rail jeweils einzeilig bleiben. */
@media (min-width:851px) and (max-width:1250px){
  .market-report-rail-sticky{
    padding-inline:18px;
  }

  .market-rail-author{
    grid-template-columns:48px minmax(0,1fr);
    gap:10px;
  }

  .market-rail-author img{
    width:48px;
    height:48px;
  }

  .market-rail-author p:not(.market-rail-author-name){
    font-size:.73rem;
    line-height:1.35;
    white-space:nowrap;
  }

  .market-rail-author .market-rail-author-name{
    margin-bottom:1px;
    font-size:.9rem;
  }
}

@media (max-width:850px){
  .market-archive-head,
  .market-previous-head,
  .market-article-layout,
  .market-featured-report,
  .market-collapsible-report{
    grid-template-columns:1fr;
  }

  .market-archive-head,
  .market-previous-head{
    gap:24px;
  }

  .market-archive-head > p,
  .market-previous-head > p{
    max-width:760px;
  }

  .market-featured-report,
  .market-collapsible-report{
    gap:38px;
  }

  .market-report-rail-sticky{
    position:static;
    max-height:none;
    overflow:visible;
  }

  .market-single-report-intro{
    padding-top:calc(var(--header-h) + 24px);
  }

  .market-single-reading-room{
    padding-top:28px;
  }

  .market-toc ol{
    max-height:none;
  }

  .market-rail-person{
    max-width:420px;
  }

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

  .market-back-link{
    grid-column:1/-1;
  }
}

/* iPhone- und iPad-mini-Querformat: Das Inhaltsverzeichnis erhält die
   vollständige Höhe der linken Berichtsleiste. */
@media (orientation:landscape) and (max-width:1180px) and (max-height:820px){
  .market-report-rail-sticky{
    max-height:calc(100dvh - var(--header-h) - 28px - 3vw);
  }

  .market-rail-person{
    display:none;
  }

  .market-toc ol{
    max-height:none;
    padding:10px 12px 22px 10px;
    border:1px solid rgba(0,0,0,.09);
    background:rgba(255,255,255,.42);
    box-shadow:inset 0 -22px 18px -20px rgba(0,0,0,.5);
    -webkit-overflow-scrolling:touch;
  }
}

@media (orientation:landscape) and (max-width:850px) and (max-height:820px){
  .market-report-rail-sticky{
    max-height:calc(100dvh - var(--header-h) - 48px);
  }
}

@media (max-width:670px){
  .market-hero{
    min-height:590px;
  }

  .market-hero-media{
    background:
      linear-gradient(90deg,rgba(0,0,0,.62),rgba(0,0,0,.30)),
      linear-gradient(0deg,rgba(0,0,0,.42),transparent 58%),
      url("/images/hero-immobilienmarkt.jpg") 42% center / cover no-repeat;
  }

  .market-hero-stage{
    padding-top:calc(var(--header-h) + 80px);
    padding-bottom:52px;
  }

  .market-hero-copy h1,
  .market-article-heading h1{
    font-size:clamp(2.05rem,10.4vw,3rem);
  }

  .market-hero-copy > p:not(.eyebrow){
    font-size:1rem;
  }

  .market-archive{
    padding-block:66px;
  }

  .market-tools,
  .market-report-grid,
  .market-article-aside{
    grid-template-columns:1fr;
  }

  .market-inline-contact .market-contact-fields{
    grid-template-columns:1fr;
  }

  .market-inline-contact .market-contact-email,
  .market-inline-contact .market-contact-message{
    grid-column:auto;
  }

  .market-inline-contact .market-contact-form .btn{
    width:100%;
  }

  .market-reading-room,
  .market-previous-reports{
    padding-block:66px;
  }

  .market-report-preview{
    min-height:135px;
    max-height:175px;
  }

  .market-rail-author{
    grid-template-columns:58px minmax(0,1fr);
  }

  .market-rail-author img{
    width:58px;
    height:58px;
  }

  .market-tools{
    padding:18px;
  }

  .market-report-body{
    padding:22px 22px 24px;
  }

  .market-article-hero{
    min-height:600px;
  }

  .market-article-hero-stage{
    padding-top:calc(var(--header-h) + 62px);
    padding-bottom:50px;
  }

  .market-breadcrumbs{
    margin-bottom:25px;
  }

  .market-article-meta{
    gap:8px 14px;
  }

  .market-article-meta > * + *{
    padding-left:14px;
  }

  .market-article-shell{
    padding-block:64px;
  }

  .market-article-content h2{
    margin-top:1.9em;
  }

  .market-author-card,
  .market-contact-card{
    padding:24px;
  }

  .market-not-found-actions .btn{
    width:100%;
  }
}

@media (prefers-reduced-motion:reduce){
  .market-report-card,
  .market-report-media img,
  .market-report-link span,
  .market-expand-link [data-expand-icon]{
    transition:none;
  }

  .market-report-card:hover{
    transform:none;
  }
}
