/* ============================================
   Gastwirtschaft Zum Ockermueller
   Design: Cinzel + Inria Serif, #005f51 / #d9e7e5
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Inria+Serif:ital,wght@0,300;0,400;0,700;1,400&display=swap');

:root {
  --green: #005f51;
  --green-light: #d9e7e5;
  --green-lighter: #eaf1f0;
  --text: #000000;
  --text-soft: #3a3a3a;
  --white: #ffffff;
  --cream: #f7f5f2;
  --border: rgba(0,95,81,0.15);

  --cinzel: 'Cinzel', serif;
  --inria: 'Inria Serif', 'Georgia', serif;

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--inria);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }
button { font-family: inherit; }

/* ============================================
   HEADER
   ============================================ */
.header {
  background: var(--green);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.4s var(--ease);
}
.header.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.18);
}

.header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.header__left,
.header__right {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex: 1;
}
.header__right { justify-content: flex-end; }

.header__nav a {
  font-family: var(--cinzel);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.65;
  transition: opacity 0.3s;
}
.header__nav a:hover { opacity: 1; }

.header__phone {
  font-family: var(--inria);
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.03em;
  opacity: 0.5;
}

/* Logo */
.logo {
  text-align: center;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo img {
  height: 52px;
  width: auto;
}
.logo--text {
  flex-direction: column;
}
.logo__sub {
  display: block;
  font-family: var(--cinzel);
  font-size: 0.5rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.5;
}
.logo__main {
  display: block;
  font-family: var(--cinzel);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* Menu button */
.menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 8px;
}
.menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  margin: 5px 0;
  transition: 0.3s;
}

/* ============================================
   MOBILE NAV
   ============================================ */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--green);
  color: var(--white);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}
.mobile-nav.open { opacity: 1; visibility: visible; }
.mobile-nav__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.2rem;
  cursor: pointer;
}
.mobile-nav a {
  font-family: var(--cinzel);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  padding: 0.6rem 0;
  opacity: 0.6;
  transition: opacity 0.3s;
}
.mobile-nav a:hover { opacity: 1; }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  height: 88vh;
  min-height: 520px;
  max-height: 960px;
  overflow: hidden;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.04);
  transition: transform 10s var(--ease);
}
.hero__img.loaded { transform: scale(1); }

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,95,81,0.15) 0%,
    rgba(0,0,0,0) 35%,
    rgba(0,0,0,0.05) 55%,
    rgba(0,95,81,0.6) 100%
  );
}

.hero__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero__badge {
  display: inline-block;
  font-family: var(--cinzel);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green-light);
  border: 1px solid rgba(217,231,229,0.35);
  padding: 7px 18px;
  margin-bottom: 1.2rem;
}

.hero__title {
  font-family: var(--inria);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 400;
  font-style: italic;
  color: var(--white);
  line-height: 1.2;
  max-width: 580px;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  writing-mode: vertical-rl;
  font-family: var(--cinzel);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.hero__scroll::after {
  content: '';
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.25);
  animation: scrollLine 2.5s var(--ease) infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================
   DECORATIVE ILLUSTRATION DIVIDER
   ============================================ */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 2rem;
  background: var(--white);
}
.divider--green-bg { background: var(--green-light); }
.divider--cream-bg { background: var(--cream); }
.divider img {
  height: 60px;
  width: auto;
  opacity: 0.18;
}
.divider--lg img,
.divider img[src*="gasthaus"] { height: 100px; }

/* ============================================
   SECTION SYSTEM
   ============================================ */
.section {
  padding: 5.5rem 2rem;
}
.section--green-bg { background: var(--green-light); }
.section--cream { background: var(--cream); }
.section--dark {
  background: var(--green);
  color: var(--white);
}
.section--dark .section__eyebrow {
  color: var(--green-light);
  border-color: rgba(217,231,229,0.25);
}
.section--dark .section__title { color: var(--white); }
.section--dark .section__text { color: rgba(255,255,255,0.6); }

.section__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section__header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section__eyebrow {
  display: inline-block;
  font-family: var(--cinzel);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  border: 1px solid var(--border);
  padding: 5px 16px;
  margin-bottom: 1.5rem;
}

.section__title {
  font-family: var(--cinzel);
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  font-weight: 700;
  color: var(--green);
  line-height: 1.25;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.section__text {
  max-width: 560px;
  margin: 0 auto;
  font-family: var(--inria);
  color: var(--text-soft);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.8;
}

/* ============================================
   INTRO (Willkommen)
   ============================================ */
.intro {
  padding: 5rem 2rem;
  text-align: center;
  background: var(--green-light);
}

.intro__ornament {
  display: block;
  height: 50px;
  width: auto;
  margin: 0 auto 2rem;
  opacity: 0.15;
}

.intro__title {
  font-family: var(--cinzel);
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  font-weight: 700;
  color: var(--green);
  margin-bottom: 1.5rem;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.intro__text {
  max-width: 600px;
  margin: 0 auto;
  font-family: var(--inria);
  color: var(--text);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.85;
}

/* ============================================
   TRIO CARDS (Aktuelles, Speisen, Feste)
   ============================================ */
.trio {
  padding: 0 2rem 5.5rem;
  background: var(--green-light);
}

.trio__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.trio-card {
  display: block;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 3/4;
  background: var(--green);
}

.trio-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out), opacity 0.5s;
  opacity: 0.88;
}
.trio-card:hover .trio-card__img {
  transform: scale(1.06);
  opacity: 0.7;
}

.trio-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,95,81,0.88) 0%, rgba(0,95,81,0) 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem 1.5rem;
  color: var(--white);
}

.trio-card__title {
  font-family: var(--cinzel);
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.trio-card__desc {
  font-family: var(--inria);
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.55;
  opacity: 0.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease), opacity 0.4s;
}
.trio-card:hover .trio-card__desc {
  max-height: 80px;
  opacity: 0.7;
}

/* ============================================
   KOMM EINI (Highlights)
   ============================================ */
.highlights__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.highlight {
  background: var(--white);
  padding: 2.8rem 2rem;
  text-align: center;
  transition: background 0.4s var(--ease);
}
.highlight:hover { background: var(--green-lighter); }

.highlight__icon {
  display: block;
  height: 40px;
  width: auto;
  margin: 0 auto 1.2rem;
  opacity: 0.2;
}

.highlight__name {
  font-family: var(--cinzel);
  font-size: 1rem;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}
.highlight__desc {
  font-family: var(--inria);
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.highlight__price {
  font-family: var(--cinzel);
  font-size: 1rem;
  color: var(--green);
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* ============================================
   IMAGE BREAK
   ============================================ */
.img-break {
  position: relative;
  height: 45vh;
  min-height: 300px;
  overflow: hidden;
}
.img-break__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.img-break__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,95,81,0.45) 0%,
    rgba(0,95,81,0.1) 100%
  );
}
.img-break__text {
  position: absolute;
  bottom: 2.5rem;
  left: 2.5rem;
  font-family: var(--inria);
  font-size: clamp(1.3rem, 2.8vw, 2rem);
  font-style: italic;
  color: var(--white);
  max-width: 420px;
  line-height: 1.35;
}

/* ============================================
   SERVICES (Bierverkauf, Partyservice, Broetchen)
   ============================================ */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service { position: relative; }

.service__img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  margin-bottom: 1.5rem;
}
.service__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.service:hover .service__img { transform: scale(1.04); }

.service__number {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-family: var(--cinzel);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--white);
  background: var(--green);
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.service__title {
  font-family: var(--cinzel);
  font-size: 1rem;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
}
.service__text {
  font-family: var(--inria);
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.7;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--green);
  color: var(--white);
  padding: 4rem 2rem 2rem;
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__brand .logo img {
  height: 48px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}
.footer__brand p {
  font-family: var(--inria);
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.7;
  opacity: 0.45;
  max-width: 280px;
}

.footer__col h4 {
  font-family: var(--cinzel);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.4;
  margin-bottom: 1.2rem;
}

.footer__col p,
.footer__col address,
.footer__col a {
  font-family: var(--inria);
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.8;
  opacity: 0.55;
}
.footer__col a:hover { opacity: 0.9; text-decoration: underline; }

.footer__social {
  display: flex;
  gap: 1rem;
  margin-top: 0.8rem;
}
.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  transition: border-color 0.3s, opacity 0.3s;
  opacity: 0.5;
}
.footer__social a:hover {
  border-color: rgba(255,255,255,0.4);
  opacity: 0.85;
}
.footer__social img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
}

.footer__pdfs {
  padding-top: 1.2rem;
}
.footer__pdfs a {
  display: inline-block;
  margin-right: 1.5rem;
  font-size: 0.82rem;
  opacity: 0.4;
  text-decoration: underline;
}
.footer__pdfs a:hover { opacity: 0.7; }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  font-family: var(--inria);
  font-size: 0.72rem;
  opacity: 0.25;
}

/* ============================================
   SPEISEKARTE BUTTON
   ============================================ */
.btn {
  display: inline-block;
  font-family: var(--cinzel);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: 2px solid var(--green);
  color: var(--green);
  background: transparent;
  transition: background 0.3s, color 0.3s;
  cursor: pointer;
  margin-top: 1.5rem;
}
.btn:hover {
  background: var(--green);
  color: var(--white);
}
.btn--light {
  border-color: var(--white);
  color: var(--white);
}
.btn--light:hover {
  background: var(--white);
  color: var(--green);
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease-out);
}
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.24s; }
.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   GRAIN OVERLAY (subtle texture)
   ============================================ */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .header__nav { display: none; }
  .header__phone { display: none; }
  .menu-btn { display: block; }

  .trio__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .trio-card { aspect-ratio: 16/9; }
  .trio-card__desc { max-height: 80px; }

  .highlights__grid { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: 1fr; gap: 3rem; }

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .hero { height: 70vh; }
  .section { padding: 4rem 1.5rem; }
  .divider { padding: 2rem 1.5rem; }
}

@media (max-width: 600px) {
  .header__inner { height: 62px; padding: 0 1.2rem; }
  .logo img { height: 40px; }
  .logo__main { font-size: 0.95rem; }
  .logo__sub { font-size: 0.42rem; }

  .hero { height: 60vh; min-height: 380px; }
  .hero__content { padding: 2.5rem 1.5rem; }
  .hero__title { font-size: 1.7rem; }

  .section { padding: 3rem 1.2rem; }
  .section__title { font-size: 1.4rem; }
  .intro { padding: 3.5rem 1.2rem; }

  .trio__grid { gap: 0.8rem; }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .footer__bottom { flex-direction: column; gap: 0.5rem; text-align: center; }

  .divider { padding: 1.5rem 1rem; }
  .divider img { height: 40px; }
}
