/* ==========================================================================
   Biobauernhof Eliashof - Alpine Design System 2026
   Clean, Premium, Responsive (Light [Default] & Dark Mode)
   ========================================================================== */

:root {
  /* Fonts */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Transitions */
  --theme-transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --radius-full: 9999px;

  /* Layout */
  --max-width: 1240px;
  --nav-height: 80px;
  --topbar-height: 40px;
}

/* --------------------------------------------------------------------------
   Theme: Light (Default)
   -------------------------------------------------------------------------- */
:root, [data-theme="light"] {
  --bg-body: #f8f9f7;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-subtle: #f0f3ef;
  --bg-tertiary: #e6ebdf;

  --border-color: rgba(27, 67, 50, 0.12);
  --border-subtle: rgba(27, 67, 50, 0.06);
  --border-focus: #1f4e38;

  --text-primary: #152219;
  --text-secondary: #46554c;
  --text-muted: #6f8074;

  --primary: #1b4d36;
  --primary-hover: #123725;
  --primary-light: #e8f4ed;
  --primary-contrast: #ffffff;

  --accent: #b0723a;
  --accent-hover: #965d2b;
  --accent-light: #faefe4;
  --accent-contrast: #ffffff;

  --gold: #d4a373;
  --danger: #d90429;
  --success: #2d6a4f;

  --header-bg: rgba(255, 255, 255, 0.88);
  --header-border: rgba(27, 67, 50, 0.08);

  --card-shadow: 0 4px 20px -2px rgba(27, 67, 50, 0.06), 0 2px 6px -1px rgba(0, 0, 0, 0.03);
  --card-shadow-hover: 0 16px 36px -6px rgba(27, 67, 50, 0.12), 0 4px 12px -2px rgba(0, 0, 0, 0.05);

  --badge-bg: #e8f4ed;
  --badge-text: #1b4d36;
  --badge-border: rgba(27, 67, 50, 0.18);

  --map-filter: none;
}

/* --------------------------------------------------------------------------
   Theme: Dark
   -------------------------------------------------------------------------- */
[data-theme="dark"] {
  --bg-body: #0d1512;
  --bg-surface: #14201a;
  --bg-surface-elevated: #1a2a22;
  --bg-subtle: #111a15;
  --bg-tertiary: #20322a;

  --border-color: rgba(116, 198, 157, 0.18);
  --border-subtle: rgba(116, 198, 157, 0.08);
  --border-focus: #52b788;

  --text-primary: #f2f7f4;
  --text-secondary: #adbeb4;
  --text-muted: #798e82;

  --primary: #52b788;
  --primary-hover: #74c69d;
  --primary-light: rgba(82, 183, 136, 0.15);
  --primary-contrast: #07150e;

  --accent: #d89f66;
  --accent-hover: #e6b280;
  --accent-light: rgba(216, 159, 102, 0.18);
  --accent-contrast: #151009;

  --gold: #e2b07d;
  --danger: #ef476f;
  --success: #52b788;

  --header-bg: rgba(13, 21, 18, 0.88);
  --header-border: rgba(116, 198, 157, 0.14);

  --card-shadow: 0 6px 24px -2px rgba(0, 0, 0, 0.45), 0 2px 8px -1px rgba(0, 0, 0, 0.35);
  --card-shadow-hover: 0 16px 40px -4px rgba(0, 0, 0, 0.65), 0 4px 16px -2px rgba(0, 0, 0, 0.45);

  --badge-bg: rgba(82, 183, 136, 0.15);
  --badge-text: #74c69d;
  --badge-border: rgba(116, 198, 157, 0.3);

  --map-filter: brightness(0.85) invert(0.9) hue-rotate(180deg) contrast(1.1);
}

/* --------------------------------------------------------------------------
   Reset & Base Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.65;
  transition: var(--theme-transition);
  overflow-x: hidden;
}

img, svg, picture {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

button, input, select, textarea {
  font: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Section Common */
.section {
  padding: 4rem 0;
  position: relative;
}

.section--subtle {
  background-color: var(--bg-subtle);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.5rem auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  background-color: var(--accent-light);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.975rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-full);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--primary);
  color: var(--primary-contrast);
  box-shadow: 0 4px 14px rgba(27, 67, 50, 0.25);
}

.btn--primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27, 67, 50, 0.35);
}

.btn--secondary {
  background-color: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.btn--secondary:hover {
  background-color: var(--bg-subtle);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn--accent {
  background-color: var(--accent);
  color: var(--accent-contrast);
  box-shadow: 0 4px 14px rgba(176, 114, 58, 0.25);
}

.btn--accent:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(176, 114, 58, 0.35);
}

.btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* --------------------------------------------------------------------------
   Top Bar
   -------------------------------------------------------------------------- */
.topbar {
  background-color: var(--primary);
  color: var(--primary-contrast);
  font-size: 0.8rem;
  padding: 0.45rem 0;
  transition: var(--theme-transition);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  white-space: nowrap;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  white-space: nowrap;
}

.topbar-right {
  flex-shrink: 0;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.topbar-item a {
  white-space: nowrap;
}

.topbar-item a:hover {
  text-decoration: underline;
}

.topbar-badge {
  background: rgba(255, 255, 255, 0.16);
  padding: 0.18rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Controls (Theme & Lang in Topbar / Header) */
.controls-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-ctrl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 600;
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  transition: all 0.2s ease;
}

.btn-ctrl:hover {
  background: var(--bg-subtle);
  border-color: var(--primary);
}

/* 5-Language Switcher Pill Bar */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.2rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--text-secondary);
  background: transparent;
  transition: all 0.2s ease;
}

.lang-btn:hover {
  color: var(--text-primary);
  background: var(--bg-subtle);
}

.lang-btn.is-active {
  background: var(--primary);
  color: var(--primary-contrast);
  box-shadow: var(--shadow-sm);
}

.lang-switcher--drawer {
  flex: 1;
  justify-content: space-between;
  padding: 0.3rem;
}

.lang-switcher--drawer .lang-btn {
  flex: 1;
  padding: 0.5rem 0.35rem;
  font-size: 0.82rem;
}

.mobile-header-controls {
  display: none;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
  margin-right: 0.5rem;
}

.mobile-lang-select {
  height: 38px;
  padding: 0 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-ctrl--compact {
  height: 38px;
  padding: 0 0.65rem;
}

/* --------------------------------------------------------------------------
   Header & Sticky Nav
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--header-border);
  transition: var(--theme-transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  gap: 1.25rem;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--primary);
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  min-width: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 1.35vw, 1.4rem);
}

.nav-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-secondary);
  position: relative;
  padding: 0.3rem 0;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-desktop .btn {
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.25s ease;
  border-radius: var(--radius-full);
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link:hover::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

/* Mobile Drawer */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bg-body);
  z-index: 1050;
  padding: 2rem 1.5rem;
  flex-direction: column;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-nav-drawer.is-open {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.mobile-nav-links .nav-link {
  font-size: 1.25rem;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 84vh;
  display: flex;
  align-items: center;
  padding: 4rem 0 7rem 0;
  overflow: hidden;
}

.hero-slider-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 22, 17, 0.45) 0%,
    rgba(10, 22, 17, 0.72) 60%,
    rgba(10, 22, 17, 0.92) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  color: #ffffff;
  max-width: 840px;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.35rem, 5vw, 3.85rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 2rem;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.hero-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
}

.hero-feat-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* --------------------------------------------------------------------------
   Fast Finder Bar (Floating below hero)
   -------------------------------------------------------------------------- */
.finder-bar-wrapper {
  position: relative;
  z-index: 10;
  margin-top: -3.25rem;
  margin-bottom: 0;
}

.finder-bar {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--card-shadow-hover);
  transition: var(--theme-transition);
}

.finder-form {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) minmax(140px, 1fr) minmax(190px, 1.4fr) minmax(115px, 0.9fr) auto;
  gap: 1rem;
  align-items: flex-end;
}

.finder-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.finder-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.finder-input, .finder-select {
  width: 100%;
  padding: 0.68rem 0.85rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background-color: var(--bg-subtle);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.92rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.finder-input:focus, .finder-select:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(82, 183, 136, 0.2);
}

/* --------------------------------------------------------------------------
   USPs / Highlights Grid
   -------------------------------------------------------------------------- */
.usps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.usp-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.usp-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.usp-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--border-focus);
}

.usp-card:hover::before {
  opacity: 1;
}

.usp-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  transition: transform 0.3s ease;
}

.usp-card:hover .usp-icon-box {
  transform: scale(1.08) rotate(2deg);
}

.usp-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.usp-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Accommodations Section & Tabs
   -------------------------------------------------------------------------- */
.accommodations-tabs {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.acc-tab-btn {
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  transition: all 0.25s ease;
}

.acc-tab-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.acc-tab-btn.is-active {
  background-color: var(--primary);
  color: var(--primary-contrast);
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(27, 67, 50, 0.25);
}

.accommodations-grid {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.acc-card {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
}

.acc-card:hover {
  box-shadow: var(--card-shadow-hover);
}

.acc-card-media {
  position: relative;
  min-height: 380px;
  overflow: hidden;
}

.acc-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.acc-card:hover .acc-card-img {
  transform: scale(1.04);
}

.acc-badge-location {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  color: #ffffff;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 700;
}

.acc-badge-price {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  background: var(--bg-surface);
  color: var(--text-primary);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.acc-price-amount {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--accent);
  line-height: 1;
}

.acc-price-note {
  font-size: 0.725rem;
  color: var(--text-muted);
}

.acc-card-body {
  padding: 2.5rem 2.5rem 2.5rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.acc-capacity-tag {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.acc-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
  line-height: 1.25;
}

.acc-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.acc-features-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
  margin-bottom: 2rem;
}

.acc-feature-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.925rem;
  color: var(--text-secondary);
}

.acc-check-icon {
  color: var(--primary);
  font-weight: bold;
}

.acc-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* --------------------------------------------------------------------------
   Live Price Calculator Section
   -------------------------------------------------------------------------- */
.calculator-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: var(--card-shadow-hover);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
}

.calc-inputs-pane {
  padding: 2.75rem;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.calc-grid .calc-field-full {
  grid-column: 1 / -1;
}

.calc-field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.calc-field select, .calc-field input {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background-color: var(--bg-subtle);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.calc-field select:focus, .calc-field input:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(82, 183, 136, 0.2);
}

.calc-range-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.calc-range-val {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--primary);
  min-width: 48px;
}

.calc-results-pane {
  background: var(--bg-tertiary);
  padding: 2.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 1px solid var(--border-color);
}

.calc-results-header {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
}

.calc-breakdown-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.calc-breakdown-row strong {
  color: var(--text-primary);
}

.calc-benefits-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}

.calc-benefits-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.05em;
  margin-bottom: 0.65rem;
}

.calc-benefits-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.calc-total-box {
  padding-top: 1.25rem;
  border-top: 2px dashed var(--border-color);
  margin-bottom: 1.5rem;
}

.calc-total-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
}

.calc-total-price {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
  margin-top: 0.25rem;
}

/* --------------------------------------------------------------------------
   Pricing Table
   -------------------------------------------------------------------------- */
.pricing-table-container {
  overflow-x: auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: var(--card-shadow);
  margin-top: 3rem;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.pricing-table th, .pricing-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.pricing-table th {
  background-color: var(--bg-subtle);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-table tr:last-child td {
  border-bottom: none;
}

.pricing-table tr:hover td {
  background-color: var(--bg-subtle);
}

.rate-highlight {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--primary);
  font-size: 1.15rem;
}

/* --------------------------------------------------------------------------
   Farm Life & Gallery
   -------------------------------------------------------------------------- */
.farm-intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3.5rem;
}

.farm-intro-text p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.farm-highlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1rem 1.5rem;
  box-shadow: var(--card-shadow);
  margin-top: 1rem;
}

.farm-highlight-badge img {
  height: 48px;
  width: auto;
}

.gallery-filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.gallery-filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.875rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.gallery-filter-btn:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.gallery-filter-btn.is-active {
  background-color: var(--primary);
  color: var(--primary-contrast);
  border-color: var(--primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-color);
}

.gallery-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-thumb {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.75) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-caption {
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Waldhornalm Showcase
   -------------------------------------------------------------------------- */
.waldhorn-banner {
  background: linear-gradient(rgba(10, 22, 17, 0.85), rgba(10, 22, 17, 0.9)), url('../images/bauernhof/bauernhof-11.jpg') center/cover no-repeat;
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 4rem 3rem;
  margin: 3rem 0;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  box-shadow: var(--card-shadow-hover);
}

.waldhorn-content .section-tag {
  background: rgba(255, 255, 255, 0.15);
  color: var(--gold);
}

.waldhorn-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: #ffffff;
}

.waldhorn-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
}

.waldhorn-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.waldhorn-check-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.95);
}

.waldhorn-media-box {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.waldhorn-img-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* --------------------------------------------------------------------------
   Location & Map
   -------------------------------------------------------------------------- */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.5rem;
  align-items: stretch;
}

.location-info-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.loc-block {
  margin-bottom: 1.75rem;
}

.loc-block-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.65rem;
}

.loc-block-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.map-container {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
  min-height: 480px;
  position: relative;
}

#leaflet-map {
  width: 100%;
  height: 100%;
  min-height: 480px;
}

/* --------------------------------------------------------------------------
   FAQ Accordion
   -------------------------------------------------------------------------- */
.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: border-color 0.2s ease;
}

.faq-item.is-open {
  border-color: var(--primary);
}

.faq-trigger {
  width: 100%;
  padding: 1.35rem 1.5rem;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  transition: color 0.2s ease;
}

.faq-trigger:hover {
  color: var(--primary);
}

.faq-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
}

.faq-content {
  display: none;
  padding: 0 1.5rem 1.5rem 1.5rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  border-top: 1px solid var(--border-subtle);
}

.faq-item.is-open .faq-content {
  display: block;
}

/* --------------------------------------------------------------------------
   Inquiry Form Section
   -------------------------------------------------------------------------- */
.inquiry-wrapper {
  max-width: 840px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--card-shadow-hover);
}

.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-field label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}

.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background-color: var(--bg-subtle);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(82, 183, 136, 0.2);
}

.form-checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.form-checkbox-wrapper input[type="checkbox"] {
  margin-top: 0.25rem;
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

.form-success-box {
  display: none;
  background: var(--primary-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
}

.form-success-box.is-visible {
  display: block;
}

.form-success-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding: 4.5rem 0 2rem 0;
  transition: var(--theme-transition);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.footer-brand-logo {
  height: 48px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.925rem;
  color: var(--text-secondary);
}

.footer-links-list a:hover {
  color: var(--primary);
}

.footer-partners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  align-items: center;
}

.footer-partner-logo {
  max-height: 38px;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.footer-partner-logo:hover {
  opacity: 1;
}

.footer-bottom-bar {
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-links a:hover {
  color: var(--primary);
}

/* --------------------------------------------------------------------------
   Modal / Lightbox
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.is-active {
  display: flex;
}

.modal-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: var(--primary);
  color: var(--primary-contrast);
}

/* Image Lightbox Modal */
.lightbox-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-height: 70vh;
  width: auto;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
}

.lightbox-caption {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   Back to Top Floating Button
   -------------------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: var(--primary-contrast);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 999;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-hover);
  transform: translateY(-3px);
}

/* --------------------------------------------------------------------------
   Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .topbar-badge {
    display: none;
  }
}

@media (max-width: 1120px) {
  .nav-desktop {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .mobile-nav-drawer {
    display: flex;
  }
}

@media (max-width: 1024px) {
  .finder-form {
    grid-template-columns: 1fr 1fr;
  }
  .finder-form .btn {
    grid-column: 1 / -1;
    width: 100%;
  }
  .acc-card {
    grid-template-columns: 1fr;
  }
  .acc-card-body {
    padding: 0 2rem 2rem 2rem;
  }
  .calculator-card {
    grid-template-columns: 1fr;
  }
  .calc-results-pane {
    border-left: none;
    border-top: 1px solid var(--border-color);
  }
  .waldhorn-banner {
    grid-template-columns: 1fr;
  }
  .location-grid {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .topbar-left {
    display: none;
  }
  .topbar-inner {
    justify-content: flex-end;
  }
}

@media (max-width: 768px) {
  .topbar {
    display: none;
  }
  .mobile-header-controls {
    display: flex;
  }
  .finder-bar-wrapper {
    margin-top: 1rem;
  }
  .finder-form {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 3rem 0;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .farm-intro-grid {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .inquiry-wrapper {
    padding: 1.75rem;
  }
  .calc-inputs-pane, .calc-results-pane {
    padding: 1.75rem;
  }
  .calc-grid {
    grid-template-columns: 1fr;
  }
}
