/* ============================================================
   SAHR APPARTEMENTS — index.css
   Seitenspezifische Styles für index.html.
   Globale Styles und Custom Properties: css/global.css
   ============================================================ */


/* === BLOCK: home-hero === */

.home-hero .hero__img {
  height: clamp(520px, 78vh, 860px);
}


/* Siegel-Leiste über der H1 (Kundenwunsch 07.09.: „Sahr Appartements" im Startblock).
   Links helle Fläche mit Bildmarke in Logofarben, rechts Glas mit den Bewertungen. */
.home-hero__siegel {
  --logo-braun: #4B3A36;   /* Dachlinien im Logo */
  --logo-gruen: #33B233;   /* Akzente im Logo */
  display: inline-flex;
  align-items: stretch;
  margin: 0 0 20px;
  border-radius: var(--radius-badge);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(35, 37, 34, 0.58);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--color-white);
  font-family: var(--font-primary);
  font-size: 0.8rem;
  line-height: 1.2;
  white-space: nowrap;
}

.home-hero__marke {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 12px;
  background: var(--color-bg);
  color: var(--logo-braun);
  font-size: 0.95rem;
  font-weight: 700;
}

.home-hero__bildmarke {
  height: 22px;
  width: auto;
  flex: none;
}

.home-hero__bildmarke-gruen {
  color: var(--logo-gruen);
}

.home-hero__bewertungen {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px 8px 18px;
}

.home-hero__wert {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 500;
}

.home-hero__wert b {
  font-size: 1.15rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.home-hero__trenner {
  width: 1px;
  height: 22px;
  margin: 0 16px;
  background: rgba(255, 255, 255, 0.28);
}

.home-hero__sterne {
  display: inline-flex;
  gap: 1px;
  margin-left: 2px;
  color: var(--color-star);
}

.home-hero__kurz {
  display: none;
}

/* Nur für Screenreader („von 10 auf …") — sichtbar bleibt die Kurzform */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 768px) {
  .home-hero__siegel     { margin-bottom: 14px; font-size: 0.68rem; }
  .home-hero__marke      { padding: 6px 8px 6px 7px; gap: 5px; font-size: 0.78rem; }
  .home-hero__bildmarke  { height: 16px; }
  .home-hero__bewertungen{ padding: 6px 9px 6px 8px; }
  .home-hero__wert       { gap: 4px; }
  .home-hero__wert b     { font-size: 0.84rem; }
  .home-hero__trenner    { margin: 0 6px; height: 18px; }
  .home-hero__sterne,
  .home-hero__lang       { display: none; }
  .home-hero__kurz       { display: inline; }
}

.home-hero__wert {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 3px;
}

/* Unterstrichen wird nur der Plattformname, nicht die Zahl */
.home-hero__wert:hover .home-hero__plattform,
.home-hero__wert:focus-visible .home-hero__plattform {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home-hero__wert:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Fester Umbruch „Jenny / & Hannes" nur ab Tablet — auf dem Handy stand „Jenny" sonst allein in einer Zeile */
.home-hero h1 {
  text-wrap: balance;
}

@media (max-width: 768px) {
  .umbruch-ab-tablet { display: none; }
}

/* === END BLOCK: home-hero === */


/* === BLOCK: home-intro === */

.home-intro__lead {
  max-width: 560px;
  margin-top: 12px;
}

/* === END BLOCK: home-intro === */


/* === BLOCK: home-apts === */

.home-apts__lead {
  max-width: 600px;
  margin-top: 12px;
}

.home-apts__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}

.home-apt-card {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(46, 51, 43, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.home-apt-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(46, 51, 43, 0.14);
}

.home-apt-card__img-link {
  display: block;
  overflow: hidden;
  line-height: 0;
}

.home-apt-card__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0;
  display: block;
  transition: transform 0.45s ease;
}

.home-apt-card:hover .home-apt-card__img {
  transform: scale(1.04);
}

.home-apt-card__body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.home-apt-card__tag {
  font-family: var(--font-primary);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.home-apt-card__title {
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-headline);
  line-height: 1.2;
  margin-bottom: 14px;
}

.home-apt-card__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 16px;
  list-style: none;
  padding: 0;
}

.home-apt-card__fact {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.home-apt-card__fact svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

.home-apt-card__desc {
  font-family: var(--font-primary);
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: 24px;
  flex: 1;
}

/* === END BLOCK: home-apts === */


/* === BLOCK: home-bettbike === */

.bettbike-break {
  text-align: center;
}

.bettbike-break__logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
}

.bettbike-break__logo {
  height: 80px;
  width: auto;
  border-radius: 8px;
}

.bettbike-break__lead {
  color: var(--color-stone);
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: 32px;
}

/* === END BLOCK: home-bettbike === */


/* === BLOCK: home-features === */

.home-features__intro {
  max-width: 540px;
  margin-top: 12px;
}

.home-features__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 56px;
}

.home-feature {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.home-feature__icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 14px;
  background-color: var(--color-section-sand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-dark-petrol);
}

.home-feature__text h3 {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-headline);
  margin-bottom: 6px;
  line-height: 1.3;
}

.home-feature__text p {
  font-family: var(--font-primary);
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* === END BLOCK: home-features === */


/* === BLOCK: home-kulmbach === */

.kulmbach-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-img);
}

.kulmbach-text {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.kulmbach-text h2 {
  margin-bottom: 0;
}

/* === END BLOCK: home-kulmbach === */


/* === BLOCK: home-stat-strip === */

.stat-strip {
  background: var(--color-dark-surface);
  padding-block: 72px;
}

.stat-strip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(32px, 6vw, 72px);
  max-width: 860px;
  margin-inline: auto;
}

/* --- Held: Bewertung als Eyecatcher --- */
.stat-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex-shrink: 0;
}

.stat-hero__score {
  font-family: var(--font-primary);
  font-size: clamp(3.4rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-hero__stars {
  display: flex;
  gap: 4px;
  color: var(--color-star);
  margin-top: 14px;
}

.stat-hero__label {
  font-family: var(--font-primary);
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(251, 251, 247, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 12px;
}

/* --- Trennlinie: vertikal (Desktop), hell-transparent auf Petrol --- */
.stat-strip__divider {
  width: 1px;
  align-self: stretch;
  background: rgba(251, 251, 247, 0.18);
  flex-shrink: 0;
}

/* --- Belege: Icon-Spalte + Text-Spalte, sauber aligned --- */
.stat-proof {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.stat-proof__row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.stat-proof__icon {
  color: var(--color-primary-on-dark);
  flex-shrink: 0;
}

.stat-proof__text {
  display: flex;
  flex-direction: column;
}

.stat-proof__value {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.1;
}

.stat-proof__label {
  font-family: var(--font-primary);
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(251, 251, 247, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

/* === END BLOCK: home-stat-strip === */


/* === BLOCK: home-responsive === */

@media (max-width: 1024px) {
  .home-features__grid {
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .home-apts__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .home-features__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .stat-strip {
    padding-block: 52px;
  }

  .bettbike-break__logo-row {
    flex-direction: column;
    gap: 10px;
  }
}

/* Stat-Strip bricht auf Spalte: Held oben, Trennlinie horizontal, Belege darunter */
@media (max-width: 640px) {
  .stat-strip__inner {
    flex-direction: column;
    gap: 28px;
  }

  .stat-strip__divider {
    width: 80px;
    height: 1px;
    align-self: center;
  }

  .stat-proof {
    gap: 18px;
  }
}

@media (max-width: 480px) {
  .home-apt-card__body {
    padding: 20px;
  }

  .home-feature {
    gap: 16px;
  }
}

/* === END BLOCK: home-responsive === */


/* === BLOCK: bewertungen-links === */
/* Google-Held im Stat-Strip und die beiden Bewertungs-Zusammenfassungen sind Links aufs Profil */

.stat-hero--link {
  color: inherit;
  text-decoration: none;
  border-radius: var(--radius-card);
  transition: opacity var(--transition-fast);
}

.stat-hero--link:hover .stat-hero__label,
.stat-hero--link:focus-visible .stat-hero__label {
  color: var(--color-white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.stat-hero--link:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 6px;
}


/* === END BLOCK: bewertungen-links === */
