:root {
  --bg: #f5f2eb;
  --surface: #ffffff;
  --text: #232323;
  --muted: #6f6b64;
  --accent: #9a5c35;
  --accent-dark: #734125;
  --line: rgba(35, 35, 35, 0.12);
  --shadow: 0 18px 45px rgba(31, 26, 21, 0.10);
  --radius: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 242, 235, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.35rem;
  font-weight: 700;
  text-decoration: none;
}
.main-nav { display: flex; flex-wrap: wrap; gap: 20px; }
.main-nav a { text-decoration: none; color: var(--muted); font-size: 0.96rem; }
.main-nav a:hover, .main-nav a.active { color: var(--accent); }

.hero {
  min-height: calc(100vh - 72px);
  position: relative;
  display: grid;
  place-items: center;
  background: url('../bilder/titel.png') center 42% / cover no-repeat;
  color: #fff;
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.23), rgba(0,0,0,.48));
}
.hero-content { position: relative; z-index: 1; width: min(900px, calc(100% - 40px)); }
.eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: .78rem; font-weight: 700; }
.hero h1, .page-hero h1, h2, h3 { font-family: Georgia, 'Times New Roman', serif; }
.hero h1 { margin: 14px 0 8px; font-size: clamp(3rem, 8vw, 6.8rem); line-height: .95; }
.hero p { max-width: 650px; margin: 20px auto 0; font-size: clamp(1rem, 2vw, 1.25rem); }

.button {
  display: inline-block;
  margin-top: 28px;
  padding: 13px 24px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  transition: .2s ease;
}
.button:hover { background: var(--accent-dark); transform: translateY(-2px); }
.button.secondary { background: transparent; border: 1px solid currentColor; margin-left: 8px; }

.section { padding: 88px 0; }
.section.alt { background: #ede8de; }
.section-heading { max-width: 720px; margin-bottom: 36px; }
.section-heading h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.08; margin: 0 0 14px; }
.section-heading p { color: var(--muted); margin: 0; }

.intro-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 54px; align-items: start; }
.quote-box { background: var(--surface); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.quote-box p { font-family: Georgia, 'Times New Roman', serif; font-size: 1.45rem; margin: 0; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform .2s ease;
}
.card:hover { transform: translateY(-5px); }
.card .number { color: var(--accent); font-weight: 700; font-size: .85rem; letter-spacing: .12em; }
.card h3 { margin: 10px 0 8px; font-size: 1.55rem; }
.card p { color: var(--muted); margin: 0; }

.route-list { display: grid; gap: 14px; }
.route-item { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.route-item strong { color: var(--accent); }

.page-hero { padding: 92px 0 54px; background: #e8e0d3; }
.page-hero h1 { font-size: clamp(2.7rem, 7vw, 5.4rem); line-height: 1; margin: 10px 0 18px; }
.page-hero p { max-width: 760px; color: var(--muted); font-size: 1.1rem; }

.gallery-toolbar { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 24px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-item {
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .25s ease; }
.gallery-item:hover img { transform: scale(1.035); }
.gallery-empty {
  grid-column: 1 / -1;
  padding: 50px 24px;
  text-align: center;
  border: 1px dashed rgba(35,35,35,.28);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(255,255,255,.5);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 30px;
  background: rgba(0,0,0,.9);
}
.lightbox.open { display: grid; }
.lightbox img { max-width: 92vw; max-height: 84vh; object-fit: contain; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  border: 0;
  background: rgba(255,255,255,.14);
  color: #fff;
  cursor: pointer;
  border-radius: 999px;
  width: 48px;
  height: 48px;
  font-size: 1.6rem;
}
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; }
.lightbox-next { right: 20px; top: 50%; }

.notice { padding: 18px 20px; background: #fff7df; border-left: 4px solid #c68a22; border-radius: 8px; }
.code { font-family: Consolas, monospace; background: rgba(35,35,35,.07); padding: 2px 6px; border-radius: 5px; }

.site-footer { background: #25221e; color: #eee; padding: 48px 0; }
.footer-grid { display: flex; justify-content: space-between; gap: 30px; align-items: end; }
.site-footer p { color: #bbb; margin: 6px 0 0; }
.site-footer a { color: #ddd; }

@media (max-width: 900px) {
  .cards, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .intro-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .nav-wrap { align-items: flex-start; flex-direction: column; padding: 16px 0; }
  .main-nav { gap: 10px 16px; }
  .hero { min-height: 78vh; }
  .cards, .gallery-grid { grid-template-columns: 1fr; }
  .route-item { grid-template-columns: 1fr; gap: 4px; }
  .footer-grid { display: block; }
  .button.secondary { margin-left: 0; }
}
