@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #e7d8c2;
  --surface: #f9f3e7;
  --text: #2f2218;
  --muted: #6f5743;
  --line: #d7c1a5;
  --primary: #8b5a2b;
  --primary-dark: #6d431d;
  --accent: #bf7f33;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  color: var(--text);
  background: radial-gradient(circle at top, #f3e6d4 0%, var(--bg) 55%, #d8c1a4 100%);
  line-height: 1.72;
  letter-spacing: 0.01em;
}

.page-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  width: min(100% - 2.2rem, 74rem);
  margin: 1.6rem auto 2rem;
  background: transparent;
  padding-bottom: 1rem;
}

a {
  color: inherit;
}

.container {
  width: min(100% - 2rem, 68rem);
  margin-inline: auto;
}

.menu-section {
  width: min(100%, 72rem);
  margin-inline: auto;
}

.site-header {
  padding-top: 1rem;
  background: transparent;
  border-bottom: 1px solid var(--line);
}

.topbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.75rem 0 0.95rem;
  flex-wrap: nowrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text);
}

.brand-logo {
  width: clamp(3.3rem, 8vw, 4.4rem);
  height: auto;
  display: block;
}

.brand-name {
  letter-spacing: 0.015em;
  line-height: 1.1;
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.28rem;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 0;
  margin: 0 0 0 auto;
  flex-shrink: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 1.15rem;
  height: 0.12rem;
  border-radius: 999px;
  background: var(--primary-dark);
  transition: transform 0.24s ease, opacity 0.2s ease;
}

body.nav-open .menu-toggle span:nth-child(1) {
  transform: translateY(0.4rem) rotate(45deg);
}

body.nav-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .menu-toggle span:nth-child(3) {
  transform: translateY(-0.4rem) rotate(-45deg);
}

.primary-nav {
  position: absolute;
  inset: calc(100% + 1px) 1rem auto;
  width: calc(100% - 2rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  opacity: 0;
  transform: translateY(-0.45rem);
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
  z-index: 30;
}

.primary-nav.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.primary-nav a {
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  color: var(--muted);
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--accent);
}

.primary-nav a.active {
  color: var(--primary);
}

.nav-social-link {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.nav-social-icon {
  display: block;
  width: auto;
  max-height: 1.4rem;
  opacity: 0.8;
  transition: opacity 0.18s ease;
}

.nav-social-link:hover .nav-social-icon,
.nav-social-link:focus-visible .nav-social-icon {
  opacity: 1;
}

.section {
  padding: clamp(2.5rem, 4.2vw, 3rem) 0;
}

.hero {
  padding-top: clamp(2.7rem, 4.6vw, 3.5rem);
}

.hero + .section {
  padding-top: clamp(1.5rem, 2.5vw, 1.95rem);
}

.homepage-info-section {
  padding-bottom: clamp(1.7rem, 2.9vw, 2.25rem);
}

.homepage-gallery-preview {
  padding-top: clamp(2rem, 3.4vw, 2.55rem);
}

h1,
h2,
h3 {
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.22;
  color: #201a15;
  letter-spacing: 0.01em;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(2rem, 6vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 1.35rem;
}

h2 {
  font-size: clamp(1.5rem, 4.2vw, 2.1rem);
  font-weight: 700;
  margin-top: 0.35rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.3rem, 3.8vw, 1.6rem);
  font-weight: 600;
  margin-bottom: 0.85rem;
}

p {
  font-size: clamp(1rem, 1.5vw, 1.08rem);
  line-height: 1.75;
  margin: 0 0 1.25rem;
  color: #2d2721;
}

h1 + p,
h2 + p,
h3 + p {
  margin-top: 0.35rem;
}

p + h2,
p + h3 {
  margin-top: 1.85rem;
}

.eyebrow,
.meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.hero .eyebrow {
  margin-bottom: 0.6rem;
}

.hero h1 {
  margin-bottom: 1rem;
}

.hero p {
  margin-bottom: 1rem;
}

.btn {
  text-decoration: none;
  display: inline-block;
  border-radius: 999px;
  padding: 0.65rem 1rem;
  font-weight: 600;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--primary-dark);
}

.btn-secondary {
  border: 1px solid var(--line);
  background: #f6ecdc;
  color: var(--primary-dark);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: var(--accent);
  color: var(--primary);
}

.cards,
.news-list,
.gallery-grid,
.contact-layout {
  display: grid;
  gap: 0.95rem;
}

.card,
.placeholder,
.map-placeholder {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  padding: 1.05rem;
  box-shadow: 0 8px 18px rgba(70, 48, 31, 0.08);
}

.placeholder,
.map-placeholder {
  min-height: 140px;
  display: grid;
  place-items: center;
  color: var(--muted);
}

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

.gallery-grid--photos {
  list-style: none;
  margin: 0;
  padding: 0;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.gallery-item {
  width: 100%;
  border: 0;
  border-radius: 0.95rem;
  padding: 0;
  overflow: hidden;
  cursor: zoom-in;
  background: #e8d5bc;
  box-shadow: 0 10px 22px rgba(58, 40, 27, 0.16);
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
}

.gallery-item:hover,
.gallery-item:focus-visible {
  transform: scale(1.02);
  filter: brightness(1.06);
  box-shadow: 0 14px 26px rgba(58, 40, 27, 0.2);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
}

.lightbox.is-hidden {
  display: none;
  pointer-events: none;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 10, 6, 0.76);
}

.lightbox-content {
  position: relative;
  margin: 0;
  width: min(92vw, 58rem);
  max-height: 88vh;
  padding: 0;
  border-radius: 0.8rem;
  overflow: hidden;
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.lightbox-content img {
  width: 100%;
  max-height: 88vh;
  display: block;
  object-fit: contain;
  background: #2f2218;
}

.lightbox-close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  width: 2.3rem;
  height: 2.3rem;
  border: 0;
  border-radius: 999px;
  background: rgba(20, 13, 8, 0.78);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.arrangement-selector {
  margin: 1.25rem 0 1rem;
  display: grid;
  gap: 0.6rem;
  max-width: 26rem;
}

.arrangement-selector label {
  font-weight: 700;
  color: var(--primary-dark);
}

.arrangement-selector select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: linear-gradient(180deg, #fbf3e6 0%, #f3e4cc 100%);
  color: var(--text);
  padding: 0.7rem 0.85rem;
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.arrangement-selector select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.arrangement-default-message {
  margin: 0.5rem 0 1.2rem;
  color: var(--muted);
  font-weight: 600;
}

.arrangement-content {
  margin-top: 1rem;
  display: grid;
  gap: 1.4rem;
}

.hidden {
  display: none !important;
}

.arrangement-card {
  padding-top: 1.4rem;
  border-top: 1px solid #e7d8c2;
  display: grid;
  gap: 0.85rem;
}

.arrangement-card:first-child {
  padding-top: 0;
  border-top: 0;
}

.arrangement-card h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2.3vw, 2rem);
}

.arrangement-card p {
  margin: 0;
}

.arrangement-menu-card {
  display: grid;
  gap: 0.9rem;
}

.arrangement-menu-card .menu-pages {
  margin-top: 0.25rem;
  grid-template-columns: minmax(0, 1fr);
}

.arrangement-menu {
  margin: 0;
  color: var(--primary-dark);
  font-weight: 700;
}

.arrangement-menu-card .menu-status {
  margin-top: -0.1rem;
}

.arrangement-pdf-link {
  width: fit-content;
  font-size: 0.9rem;
  font-weight: 600;
  color: #b56f1d;
  text-decoration: underline;
  text-decoration-color: rgba(181, 111, 29, 0.4);
  text-underline-offset: 0.16em;
  transition: color 140ms ease, text-decoration-color 140ms ease;
}

.arrangement-pdf-link:hover,
.arrangement-pdf-link:focus-visible {
  color: #8d5414;
  text-decoration-color: currentColor;
}

.menu-pdf-card {
  background: linear-gradient(180deg, #fbf6ec 0%, #f5e8d4 100%);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.1rem;
  box-shadow: 0 12px 28px rgba(70, 48, 31, 0.12);
  display: grid;
  gap: 1rem;
}

.menu-preview-placeholder {
  min-height: clamp(14rem, 36vw, 20rem);
  border-radius: 0.8rem;
  border: 1px solid #e3d1b8;
  background: linear-gradient(145deg, #fdf8ef 0%, #f2e3cb 100%);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.25rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.menu-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.menu-switch {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.35rem;
  width: fit-content;
  margin: 0 auto;
  border-radius: 999px;
  border: 1px solid #dcc5a8;
  background: #f3e5d1;
}

.menu-switch-tab {
  border: 0;
  border-radius: 999px;
  padding: 0.65rem 1rem;
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.menu-switch-tab:hover,
.menu-switch-tab:focus-visible {
  background: rgba(139, 90, 43, 0.13);
  color: var(--primary-dark);
}

.menu-switch-tab.is-active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 10px rgba(109, 67, 29, 0.3);
}

.menu-helper-text {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}


.menu-status {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.menu-status-error {
  color: #7a1f1f;
}

.menu-pages {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  justify-content: center;
}

.menu-page {
  width: 100%;
  background: #fff;
  border-radius: 0.8rem;
  border: 1px solid #e8dfd0;
  box-shadow: 0 4px 12px rgba(43, 28, 16, 0.1);
  padding: 0.7rem;
  overflow: hidden;
}

.menu-page-canvas {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  background: #fff;
  border-radius: 0.5rem;
}


.footer-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #e7d8c2;
  padding: 1rem 0 1.15rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.footer-details {
  flex: 1 1 14rem;
}

.footer-content p {
  margin-bottom: 0.35rem;
}

.footer-details p:last-child {
  margin-bottom: 0;
}

.footer-smiley {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.footer-smiley a {
  display: inline-flex;
  align-items: center;
  opacity: 0.95;
  transition: opacity 0.2s ease;
}

.footer-smiley a:hover,
.footer-smiley a:focus-visible {
  opacity: 1;
}

.footer-smiley-logo {
  display: block;
  width: auto;
  height: auto;
  max-height: clamp(2rem, 4vw, 2.35rem);
  max-width: min(100%, 6.25rem);
  object-fit: contain;
}


.info-card {
  border-radius: 1rem;
  padding: 1.4rem;
  box-shadow: 0 8px 20px rgba(70, 48, 31, 0.08);
}

.info-card h2 {
  margin-bottom: 1rem;
}

.hours-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid #eee4d7;
}

.hours-list li:last-child {
  border-bottom: 0;
}

.hours-list li span:last-child {
  font-weight: 700;
}

.map-embed {
  border-radius: 0.8rem;
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: 1rem;
}

.map-embed iframe {
  display: block;
  width: 100%;
  min-height: 240px;
  border: 0;
}

.kontakt-card h1 {
  margin-bottom: 1rem;
}

.kontakt-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.95rem;
}

.kontakt-info-list li {
  display: grid;
  gap: 0.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid #eee4d7;
}

.kontakt-info-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.kontakt-label {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.kontakt-info-list a {
  color: var(--primary-dark);
  font-weight: 700;
}

.kontakt-info-list a:hover,
.kontakt-info-list a:focus-visible {
  color: var(--primary);
}

.kontakt-form-section {
  padding-top: 0;
}

.kontakt-form-card {
  border-radius: 1rem;
  padding: 1.4rem;
  display: grid;
  gap: 1rem;
}

.kontakt-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.9rem;
}

.form-field {
  display: grid;
  gap: 0.35rem;
}

.form-field label {
  font-weight: 700;
  color: var(--primary-dark);
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: #fffaf0;
  color: var(--text);
  padding: 0.7rem 0.85rem;
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.form-field textarea {
  resize: vertical;
  min-height: 8rem;
}

.form-field input:focus-visible,
.form-field textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-color: #cf954e;
}

.form-required-note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.form-submit-message {
  margin: 0;
  padding: 0.8rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid #d7c1a5;
  background: #fbf3e7;
  color: var(--primary-dark);
  font-weight: 600;
}

.form-submit-message a {
  color: var(--primary-dark);
}


.homepage-gallery-preview h2 {
  margin-bottom: 1rem;
}

.homepage-slideshow {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(58, 40, 27, 0.16);
  background: #e8d5bc;
}

.homepage-slideshow img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 1;
  transition: opacity 500ms ease;
}

.homepage-slideshow img.is-transitioning {
  opacity: 0;
}

.homepage-slideshow-cta {
  margin-top: 1.2rem;
  display: flex;
  justify-content: center;
}

@media (max-width: 36rem) {
  body {
    font-size: 1rem;
    line-height: 1.7;
  }

  .section {
    padding: 2.55rem 0;
  }

  .hero {
    padding-top: 2.8rem;
  }

  .hero + .section {
    padding-top: 1.8rem;
  }

  .homepage-info-section {
    padding-bottom: 2rem;
  }

  .homepage-gallery-preview {
    padding-top: 2.25rem;
  }

  h1 {
    margin-bottom: 1.15rem;
  }

  p {
    line-height: 1.75;
    margin-bottom: 1.1rem;
  }

  .cards,
  .news-list,
  .gallery-grid,
  .contact-layout {
    gap: 1rem;
  }

  main {
    width: min(100% - 1.2rem, 74rem);
    margin-top: 1.45rem;
    padding-bottom: 1rem;
  }

  .topbar {
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    padding-top: 0.6rem;
  }

  .brand {
    width: auto;
    justify-content: flex-start;
    min-width: 0;
    gap: 0.65rem;
  }

  .brand-name {
    font-size: 1.34rem;
  }

  .brand-logo {
    width: clamp(2.9rem, 18vw, 3.5rem);
  }

  .menu-pdf-card {
    padding: 0.85rem;
  }

  .menu-actions {
    margin-top: 0.85rem;
  }

  .menu-actions .btn {
    width: 100%;
    text-align: center;
  }

  .menu-switch {
    width: 100%;
    border-radius: 0.85rem;
    justify-content: stretch;
  }

  .menu-switch-tab {
    flex: 1 1 calc(50% - 0.3rem);
    text-align: center;
  }

  .footer-content {
    gap: 0.55rem 0.75rem;
  }

  .footer-smiley {
    margin-top: 0;
  }
}

@media (min-width: 48rem) {
  .menu-toggle {
    display: none;
  }

  .primary-nav {
    position: static;
    width: auto;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.95rem;
    border: 0;
    padding: 0;
    background: transparent;
    max-width: 65%;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    visibility: visible;
    transition: none;
  }

  .nav-social-link {
    margin-left: 0.2rem;
  }

  .three-col {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .two-col,
  .contact-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .cards,
  .news-list,
  .gallery-grid,
  .contact-layout {
    gap: 0.85rem;
  }

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

  .form-field--full,
  .kontakt-form button,
  .form-required-note {
    grid-column: 1 / -1;
  }

}

@media (min-width: 64rem) {
  .gallery-grid--photos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 768px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 1100;
    background: var(--surface);
  }

  .gallery-grid--photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .gallery-item {
    border-radius: 0.75rem;
  }

  .gallery-item img {
    height: 8.5rem;
    aspect-ratio: auto;
    object-fit: cover;
  }
}

.news-feed {
  display: grid;
  gap: 1.4rem;
}

.news-item {
  border-top: 1px solid #d9c5a8;
  padding-top: 1.2rem;
  display: grid;
  gap: 0.75rem;
}

.news-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.news-item h2,
.single-news h1 {
  margin: 0;
}

.news-item p,
.single-news p {
  margin: 0;
}

.news-read-more,
.news-back-link {
  width: fit-content;
  font-weight: 700;
  color: var(--primary-dark);
  text-decoration: underline;
  text-decoration-color: rgba(109, 67, 29, 0.4);
  text-underline-offset: 0.16em;
}

.news-read-more:hover,
.news-read-more:focus-visible,
.news-back-link:hover,
.news-back-link:focus-visible {
  color: var(--primary);
  text-decoration-color: currentColor;
}

.news-pdf-preview {
  margin-top: 0.35rem;
}

.news-pdf-preview .menu-page {
  max-width: 18rem;
  box-shadow: 0 3px 10px rgba(43, 28, 16, 0.1);
}

.single-news {
  display: grid;
  gap: 1rem;
}

.news-image-grid {
  margin: 0.25rem 0;
}

.news-pdf-section {
  display: grid;
  gap: 0.9rem;
  margin-top: 0.25rem;
}

.news-pdf-section h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.6vw, 1.8rem);
}

.news-pdf-pages {
  grid-template-columns: minmax(0, 1fr);
}

.news-pdf-actions {
  justify-content: flex-start;
  margin-top: 0.4rem;
}

@media (min-width: 64rem) {
  .news-pdf-pages {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
