/* Zürioberland 1816 — Landing Page */

:root {
  --color-bg: #f7f3ed;
  --color-bg-dark: #1a1814;
  --color-surface: #ffffff;
  --color-primary: #3d5a45;
  --color-primary-dark: #2c4333;
  --color-accent: #b8860b;
  --color-accent-light: #d4a843;
  --color-text: #2a2620;
  --color-text-muted: #5c564e;
  --color-border: #ddd5c8;
  --font-heading: "Oswald", sans-serif;
  --font-body: "Source Sans 3", sans-serif;
  --shadow-sm: 0 2px 8px rgba(26, 24, 20, 0.06);
  --shadow-md: 0 8px 32px rgba(26, 24, 20, 0.12);
  --radius: 8px;
  --container: 1140px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
}

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

a {
  color: var(--color-primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--color-accent);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem 0;
}

.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--color-text);
}

.logo-mark {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.logo-sub {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-text);
  transition: color 0.2s;
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: transform 0.3s, opacity 0.3s;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

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

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

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: #fff;
}

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

.btn-accent:hover {
  background: var(--color-accent-light);
  color: #fff;
}

/* Hero */
.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(26, 24, 20, 0.78) 0%, rgba(61, 90, 69, 0.55) 100%),
    url("/img/hero-oberland.jpg") center / cover no-repeat;
  color: #fff;
}

.hero-content {
  padding: 5rem 0;
  max-width: 720px;
}

.hero-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  margin-bottom: 1.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(184, 134, 11, 0.35);
  border: 1px solid rgba(212, 168, 67, 0.5);
  border-radius: 999px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin: 0 0 1rem;
  text-transform: uppercase;
}

.hero-subtitle {
  font-size: 1.2rem;
  opacity: 0.92;
  margin: 0 0 2rem;
  max-width: 580px;
}

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

/* Sections */
section {
  padding: 4.5rem 0;
}

.section-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.section-header {
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  margin: 0 0 0.75rem;
  text-transform: uppercase;
}

.section-header p {
  color: var(--color-text-muted);
  margin: 0;
  max-width: 640px;
}

/* About */
.about {
  background: var(--color-surface);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: center;
}

.about-image {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-image figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
}

.about-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.5rem;
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--color-border);
}

.about-meta dt {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.2rem;
}

.about-meta dd {
  margin: 0;
  font-weight: 500;
}

/* Content */
.content-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: start;
}

.content-text p {
  margin: 0 0 1.25rem;
}

.content-text h3 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
  color: var(--color-primary-dark);
}

.content-sidebar figure {
  margin: 0 0 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.content-sidebar figcaption {
  padding: 0.65rem 0.85rem;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  background: var(--color-surface);
}

.highlight-box {
  background: var(--color-surface);
  border-left: 4px solid var(--color-accent);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow-sm);
}

/* Tables */
.tables-section {
  background: var(--color-surface);
}

.table-wrap {
  overflow-x: auto;
  margin-bottom: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

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

th, td {
  padding: 0.85rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

tbody tr:nth-child(even) {
  background: var(--color-bg);
}

tbody tr:hover {
  background: rgba(61, 90, 69, 0.06);
}

.table-caption {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Benefits */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.benefit-card {
  background: var(--color-surface);
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--color-primary);
  transition: transform 0.2s, box-shadow 0.2s;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.benefit-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.benefit-card h3 {
  font-size: 1.1rem;
  margin: 0 0 0.6rem;
  text-transform: uppercase;
}

.benefit-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.benefits-image {
  margin-top: 2.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.benefits-image figcaption {
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  background: var(--color-surface);
}

/* FAQ */
.faq-section {
  background: var(--color-bg-dark);
  color: #e8e4dc;
}

.faq-section .section-label {
  color: var(--color-accent-light);
}

.faq-section h2 {
  color: #fff;
}

.faq-list {
  max-width: 780px;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.faq-item summary {
  padding: 1.25rem 0;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--color-accent-light);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0 0 1.25rem;
  color: rgba(232, 228, 220, 0.85);
  font-size: 0.98rem;
}

/* Footer */
.site-footer {
  background: #121110;
  color: rgba(255, 255, 255, 0.75);
  padding: 3rem 0 1.5rem;
}

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

.footer-brand .logo-mark {
  color: #fff;
}

.footer-brand .logo-sub {
  color: rgba(255, 255, 255, 0.5);
}

.footer-brand p {
  margin: 1rem 0 0;
  font-size: 0.92rem;
  line-height: 1.6;
}

.footer-nav h4,
.footer-links h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent-light);
  margin: 0 0 1rem;
}

.footer-nav ul,
.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav li,
.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-nav a,
.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.92rem;
}

.footer-nav a:hover,
.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 900px) {
  .about-grid,
  .content-grid,
  .benefits-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 1.25rem;
    display: none;
    box-shadow: var(--shadow-md);
  }

  .main-nav.is-open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0.75rem;
  }

  .header-cta {
    display: none;
  }

  .header-inner {
    position: relative;
    flex-wrap: wrap;
  }

  .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);
  }

  .hero {
    min-height: 60vh;
  }

  .about-meta {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
