/* =========================================================
   Tirol Real Estate – neue Komponenten (Startseite & Immobilienbewertung)
   Präfix .tre- – kollidiert nicht mit bestehenden Klassen.
   Nutzt die vorhandene Schrift Poppins und die bestehenden Button-Klassen
   (.btn .btn-primary / .btn-rte-calltoaction .btn-underline-primary .btn-icon).
   ========================================================= */
:root{
  --tre-yellow:#FFCD08;
  --tre-dark:#212529;
  --tre-box:#3a3a3a;
  --tre-line:#e4e4e4;
  --tre-sand:#f6f4ef;
  --tre-star:#f0b800;
}

/* ---------- Gemeinsame Bausteine ---------- */
.tre-section{padding:80px 0}
.tre-section--sand{background:var(--tre-sand)}
.tre-wrap{max-width:1040px;margin:0 auto;padding:0 20px}
.tre-heading{margin:0 0 36px}
.tre-heading small{display:block;font-size:26px;font-weight:300;text-transform:uppercase;line-height:1.2}
.tre-heading strong{display:inline-block;font-size:30px;font-weight:700;text-transform:uppercase;line-height:1.2;
  padding-bottom:8px;border-bottom:5px solid currentColor}
.tre-btn{display:inline-flex;align-items:center;gap:8px;padding:15px 26px;font-size:16px;font-weight:700;
  border-radius:3px;text-decoration:none;white-space:nowrap;transition:filter .15s}
.tre-btn:hover{filter:brightness(.95);text-decoration:none}
.tre-btn--yellow{background:var(--tre-yellow);color:var(--tre-dark)}
.tre-btn--outline-light{border:2px solid #fff;color:#fff;padding:13px 24px}
.tre-btn--dark{background:var(--tre-dark);color:#fff}
.tre-stars{color:var(--tre-star);letter-spacing:2px}

/* ---------- 1 · Header-Button ---------- */
.tre-nav-cta{background:var(--tre-yellow);color:var(--tre-dark)!important;font-weight:700;padding:10px 16px;
  border-radius:3px;white-space:nowrap}
@media (max-width:991px){.tre-nav-cta{display:block;text-align:center;margin:12px 0}}

/* ---------- 2 · Hero ---------- */
.tre-hero{position:relative;min-height:640px;display:flex;align-items:center;color:#fff;
  background-size:cover;background-position:center 85%}
.tre-hero::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,12,20,.6),rgba(8,12,20,.25))}
.tre-hero__inner{position:relative;width:100%;max-width:1040px;margin:0 auto;padding:80px 20px}
.tre-hero h1{margin:0;font-size:28px;font-weight:300;text-transform:uppercase;line-height:1.2;color:#fff}
.tre-hero__title{display:inline-block;margin:4px 0 0;font-size:52px;font-weight:700;text-transform:uppercase;
  line-height:1.12;padding-bottom:10px;border-bottom:5px solid #fff}
.tre-hero__text{font-size:19px;line-height:1.6;margin:28px 0 36px;max-width:620px}
.tre-hero__buttons{display:flex;flex-wrap:wrap;gap:14px}
.tre-hero__trust{display:flex;flex-wrap:wrap;gap:8px 20px;margin-top:28px;font-size:14px}
.tre-hero__trust b{color:var(--tre-yellow)}
@media (max-width:767px){
  .tre-hero{min-height:560px;background-position:60% 85%}
  .tre-hero h1{font-size:18px}
  .tre-hero__title{font-size:32px}
  .tre-hero__text{font-size:16px;margin:20px 0 26px}
  .tre-hero__buttons .tre-btn{width:100%;justify-content:center}
}

/* ---------- 3 · Kundenstimmen ---------- */
.tre-reviews__top{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;flex-wrap:wrap;margin-bottom:40px}
.tre-reviews__score{display:flex;align-items:center;gap:14px}
.tre-reviews__score img{width:52px;height:52px}
.tre-reviews__value{font-size:50px;font-weight:700;line-height:1}
.tre-reviews__count{font-size:13px;color:#555}
.tre-reviews__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.tre-review{background:#fff;border:1px solid var(--tre-line);padding:28px;box-shadow:0 2px 10px rgba(0,0,0,.04)}
.tre-review p{font-size:15px;line-height:1.65;margin:14px 0 18px}
.tre-review footer{font-size:13px;color:#666}
.tre-reviews__more{text-align:center;margin-top:40px}
.tre-reviews__grid--2{grid-template-columns:repeat(2,1fr)}
@media (max-width:991px){.tre-reviews__grid,.tre-reviews__grid--2{grid-template-columns:1fr}}

/* ---------- 4 · Online-Bewertung (ersetzt Pop-up) ---------- */
.tre-valuation{position:relative;max-width:1040px;margin:0 auto;min-height:540px;display:flex;align-items:center}
.tre-valuation__img{position:absolute;left:0;top:0;bottom:0;width:66%;background-size:cover;background-position:center}
.tre-valuation__box{position:relative;margin-left:auto;width:520px;background:var(--tre-box);color:#fff;padding:42px 44px}
.tre-eyebrow{display:flex;align-items:center;gap:12px;font-size:15px;margin-bottom:6px}
.tre-eyebrow::before{content:"";width:40px;height:3px;background:var(--tre-yellow)}
.tre-valuation h2{font-size:28px;font-weight:700;text-transform:uppercase;line-height:1.2;margin:0 0 14px;color:#fff}
.tre-valuation p{font-size:15px;line-height:1.65;opacity:.9;margin:0 0 20px}
.tre-steps-inline{list-style:none;padding:0;margin:0 0 24px}
.tre-steps-inline li{display:flex;gap:14px;margin-bottom:12px;font-size:14px;line-height:1.5}
.tre-steps-inline li span{flex:0 0 30px;height:30px;border-radius:50%;background:var(--tre-yellow);color:var(--tre-dark);
  font-weight:700;display:flex;align-items:center;justify-content:center}
@media (max-width:991px){
  .tre-valuation{display:block;min-height:0}
  .tre-valuation__img{position:relative;width:100%;height:260px}
  .tre-valuation__box{width:auto;padding:32px 24px}
}

/* ---------- 5 · Vorteile (Über uns) ---------- */
.tre-usp{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:24px 0}
.tre-usp div{border-top:3px solid var(--tre-yellow);padding-top:12px;font-size:14px;line-height:1.5}
.tre-usp b{display:block;font-size:15px}
@media (max-width:575px){.tre-usp{grid-template-columns:1fr}}

/* ---------- 6 · SEO-Text aufklappbar ---------- */
.tre-seo p{font-size:15px;line-height:1.75}
.tre-seo h3{font-size:17px;font-weight:700;text-transform:uppercase;margin:0 0 8px}
.tre-seo__grid{display:grid;grid-template-columns:1fr 1fr;gap:30px 50px;margin-top:26px}
.tre-seo details summary{cursor:pointer;list-style:none;display:inline-block;font-weight:700;margin-top:20px;
  padding-bottom:5px;border-bottom:3px solid var(--tre-yellow)}
.tre-seo details summary::-webkit-details-marker{display:none}
.tre-seo details[open] summary .tre-more{display:none}
.tre-seo details:not([open]) summary .tre-less{display:none}
@media (max-width:767px){.tre-seo__grid{grid-template-columns:1fr}}

/* ---------- 7 · Bewertungsseite: Einstieg zweispaltig ---------- */
.tre-val-intro{display:grid;grid-template-columns:1fr 470px;gap:56px;align-items:start}
.tre-checklist{list-style:none;padding:0;margin:22px 0}
.tre-checklist li{position:relative;padding:7px 0 7px 34px;font-size:15px;line-height:1.5}
.tre-checklist li::before{content:"✓";position:absolute;left:0;top:7px;width:22px;height:22px;border-radius:50%;
  background:var(--tre-yellow);font-weight:700;font-size:13px;display:flex;align-items:center;justify-content:center}
.tre-ratingbox{border:1px solid var(--tre-line);padding:20px 22px;display:flex;align-items:center;gap:16px;margin-bottom:14px}
.tre-ratingbox img{width:48px;height:48px}
.tre-ratingbox__value{font-size:28px;font-weight:700;line-height:1}
.tre-ratingbox__value .tre-stars{font-size:18px}
.tre-lead{font-size:16px;line-height:1.7}
.tre-phonebox{background:var(--tre-box);color:#fff;padding:20px 22px}
.tre-phonebox a{display:block;color:#fff;font-size:22px;font-weight:700;margin-top:4px;text-decoration:none}
.tre-phonebox small{font-size:13px;opacity:.85}
.tre-tool{border:1px solid var(--tre-line);box-shadow:0 6px 24px rgba(0,0,0,.07);padding:24px;background:#fff}
.tre-tool iframe{width:100%;border:0;min-height:750px}
.tre-tool__note{font-size:13px;color:#555;margin-top:12px}
@media (max-width:991px){.tre-val-intro{grid-template-columns:1fr}.tre-val-intro__tool{order:-1}}

/* ---------- 8 · Ablauf in 3 Schritten ---------- */
.tre-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.tre-step{background:var(--tre-box);color:#fff;padding:30px}
.tre-step span{width:40px;height:40px;border-radius:50%;background:var(--tre-yellow);color:var(--tre-dark);font-weight:700;
  display:flex;align-items:center;justify-content:center;font-size:18px;margin-bottom:16px}
.tre-step h3{font-size:17px;font-weight:700;margin:0 0 8px;color:#fff}
.tre-step p{font-size:14px;line-height:1.6;opacity:.85;margin:0}
@media (max-width:767px){.tre-steps{grid-template-columns:1fr}}

/* ---------- 9 · Abschluss-CTA-Band ---------- */
.tre-ctaband{background:var(--tre-yellow);padding:44px 0}
.tre-ctaband .tre-wrap{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}
.tre-ctaband h2{font-size:26px;font-weight:700;text-transform:uppercase;margin:0}
.tre-ctaband p{margin:6px 0 0;font-size:15px}
