:root {
  --sage: #a3b79c;
  --sage-dark: #6f8567;
  --sage-light: #d9e4d5;
  --rose: #f688b5;
  --rose-dark: #ac5f7e;
  --rose-light: #fce3ed;
  --accent: #e72d80;
  --cream-box: #ededE6;
  --mauve: #cc9bab;
  --wine: #330c2f;
  --background: #faf8f5;
  --surface: #ffffff;
  --text-primary: #2e2e2a;
  --text-secondary: #6b6b63;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Nunito Sans", sans-serif;
  background: var(--background);
  color: var(--text-primary);
  line-height: 1.5;
}

h1, h2, h3, .wordmark {
  font-family: "Caveat", cursive;
  font-weight: 700;
  margin: 0;
}

a {
  color: inherit;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Header --- */

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-area img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0;
  padding: 0;
  font-size: 15px;
}

nav a {
  text-decoration: none;
  color: var(--text-primary);
}

nav a:hover {
  color: var(--rose-dark);
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  background: var(--rose);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 13px;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--rose-dark);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--rose);
  color: var(--rose-dark);
}

/* --- Closed period notice --- */

.closed-banner {
  display: none; /* shown by renderClosedBanner() in site.js once it knows
    there's actually something to say - hidden by default so the static
    placeholder text never flashes before the real check completes. */
  background: var(--rose-light);
  color: var(--rose-dark);
  text-align: center;
  padding: 10px 16px;
  font-weight: 700;
}

/* --- Hero --- */

.hero {
  position: relative;
  min-height: 320px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(30, 15, 20, 0.28);
}

.hero-content {
  position: relative;
  text-align: center;
  color: #fff;
}

.hero-content h1 {
  font-size: 44px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-content .btn {
  margin-top: 18px;
}

/* --- Section --- */

section {
  padding: 56px 0;
}

.section-title {
  text-align: center;
  color: var(--rose-dark);
  font-size: 40px;
  margin-bottom: 32px;
}

.info-box {
  background: var(--cream-box);
  border-radius: 14px;
  padding: 28px;
  max-width: 460px;
  margin: 0 auto 40px;
  text-align: center;
}

.info-box h3 {
  font-family: "Nunito Sans", sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.address-block {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.address-block .btn {
  margin-top: 18px;
}

.band-khaki {
  background: #dedcd1;
  height: 48px;
}

/* --- Events --- */

.events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 700px) {
  .events-grid {
    grid-template-columns: 1fr;
  }
}

.event-card {
  background: var(--surface);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
}

.event-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background: var(--sage-light);
}

.event-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.event-body h3 {
  font-family: "Nunito Sans", sans-serif;
  color: var(--rose-dark);
  font-weight: 800;
  font-size: 16px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.event-subtitle {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 10px;
}

.event-date {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.event-body .btn {
  margin-top: auto;
  text-align: center;
  background: #1f6fa8;
}

.event-body .btn:hover {
  background: #185580;
}

/* --- Feature band --- */

.feature-band {
  background: var(--mauve);
  color: #fff;
  text-align: center;
  padding: 64px 0;
}

.feature-band h2 {
  font-size: 40px;
}

/* --- Contact --- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

@media (max-width: 700px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-grid .icon {
  font-size: 28px;
  margin-bottom: 8px;
}

.contact-grid h3 {
  font-family: "Nunito Sans", sans-serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.5px;
}

.socials {
  text-align: center;
  margin-top: 36px;
  font-size: 15px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 12px;
  font-size: 22px;
}

/* --- Newsletter --- */

.newsletter {
  background: #9fb4c7;
  padding: 48px 0;
}

.newsletter-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
}

@media (max-width: 700px) {
  .newsletter-grid {
    grid-template-columns: 1fr;
  }
}

.newsletter h2 {
  color: var(--rose-dark);
  text-align: left;
  font-size: 30px;
}

.newsletter form input {
  display: block;
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 10px;
  border: none;
  border-radius: 4px;
}

/* --- Footer --- */

footer {
  background: var(--wine);
  color: #f2d9e6;
  text-align: center;
  padding: 24px 0;
  font-size: 14px;
}

footer a {
  color: #e8a9c4;
  text-decoration: none;
  margin: 0 10px;
}

footer a:hover {
  text-decoration: underline;
}

/* --- Legal text pages (Impressum/Datenschutz) - sans-serif headings,
   the cursive brand font doesn't hold up at this density --- */

.legal-heading {
  font-family: "Nunito Sans", sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--rose-dark);
  margin-top: 36px;
  margin-bottom: 10px;
}

.legal-subheading {
  font-family: "Nunito Sans", sans-serif;
  font-weight: 700;
  font-size: 16px;
  margin-top: 20px;
  margin-bottom: 6px;
}

.legal-text p,
.legal-text li {
  font-size: 15px;
  color: var(--text-primary);
}

.legal-text ul {
  padding-left: 20px;
}

/* --- Newsletter honeypot - hidden from real visitors, bots fill every field --- */

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* --- Menu listings (à la carte dishes, set menus, wine list) --- */

.menu-section-title {
  font-family: "Nunito Sans", sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--rose-dark);
  margin-top: 40px;
  margin-bottom: 14px;
  border-bottom: 2px solid var(--rose-light);
  padding-bottom: 8px;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--divider);
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-item-name {
  font-weight: 700;
  margin-bottom: 4px;
}

.menu-item-desc {
  color: var(--text-secondary);
  font-size: 14px;
}

.menu-item-price {
  font-weight: 700;
  color: var(--rose-dark);
  white-space: nowrap;
}

@media (max-width: 600px) {
  .menu-item {
    flex-direction: column;
    gap: 4px;
  }
}

.menu-course {
  margin-bottom: 10px;
}

.menu-course-label {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.menu-course-dish {
  font-weight: 600;
}

.menu-course-wine {
  font-size: 13px;
  color: var(--sage-dark);
  font-style: italic;
}

.event-menu-card {
  background: var(--surface);
  border-radius: 14px;
  padding: 28px;
  margin-bottom: 32px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.event-menu-card .event-menu-title {
  font-family: "Caveat", cursive;
  font-size: 32px;
  color: var(--rose-dark);
  margin-bottom: 2px;
}

.event-menu-meta {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 18px;
}

.event-menu-price {
  margin-top: 18px;
  font-weight: 700;
  text-align: right;
}

/* --- Mobile nav (hamburger) --- */

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1400px) {
  .nav-toggle {
    display: flex;
    order: 2;
  }

  header {
    position: relative;
  }

  header nav {
    order: 4;
    flex-basis: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  header nav.nav-open {
    max-height: 600px;
  }

  header nav ul {
    flex-direction: column;
    gap: 0;
    padding: 12px 0 4px;
  }

  header nav ul li {
    border-top: 1px solid var(--divider);
  }

  header nav ul li a {
    display: block;
    padding: 12px 4px;
  }

  .logo-area {
    order: 1;
  }

  header > .btn-outline {
    order: 3;
  }
}
