/* ------------------------------------------------------------------ */
/* FONTS                                                                */
/* ------------------------------------------------------------------ */

@font-face {
  font-display: swap;
  font-family: "Dancing Script";
  font-style: normal;
  font-weight: 600;
  src: url("./fonts/dancing-script-v29-latin_latin-ext-600.woff2")
    format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Dancing Script";
  font-style: normal;
  font-weight: 700;
  src: url("./fonts/dancing-script-v29-latin_latin-ext-700.woff2")
    format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300;
  src: url("./fonts/open-sans-v44-latin_latin-ext-300.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  src: url("./fonts/open-sans-v44-latin_latin-ext-regular.woff2")
    format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600;
  src: url("./fonts/open-sans-v44-latin_latin-ext-600.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 700;
  src: url("./fonts/open-sans-v44-latin_latin-ext-700.woff2") format("woff2");
}

:root {
  --color-primary: #2c5e1a;
  --color-secondary: #006da0;
  --color-primary-dark: #1a3d0e;
  --color-accent: #c8a035;
  --color-bg: #faf8f4;
  --color-bg-alt: #f0ede6;
  --color-text: #222222;
  --color-text-muted: #666666;
  --color-white: #ffffff;
  --color-border: #ddd8ce;
  --font-body: "Open Sans", system-ui, sans-serif;
  --font-script: "Dancing Script", cursive;
  --radius: 8px;
  --shadow: 0 2px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 6px 32px rgba(0, 0, 0, 0.15);
  --container: 1100px;
  --header-h: 80px;

  --page-bg-images: url("./data/images/biergarten-ngd-main-bg.webp");
  --page-bg-images-mobile: url("./data/images/biergarten-ngd-main-bg-mobile.webp");
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center {
  text-align: center;
}

/* ------------------------------------------------------------------ */
/* HEADER                                                               */
/* ------------------------------------------------------------------ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.1);
  height: var(--header-h);
  display: flex;
  align-items: center;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header__logo img {
  height: 54px;
  width: auto;
}

.site-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.site-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text);
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

.site-nav a:hover {
  color: var(--color-primary);
}

.site-nav .nav-cta a {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius);
  transition: background 0.2s;
}

.site-nav .nav-cta a:hover {
  background: var(--color-primary-dark);
  color: var(--color-white);
}

.burger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.burger-btn span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ------------------------------------------------------------------ */
/* HERO                                                                 */
/* ------------------------------------------------------------------ */

.hero {
  min-height: 100vh;
  background-image: var(--page-bg-images);
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  padding-top: var(--header-h);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 30%,
    rgba(0, 0, 0, 0.45) 100%
  );
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 2rem 1.5rem;
  max-width: 700px;
}

.hero__logo {
  width: min(600px, 70vw);
  margin: 0 auto 2rem;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.5));
}

.hero__headline {
  font-family: var(--font-script);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--color-white);
  line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  margin-bottom: 1rem;
}

.hero__sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.hero__cta {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-white);
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.04em;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
  color: var(--color-white);
}

/* ------------------------------------------------------------------ */
/* INFO BANNER                                                          */
/* ------------------------------------------------------------------ */

.info-banner {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 1.5rem 0;
}

.info-banner .container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
}

.info-banner__label {
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: 0.3rem;
}

.info-banner__value {
  font-size: 0.95rem;
  opacity: 0.92;
  line-height: 1.7;
}

.info-banner__value a {
  color: inherit;
  transition: opacity 0.2s;
}

.info-banner__value a:hover {
  opacity: 0.8;
}

/* ------------------------------------------------------------------ */
/* SECTIONS                                                             */
/* ------------------------------------------------------------------ */

.section {
  padding: 5rem 0;
}

.section--alt {
  background: var(--color-bg-alt);
}

.section__badge {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.section__heading {
  font-family: var(--font-script);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--color-primary);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section__lead {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

/* ------------------------------------------------------------------ */
/* WILLKOMMEN                                                           */
/* ------------------------------------------------------------------ */

.willkommen__text {
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--color-text);
  max-width: 780px;
  margin: 0 auto 3rem;
}

/* ------------------------------------------------------------------ */
/* GALERIE                                                              */
/* ------------------------------------------------------------------ */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-grid__item {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.gallery-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-grid__item:hover img {
  transform: scale(1.05);
}

/* ------------------------------------------------------------------ */
/* ÖFFNUNGSZEITEN                                                       */
/* ------------------------------------------------------------------ */

.oz-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.oz-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.oz-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
}

.oz-card__title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

.oz-card__text {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.oz-card__text a {
  color: var(--color-primary);
  font-weight: 600;
}

/* ------------------------------------------------------------------ */
/* KONTAKT + KARTE                                                      */
/* ------------------------------------------------------------------ */

.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3rem;
  align-items: start;
  margin-top: 2.5rem;
}

.kontakt-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.kontakt-list__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.kontakt-list__icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
}

.kontakt-list__icon svg {
  width: 18px;
  height: 18px;
}

.kontakt-list__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-bottom: 0.2rem;
}

.kontakt-list__value {
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.5;
}

.kontakt-list__value a {
  color: var(--color-primary);
  font-weight: 600;
}

.kontakt-list__value a:hover {
  text-decoration: underline;
}

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  width: 100%;
  height: 380px;
  border: none;
  display: block;
}

/* ------------------------------------------------------------------ */
/* PARTNER                                                              */
/* ------------------------------------------------------------------ */

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.partner-card {
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.partner-card__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.partner-card__body {
  padding: 1.25rem;
}

.partner-card__title {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  color: var(--color-text);
}

.partner-card__link {
  display: inline-block;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 0.4rem 1rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.2s;
}

.partner-card__link:hover {
  background: var(--color-primary-dark);
  color: var(--color-white);
}

/* ------------------------------------------------------------------ */
/* FOOTER                                                               */
/* ------------------------------------------------------------------ */

.site-footer {
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-logo {
  height: 48px;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.footer-address {
  font-size: 0.9rem;
  line-height: 1.8;
  opacity: 0.8;
}

.footer-heading {
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav a {
  font-size: 0.9rem;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.footer-nav a:hover {
  opacity: 1;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  transition: background 0.2s;
}

.footer-social__link:hover {
  background: var(--color-accent);
}

.footer-social__link svg {
  width: 18px;
  height: 18px;
  fill: var(--color-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
  opacity: 0.7;
}

.footer-bottom__web-design-brand {
  font-style: italic;
  font-size: 0.7rem;
}

.footer-bottom__web-design-brand a {
  color: inherit;
  transition: opacity 0.2s;
}

.footer-bottom__web-design-brand a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ------------------------------------------------------------------ */
/* RESPONSIVE                                                           */
/* ------------------------------------------------------------------ */

@media (max-width: 900px) {
  .partner-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  :root {
    --page-bg-images: var(--page-bg-images-mobile);
  }
}

@media (max-width: 768px) {
  .burger-btn {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--color-white);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    padding: 0.5rem 1rem 1rem;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }

  .site-nav li {
    border-bottom: 1px solid var(--color-border);
  }

  .site-nav li:last-child {
    border-bottom: none;
  }

  .site-nav a {
    display: block;
    padding: 0.85rem 0.25rem;
  }

  .site-nav .nav-cta a {
    background: none;
    color: var(--color-text);
    padding: 0.85rem 0.25rem;
    border-radius: 0;
  }

  .info-banner .container {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .oz-grid {
    grid-template-columns: 1fr;
  }

  .kontakt-grid {
    grid-template-columns: 1fr;
  }

  .partner-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom__web-design-brand {
    order: 2;
  }

  .footer-bottom-links {
    justify-content: center;
  }
}
/* ------------------------------------------------------------------ */
/* SUBPAGE LAYOUT                                                       */
/* ------------------------------------------------------------------ */

main {
  flex: 1;
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: 4rem;
}

.prose-container {
  max-width: 860px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 2rem;
  transition: gap 0.2s;
}

.back-link:hover {
  gap: 0.2rem;
}

.page-title {
  font-family: var(--font-script);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--color-primary);
  margin-bottom: 2.5rem;
}

/* ------------------------------------------------------------------ */
/* PROSE (Datenschutz, Impressum)                                      */
/* ------------------------------------------------------------------ */

.prose h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 2.5rem;
  margin-bottom: 0.5rem;
  border-bottom: 2px solid #e8e4dc;
  padding-bottom: 0.4rem;
}

.prose h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 1.5rem;
  margin-bottom: 0.4rem;
}

.prose p {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.prose ul {
  font-size: 0.95rem;
  margin: 0.5rem 0 0.75rem 1.5rem;
}

.prose li {
  margin-bottom: 0.35rem;
}

.prose a {
  color: var(--color-primary);
  font-weight: 600;
}

.prose a:hover {
  text-decoration: underline;
}

/* ------------------------------------------------------------------ */
/* SPEISEKARTE                                                          */
/* ------------------------------------------------------------------ */

.speisekarte-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.speisekarte-header .page-title {
  margin-bottom: 0;
}

.pdf-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s;
  white-space: nowrap;
}

.pdf-download-btn:hover {
  background: var(--color-primary-dark);
  color: var(--color-white);
}

.speisekarte-pages {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.speisekarte-page {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
