/**
 * Startseite — sektionsspezifische Layouts.
 * Globale Bausteine (Container, Buttons, Section-Grundfarben) kommen
 * aus components.css / layout.css und werden hier wiederverwendet.
 */

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 640px;
  height: 100vh;
  max-height: 960px;
  display: flex;
  align-items: center;
  color: var(--color-cream);
  overflow: hidden;
}

@media (min-width: 48em) {
  .hero {
    height: 90vh;
  }
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  /* Mobil: gleichmäßig dunkler Schleier, da der Text die volle Breite einnimmt. */
  background: linear-gradient(
    180deg,
    rgba(21, 19, 17, 0.78) 0%,
    rgba(21, 19, 17, 0.6) 45%,
    rgba(21, 19, 17, 0.82) 100%
  );
}

@media (min-width: 61.25em) {
  .hero__scrim {
    /* Desktop: seitlicher Verlauf, damit rechts noch Bilddetails sichtbar bleiben. */
    background: linear-gradient(
        100deg,
        rgba(21, 19, 17, 0.88) 0%,
        rgba(21, 19, 17, 0.62) 32%,
        rgba(21, 19, 17, 0.28) 58%,
        rgba(21, 19, 17, 0.12) 78%
      ),
      linear-gradient(0deg, rgba(21, 19, 17, 0.55) 0%, rgba(21, 19, 17, 0) 30%, rgba(21, 19, 17, 0) 70%, rgba(21, 19, 17, 0.3) 100%);
  }
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-top: var(--header-height-mobile);
  max-width: 42rem;
}

@media (min-width: 48em) {
  .hero__content {
    padding-top: var(--header-height);
  }
}

.hero__eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--color-parchment);
  margin-bottom: var(--space-4);
}

.hero__headline {
  font-size: var(--fs-h1);
  line-height: var(--lh-tight);
  color: var(--color-cream);
}

.hero__divider {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-block: var(--space-5);
  color: var(--color-gold);
}

.hero__divider::before,
.hero__divider::after {
  content: "";
  height: 1px;
  width: 56px;
  background: var(--color-border-gold);
}

.hero__divider svg {
  width: 20px;
  height: 20px;
}

.hero__lead {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: var(--fs-lead);
  color: var(--color-cream);
  margin-bottom: var(--space-4);
}

.hero__text {
  font-size: var(--fs-body-lg);
  color: var(--color-text-on-dark-muted);
  max-width: 34rem;
  margin-bottom: var(--space-6);
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: var(--space-6);
  transform: translateX(-50%);
  z-index: 1;
  color: var(--color-cream);
  opacity: 0.85;
  animation: hero-scroll-bounce 2.4s ease-in-out infinite;
}

.hero__scroll svg {
  width: 22px;
  height: 22px;
}

@keyframes hero-scroll-bounce {
  0%,
  100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 8px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__scroll {
    animation: none;
  }
}

/* ============================================================
   "MEHR ALS EIN CAFÉ" — Intro-Section
   ============================================================ */
.intro {
  background: var(--color-cream);
  overflow: hidden;
}

.intro__grid {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 61.25em) {
  .intro__grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr) auto;
    align-items: stretch;
  }
}

.intro__text {
  padding: var(--space-9) var(--container-padding);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 61.25em) {
  .intro__text {
    padding-inline-start: var(--container-padding);
    padding-inline-end: var(--space-8);
    max-width: 34rem;
    margin-inline-start: auto;
  }
}

.intro__text h2 {
  font-size: var(--fs-h2);
}

.intro__text p {
  margin-top: var(--space-5);
  font-size: var(--fs-body-lg);
  color: var(--color-text-on-light-muted);
}

.intro__text .btn {
  margin-top: var(--space-6);
  align-self: flex-start;
}

.intro__media {
  position: relative;
  min-height: 320px;
}

.intro__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro__ornament {
  display: none;
}

@media (min-width: 75em) {
  .intro__ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    background: var(--color-parchment);
    padding: var(--space-6);
  }

  .intro__ornament svg {
    width: 100%;
    height: auto;
    color: var(--color-gold);
    opacity: 0.7;
  }
}

/* ============================================================
   ERLEBNISBEREICH — 5 Bereiche, dunkle Fläche
   ============================================================ */
.experience {
  background: var(--color-witch-black);
}

.experience__grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 40em) {
  .experience__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 61.25em) {
  .experience__grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.experience__item {
  padding: var(--space-7) var(--space-5);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-top: 1px solid var(--color-divider-on-dark);
}

@media (min-width: 40em) {
  .experience__item:nth-child(1),
  .experience__item:nth-child(2) {
    border-top: 1px solid var(--color-divider-on-dark);
  }
}

@media (min-width: 61.25em) {
  .experience__item {
    border-top: 0;
    border-left: 1px solid var(--color-divider-on-dark);
  }

  .experience__item:first-child {
    border-left: 0;
  }
}

.experience__item svg {
  color: var(--color-gold);
  margin-bottom: var(--space-4);
}

.experience__item h3 {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-cream);
  margin-bottom: var(--space-3);
}

.experience__item p {
  font-size: 0.875rem;
  color: var(--color-text-on-dark-muted);
  max-width: 22ch;
}

/* ============================================================
   SPEISEN — Übersicht auf der Startseite
   ============================================================ */
.dishes {
  background: var(--color-parchment);
}

.dishes__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}

@media (min-width: 61.25em) {
  .dishes__layout {
    grid-template-columns: 0.85fr 1.15fr;
    gap: var(--space-9);
  }
}

.dishes__gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

@media (min-width: 40em) {
  .dishes__gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 61.25em) {
  .dishes__gallery {
    grid-template-columns: 1fr;
  }
}

.dishes__gallery .media-frame {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
}

@media (min-width: 61.25em) {
  .dishes__gallery .media-frame {
    aspect-ratio: 16 / 8;
  }
}

/* ============================================================
   FRÜHSTÜCK — Teaser
   ============================================================ */
.breakfast {
  background: var(--color-dark-forest);
  color: var(--color-cream);
}

.breakfast__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}

@media (min-width: 61.25em) {
  .breakfast__layout {
    grid-template-columns: 1fr 1fr;
  }

  .breakfast__layout--reverse .breakfast__media {
    order: 2;
  }
}

.breakfast__media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.breakfast__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.breakfast__note {
  margin-top: var(--space-6);
  padding: var(--space-4) var(--space-5);
  border: var(--border-hairline);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  color: var(--color-text-on-dark-muted);
}

.breakfast__note strong {
  color: var(--color-gold-light);
}

/* ============================================================
   GALERIE — Teaser (asymmetrisch)
   ============================================================ */
.gallery-teaser {
  background: var(--color-cream);
}

.gallery-teaser__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-5);
  margin-bottom: var(--space-7);
}

.gallery-teaser__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 14rem;
  gap: var(--space-4);
}

@media (min-width: 40em) {
  .gallery-teaser__grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 11rem;
  }

  .gallery-teaser__grid .media-frame:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
  }

  .gallery-teaser__grid .media-frame:nth-child(4) {
    grid-column: span 2;
  }
}

.gallery-teaser__grid .media-frame {
  border-radius: var(--radius-sm);
}

/* ============================================================
   GRUSELEUM — dunkler Bereich
   ============================================================ */
.gruseleum-teaser {
  position: relative;
  background: var(--color-witch-black);
  color: var(--color-cream);
  overflow: hidden;
}

.gruseleum-teaser::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 60% at 80% 30%, rgba(107, 73, 50, 0.25), transparent 70%);
  pointer-events: none;
}

.gruseleum-teaser__inner {
  position: relative;
  max-width: 40rem;
  text-align: center;
  margin-inline: auto;
}

.gruseleum-teaser .eyebrow {
  justify-content: center;
}

.gruseleum-teaser h2 {
  font-size: var(--fs-h2);
  color: var(--color-cream);
}

.gruseleum-teaser p {
  margin-top: var(--space-5);
  font-size: var(--fs-body-lg);
  color: var(--color-text-on-dark-muted);
}

.gruseleum-teaser .btn {
  margin-top: var(--space-7);
}

/* ============================================================
   STANDORT
   ============================================================ */
.location {
  background: var(--color-parchment);
}

.location__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
}

@media (min-width: 61.25em) {
  .location__layout {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: stretch;
  }
}

.location__details address {
  font-style: normal;
  margin-top: var(--space-5);
  font-size: var(--fs-body-lg);
}

.location__details address p {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.location__details address svg {
  color: var(--color-gold);
  flex-shrink: 0;
  margin-top: 0.2em;
}

.location__map {
  position: relative;
  min-height: 320px;
  background: var(--color-coffee);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-cream);
}

.location__map-inner {
  padding: var(--space-6);
  max-width: 24rem;
}

.location__map svg {
  width: 40px;
  height: 40px;
  color: var(--color-gold);
  margin: 0 auto var(--space-4);
}

.location__map p {
  color: var(--color-text-on-dark-muted);
  font-size: 0.9375rem;
  margin-bottom: var(--space-5);
}

.location__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
