/* Page-owned styles for restaurant page */

#restaurant-page {
  --restaurant-section-padding-desktop: var(--space-9);
  --restaurant-section-padding-tablet: var(--space-8);
  --restaurant-section-padding-mobile: var(--space-7);
}

/* ---------- Hero ---------- */
.restaurant-hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: flex-end;
  background-color: var(--color-stone-light);
  overflow: hidden;
}

.restaurant-hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

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

.restaurant-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31, 35, 33, 0.05) 0%, rgba(31, 35, 33, 0.55) 70%, rgba(31, 35, 33, 0.75) 100%);
}

.restaurant-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block-end: var(--space-9);
}

.restaurant-hero__text {
  max-width: 42ch;
  color: var(--color-paper-white);
}

.restaurant-hero__eyebrow {
  color: var(--color-paper-white);
  opacity: 0.9;
  margin-block-end: var(--space-3);
}

.restaurant-hero__text h1 {
  color: var(--color-paper-white);
  font-size: var(--font-size-h1);
  line-height: var(--line-height-h1);
  letter-spacing: var(--letter-spacing-h1);
  margin-block-end: var(--space-5);
  text-wrap: balance;
}

.restaurant-hero__lead {
  color: var(--color-paper-white);
  opacity: 0.95;
  margin-block-end: var(--space-4);
  max-width: 68ch;
}

.restaurant-hero__address {
  color: var(--color-paper-white);
  opacity: 0.85;
  margin-block-end: 0;
}

/* ---------- Shared section rhythm ---------- */
.restaurant-section {
  padding-block: var(--restaurant-section-padding-desktop);
}

.restaurant-section + .restaurant-section {
  border-block-start: 1px solid var(--color-stone-light);
}

/* ---------- Einführung ---------- */
.restaurant-intro__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-7);
  align-items: start;
}

.restaurant-intro__text {
  grid-column: 1 / span 5;
  min-width: 0;
}

.restaurant-intro__text .caption {
  margin-block-end: var(--space-3);
}

.restaurant-intro__text h2 {
  margin-block-end: var(--space-5);
}

.restaurant-intro__text p {
  max-width: 68ch;
}

.restaurant-intro__highlights {
  grid-column: 7 / span 6;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}

.restaurant-intro__highlights li {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding-block-start: var(--space-4);
  border-block-start: 1px solid var(--color-stone-light);
  min-width: 0;
}

.restaurant-intro__highlight-title {
  font-family: var(--font-heading);
  font-weight: var(--heading-weight);
  font-size: var(--font-size-h4);
  line-height: var(--line-height-h4);
  color: var(--color-graphite);
}

.restaurant-intro__highlight-desc {
  font-size: var(--font-size-small);
  line-height: var(--line-height-small);
  color: var(--color-stone-gray);
}

/* ---------- Der Raum ---------- */
.restaurant-space__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-7);
  align-items: start;
}

.restaurant-space__figure {
  grid-column: 1 / span 7;
  margin: 0;
  min-width: 0;
}

.restaurant-space__figure img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.restaurant-space__figure figcaption {
  margin-block-start: var(--space-3);
}

.restaurant-space__text {
  grid-column: 9 / span 4;
  min-width: 0;
}

.restaurant-space__text .caption {
  margin-block-end: var(--space-3);
}

.restaurant-space__text h2 {
  margin-block-end: var(--space-5);
}

.restaurant-space__text p {
  max-width: 68ch;
}

.restaurant-space__text p + p {
  margin-block-start: var(--space-4);
}

/* ---------- Kulinarik ---------- */
.restaurant-cuisine__intro {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-7);
  align-items: start;
  margin-block-end: var(--space-9);
}

.restaurant-cuisine__intro-text {
  grid-column: 1 / span 5;
  min-width: 0;
}

.restaurant-cuisine__intro-text .caption {
  margin-block-end: var(--space-3);
}

.restaurant-cuisine__intro-text h2 {
  margin-block-end: var(--space-5);
}

.restaurant-cuisine__intro-text p {
  max-width: 68ch;
}

.restaurant-cuisine__figure {
  grid-column: 7 / span 6;
  margin: 0;
  min-width: 0;
}

.restaurant-cuisine__figure img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.restaurant-cuisine__figure figcaption {
  margin-block-start: var(--space-3);
}

.restaurant-signature {
  border-block-start: 1px solid var(--color-stone-light);
  padding-block-start: var(--space-7);
}

.restaurant-signature__content {
  max-width: 68ch;
}

.restaurant-signature__content .caption {
  margin-block-end: var(--space-3);
}

.restaurant-signature__content h3 {
  margin-block-end: var(--space-4);
}

.restaurant-signature__content p {
  margin-block-end: var(--space-5);
}

/* ---------- Pokerabende ---------- */
.restaurant-poker__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-7);
  align-items: stretch;
}

.restaurant-poker__panel {
  grid-column: 1 / span 8;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-6);
  min-width: 0;
}

.restaurant-poker__badge {
  align-self: flex-start;
}

.restaurant-poker__panel .caption {
  margin-block-end: 0;
}

.restaurant-poker__panel h2 {
  margin-block-end: 0;
}

.restaurant-poker__panel p {
  margin-block-end: 0;
  max-width: 68ch;
}

.restaurant-poker__panel .btn-text {
  margin-block-start: auto;
  align-self: flex-start;
}

.restaurant-poker__figure {
  grid-column: 9 / span 4;
  margin: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.restaurant-poker__figure img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  flex: 1 1 auto;
}

.restaurant-poker__figure figcaption {
  margin-block-start: var(--space-3);
}

/* ---------- Praktische Informationen ---------- */
.restaurant-practical__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-7);
  align-items: start;
}

.restaurant-practical__contact,
.restaurant-practical__hours {
  grid-column: span 6;
  min-width: 0;
}

.restaurant-practical__contact .caption,
.restaurant-practical__hours .caption {
  margin-block-end: var(--space-3);
}

.restaurant-practical__contact h3,
.restaurant-practical__hours h3 {
  margin-block-end: var(--space-5);
}

.restaurant-practical__address {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  margin-block-end: var(--space-5);
  font-style: normal;
}

.restaurant-practical__contact-list,
.restaurant-practical__hours-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.restaurant-practical__contact-list li,
.restaurant-practical__hours-list li {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding-block-start: var(--space-3);
  border-block-start: 1px solid var(--color-stone-light);
}

.restaurant-practical__label {
  font-size: var(--font-size-caption);
  font-weight: var(--caption-weight);
  letter-spacing: var(--letter-spacing-caption);
  text-transform: uppercase;
  color: var(--color-stone-gray);
}

.restaurant-practical__hours p {
  margin-block-end: var(--space-5);
  max-width: 68ch;
}

.restaurant-practical__hours .btn-text {
  margin-block-start: var(--space-5);
}

/* ---------- Reservierungs-CTA ---------- */
.restaurant-cta {
  background-color: var(--color-glacier-white);
}

.restaurant-cta__inner {
  display: flex;
  justify-content: center;
}

.restaurant-cta__content {
  max-width: 42ch;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
}

.restaurant-cta__content h2 {
  margin-block-end: 0;
}

.restaurant-cta__content p {
  margin-block-end: 0;
  max-width: 68ch;
}

.restaurant-cta__content .btn {
  margin-block-start: var(--space-3);
}

.restaurant-cta__phone {
  margin-block-end: 0;
  color: var(--color-stone-gray);
}

.restaurant-cta__phone a {
  color: var(--color-pine-green);
}

/* ---------- Abschluss ---------- */
.restaurant-closing {
  border-block-start: 1px solid var(--color-stone-light);
}

.restaurant-closing__inner {
  display: flex;
  justify-content: center;
}

.restaurant-closing__content {
  max-width: 42ch;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
}

.restaurant-closing__content h2 {
  margin-block-end: 0;
}

.restaurant-closing__content p {
  margin-block-end: 0;
  max-width: 68ch;
}

.restaurant-closing__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-5);
}

/* ---------- Scroll fade ---------- */
[data-scroll-fade] {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 200ms ease-out, transform 200ms ease-out;
}

[data-scroll-fade].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-hero-fade] {
  opacity: 0;
  transition: opacity 200ms ease-out;
}

[data-hero-fade].is-visible {
  opacity: 1;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .restaurant-section {
    padding-block: var(--restaurant-section-padding-tablet);
  }

  .restaurant-intro__grid,
  .restaurant-space__grid,
  .restaurant-cuisine__intro,
  .restaurant-poker__grid,
  .restaurant-practical__grid {
    gap: var(--space-6);
  }

  .restaurant-intro__highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .restaurant-poker__panel {
    padding: var(--space-5);
  }
}

@media (max-width: 768px) {
  .restaurant-section {
    padding-block: var(--restaurant-section-padding-mobile);
  }

  .restaurant-hero {
    min-height: 68vh;
  }

  .restaurant-hero__content {
    padding-block-end: var(--space-7);
  }

  .restaurant-hero__text {
    max-width: 100%;
    text-align: center;
    margin-inline: auto;
  }

  .restaurant-hero__text h1 {
    font-size: clamp(32px, 8vw, 36px);
  }

  .restaurant-intro__grid,
  .restaurant-space__grid,
  .restaurant-cuisine__intro,
  .restaurant-poker__grid,
  .restaurant-practical__grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .restaurant-intro__text,
  .restaurant-intro__highlights,
  .restaurant-space__figure,
  .restaurant-space__text,
  .restaurant-cuisine__intro-text,
  .restaurant-cuisine__figure,
  .restaurant-poker__panel,
  .restaurant-poker__figure,
  .restaurant-practical__contact,
  .restaurant-practical__hours {
    grid-column: 1 / -1;
  }

  .restaurant-intro__highlights {
    grid-template-columns: 1fr;
  }

  .restaurant-poker__figure {
    order: 2;
  }

  .restaurant-poker__panel {
    order: 1;
  }

  .restaurant-cta__content,
  .restaurant-closing__content {
    max-width: 100%;
  }

  .restaurant-closing__links {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .restaurant-hero {
    min-height: 62vh;
  }

  .restaurant-hero__text h1 {
    font-size: 32px;
  }

  .restaurant-poker__panel {
    padding: var(--space-4);
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-scroll-fade],
  [data-hero-fade] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
