/* =========================
   Gemeinsame Basisdatei
   Gasthof Grüner Baum
   ========================= */

:root {
  --bg: #f6f4ef;
  --surface: #fcfbf8;
  --surface-2: #f1eee8;
  --surface-3: #f7f4ee;
  --text: #26231d;
  --muted: #67645d;
  --line: rgba(38, 35, 29, 0.12);
  --primary: #1f6a5a;
  --primary-hover: #174f43;
  --accent: #d6a83d;
  --accent-soft: #f3e7c2;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 6px 18px rgba(22, 32, 24, 0.06);
  --shadow-md: 0 14px 34px rgba(22, 32, 24, 0.10);
  --content: 1180px;
  --font-body: "Source Sans 3", Arial, sans-serif;
  --font-display: "Libre Baskerville", Georgia, serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

a {
  color: var(--primary);
  text-underline-offset: 0.15em;
}

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

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

img {
  max-width: 100%;
  height: auto;
}

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

.skip-link {
  position: absolute;
  left: 0;
  top: -48px;
  z-index: 1000;
  background: #111;
  color: #fff;
  padding: 0.75rem 1rem;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}

.lang-bar {
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.lang-bar-inner {
  width: min(100% - 2rem, 1180px);
  margin-inline: auto;
  padding: 0.65rem 0;
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
  color: var(--muted);
}

.lang-bar .current {
  font-weight: 700;
  color: var(--text);
}

/* =========================
   Header
   ========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10020;
  background: rgba(31, 106, 90, 0.96);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  overflow: visible;
}

.header-inner {
  position: relative;
  z-index: 10021;
  width: min(100% - 2rem, 1180px);
  margin-inline: auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.85rem;
  overflow: visible;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: #fff;
  min-width: 0;
}

.brand:hover,
.brand:focus-visible {
  color: #fff;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.12);
  flex: 0 0 auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.brand-text strong {
  font-size: 1.04rem;
}

.brand-text span {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.82);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* =========================
   Desktop Navigation + Dropdown
   ========================= */

.site-nav {
  position: relative;
  z-index: 10022;
  overflow: visible;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav > ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.site-nav > ul > li {
  position: relative;
  z-index: 1;
}

.site-nav > ul > li > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  z-index: 2;
}

.site-nav > ul > li > a:hover,
.site-nav > ul > li > a:focus-visible,
.site-nav > ul > li > a[aria-current="page"],
.site-nav > ul > li.has-submenu:hover > a,
.site-nav > ul > li.has-submenu:focus-within > a,
.site-nav > ul > li.has-submenu.submenu-open > a {
  background: rgba(255, 255, 255, 0.14);
  color: #fff8de;
}

.site-nav .has-submenu > a::after {
  content: " ▾";
  font-size: 0.72rem;
  margin-left: 0.25rem;
  opacity: 0.9;
}

.site-nav .submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  padding: 0.4rem;
  margin: 0;
  background: #fff;
  border: 1px solid rgba(31, 106, 90, 0.14);
  border-radius: 14px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
  z-index: 10030;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}

.site-nav .has-submenu:hover > .submenu,
.site-nav .has-submenu:focus-within > .submenu,
.site-nav .has-submenu.submenu-open > .submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.site-nav .submenu li {
  display: block;
  width: 100%;
}

.site-nav .submenu a {
  display: block;
  width: 100%;
  min-height: auto;
  padding: 0.8rem 0.95rem;
  border-radius: 10px;
  color: #234136;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
}

.site-nav .submenu a:hover,
.site-nav .submenu a:focus-visible,
.site-nav .submenu a[aria-current="page"] {
  background: #f3f8f5;
  color: #234136;
}

.nav-toggle,
.nav-mobile {
  display: none;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  color: #234136;
  line-height: 1.15;
}

.cta {
  display: inline-block;
  padding: 0.92rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  transition: 180ms ease;
}

.cta-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 18px rgba(31, 106, 90, 0.18);
}

.cta-primary:hover,
.cta-primary:focus-visible {
  background: var(--primary-hover);
  color: #fff;
}

.cta-secondary {
  background: #fff;
  color: var(--primary);
  border-color: var(--line);
}

.cta-secondary:hover,
.cta-secondary:focus-visible {
  background: var(--surface-3);
  color: var(--primary-hover);
}

.opening-box,
.section,
.contact,
.important-info,
.gallery-wrap,
.info-box,
.service-note,
.trust-bar,
.season-events-section,
.menu-card,
.footer-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.footer {
  padding: 0 0 2rem;
}

.footer-box {
  width: min(100% - 2rem, 760px);
  margin: 0 auto;
  padding: 1.2rem;
  text-align: center;
}

.footer-meta {
  margin-top: 1rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

/* =========================
   Jobs-Link global ausblenden
   ========================= */

.site-nav a[href="jobs.html"],
.site-nav a[href="jobs-en.html"],
.nav-mobile a[href="jobs.html"],
.nav-mobile a[href="jobs-en.html"] {
  display: none !important;
}

/* =========================
   Responsive Navigation
   ========================= */

@media (max-width: 960px) {
  .site-nav {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-radius: 12px;
    width: 44px;
    height: 44px;
    font-size: 1.35rem;
    cursor: pointer;
  }

  .nav-mobile {
    display: none;
    flex-direction: column;
    gap: 0.35rem;
    width: min(100% - 2rem, 1180px);
    margin: 0 auto;
    padding: 0 0 1rem;
  }

  .nav-mobile.open {
    display: flex;
  }

  .nav-mobile a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 0.75rem 0.95rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
  }

  .mobile-subnav-link {
    margin-left: 1rem;
    background: rgba(255, 255, 255, 0.14) !important;
  }

  .header-inner {
    display: grid;
  }
}

@media (max-width: 700px) {
  .lang-bar-inner {
    justify-content: center;
  }

  .cta {
    width: 100%;
    text-align: center;
  }
}