/* ============================================================
   Startseite (index.php), Gestaltungswelle 2026-09.
   Ergaenzt das Hero-Rezept und die Bausteine aus styles.css.
   Nur Tokens, keine harten Farben ausser der Bildueberlagerung.
   ============================================================ */

/* ---- Hero: Statusblock, Fakten, Leichte Sprache ---------------- */
.hero-home .hero-status {
  justify-self: stretch;
  width: 100%;
  max-width: 48ch;
  display: grid;
  gap: var(--sp-1);
  padding: var(--sp-3) var(--sp-4);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.hero-status-now {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin: 0;
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  line-height: var(--lh-snug);
  color: var(--ink);
}

.hero-status-dot {
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--danger);
}

.hero-status-dot.is-open {
  background: var(--ok);
}

.hero-status-dot.is-soon {
  background: var(--warn);
}

.hero-status-line {
  margin: 0;
  font-size: var(--fs-md);
  line-height: var(--lh-copy);
  color: var(--muted);
}

.hero-status-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--sp-4);
  margin: 0;
}

.hero-status-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* Zwei kurze Fakten (Adresse, Telefon) in einer Zeile statt untereinander:
   spart am Handy eine Zeile im ersten Bildschirm. */
.hero-home .hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-1) var(--sp-5);
}

/* Leichte Sprache: der lange Textblock im Hero */
.hero-home .hero-ls h1 {
  margin: 0 0 var(--sp-3);
}

.hero-home .hero-ls p {
  margin: 0 0 var(--sp-2);
  max-width: 40ch;
  font-size: var(--fs-lg);
  line-height: var(--lh-loose);
}

/* ---- Sektionen: Mehr-Link unter Listen ------------------------- */
.section-more {
  margin: var(--sp-4) 0 0;
}

.section-more .link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* ---- Demnaechst: Terminzeilen ---------------------------------- */
.termin-row {
  justify-content: flex-start;
  gap: var(--sp-1) var(--sp-4);
}

.termin-date {
  flex: 0 0 auto;
  min-width: 9rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.termin-date strong {
  color: var(--ink);
  font-weight: var(--fw-bold);
}

.termin-title {
  flex: 1 1 12rem;
  min-width: 0;
  color: var(--ink);
}

/* ---- Ein Tag: ein Link um Foto und Beschriftung ---------------- */
.tag-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.tag-link .photo {
  display: block;
}

.tag-link-label {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: var(--sp-2);
  color: var(--accent-2);
  font-weight: var(--fw-medium);
  text-decoration: underline;
  text-underline-offset: .15em;
}

.tag-link:hover .tag-link-label {
  color: var(--accent-2-strong);
}

.tag-link:focus-visible {
  outline: 3px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: var(--radius-md);
}

/* ---- News ------------------------------------------------------ */
.home-news {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
}

.home-news .card {
  display: grid;
  gap: var(--sp-2);
  align-content: start;
}

.home-news h3 {
  margin: 0;
  font-size: var(--fs-lg);
}

.home-news p {
  margin: 0;
}

.news-meta {
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}

.news-empty {
  max-width: 60ch;
  margin: 0;
  /* text-align aus styles-extra.css (zentriert) hier bewusst zuruecknehmen */
  text-align: left;
  color: var(--muted);
}

/* ---- Highlights: drei Fotokarten mit einheitlicher Ueberlagerung.
   Text auf Foto: feste helle Schrift und feste dunkle Ueberlagerung,
   damit es in allen Themes lesbar bleibt. ------------------------- */
.home-cards {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 340px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-alt);
  color: #fff;
  text-decoration: none;
}

.home-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 16, 12, .90) 0%, rgba(20, 16, 12, .68) 50%, rgba(20, 16, 12, .18) 100%);
}

.home-card-body {
  position: relative;
  z-index: 1;
  display: block;
  padding: var(--sp-5);
}

.home-card h3 {
  margin: 0 0 var(--sp-2);
  font-size: var(--fs-xl);
  line-height: var(--lh-snug);
  color: #fff;
}

.home-card p {
  margin: 0 0 var(--sp-2);
  font-size: var(--fs-md);
  line-height: var(--lh-copy);
  color: #fff;
}

.home-card-more {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #fff;
  font-weight: var(--fw-medium);
  text-decoration: underline;
  text-underline-offset: .15em;
}

.home-card:focus-visible {
  outline: 3px solid var(--accent-2);
  outline-offset: 3px;
}

@media (max-width: 919px) {
  .home-cards {
    grid-template-columns: 1fr;
  }

  .home-card {
    min-height: 260px;
  }
}

/* ---- Stimmen: ein Video, linksbuendig, hoechstens 760 px ------- */
.video-grid--single {
  max-width: 760px;
}

.home-review {
  margin-top: var(--sp-5);
}

/* ---- Kontakt: drei Karten -------------------------------------- */
.home-contact {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
}

.home-contact .card {
  display: grid;
  gap: var(--sp-2);
  align-content: start;
}

.home-contact h3 {
  margin: 0;
  font-size: var(--fs-lg);
}

.home-contact p {
  margin: 0;
}

.home-contact .button {
  margin-top: var(--sp-1);
}

.home-contact .link,
.home-contact a[href^="mailto:"] {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.hours-lines {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--sp-1);
  font-size: var(--fs-md);
  line-height: var(--lh-copy);
}

.hours-lines li {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0 var(--sp-2);
  align-items: start;
}

.hours-lines strong {
  color: var(--ink);
}

.hours-note {
  font-size: var(--fs-sm);
  color: var(--warn);
}

/* Look-Welle 04.09.2026: helle Kacheln statt dunkler Overlay-Karten */
.home-card {
  position: static;
  justify-content: flex-start;
  min-height: 0;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.home-card img {
  position: static;
  inset: auto;
  height: auto;
  aspect-ratio: 4 / 3;
}
.home-card::after {
  content: none;
}
.home-card-body {
  padding: var(--sp-4) var(--sp-4) var(--sp-5);
}
.home-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.45rem;
  color: var(--ink);
  transition: color var(--dur) var(--ease);
}
.home-card p {
  color: var(--muted);
}
.home-card-more {
  color: var(--accent-2);
}
.home-card:hover h3,
.home-card:focus-visible h3 {
  color: var(--accent);
}
@media (max-width: 919px) {
  .home-card {
    flex-direction: row;
    align-items: stretch;
    min-height: 0;
  }
  .home-card img {
    width: 42%;
    flex: 0 0 42%;
    aspect-ratio: auto;
    min-height: 160px;
    height: auto;
  }
  .home-card-body {
    padding: var(--sp-3) var(--sp-4);
  }
}
