:root {
  --forest: #2f4a3c;
  --forest-dark: #1f332a;
  --moss: #6b8f71;
  --sand: #f4efe4;
  --sand-dark: #e8dfc9;
  --accent: #c96f34;
  --text: #2b2b26;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 4px 16px rgba(0,0,0,0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--sand);
  line-height: 1.6;
}

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

a { color: var(--forest); text-decoration: none; }
a:hover { color: var(--accent); }

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

/* Header */
header.site-header {
  background: var(--forest);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 700;
  font-size: 1.15rem;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  background: var(--white);
  border-radius: 4px;
  padding: 2px;
}

nav.main-nav {
  display: flex;
  gap: 4px;
}

nav.main-nav > ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
}

nav.main-nav li { position: relative; }

nav.main-nav a {
  color: var(--sand);
  padding: 10px 14px;
  display: block;
  border-radius: 6px;
  font-size: 0.95rem;
  white-space: nowrap;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  background: var(--moss);
  color: var(--white);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--forest-dark);
  border-radius: 6px;
  min-width: 220px;
  padding: 6px;
  box-shadow: var(--shadow);
}

@media (min-width: 861px) {
  .has-dropdown:hover .dropdown-menu { display: block; }
}

.dropdown-menu a { color: var(--sand); padding: 8px 12px; border-radius: 4px; }
.dropdown-menu a:hover { background: var(--moss); color: var(--white); }

.dropdown-toggle { display: none; }

#nav-toggle { display: none; }
.nav-toggle-label {
  display: none;
  color: var(--sand);
  font-size: 2.3rem;
  line-height: 1;
  cursor: pointer;
  padding: 8px 14px;
}

@media (max-width: 860px) {
  nav.main-nav { display: none; width: 100%; }
  #nav-toggle:checked ~ nav.main-nav { display: block; }
  .header-inner { flex-wrap: wrap; }
  nav.main-nav > ul { flex-direction: column; width: 100%; }

  /* "Touren" ist auf dem Handy standardmaessig eingeklappt und laesst
     sich per Pfeil-Button auf-/zuklappen, statt immer alle 8 Touren
     anzuzeigen. */
  .has-dropdown {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }
  .has-dropdown > a { flex: 1 1 auto; }
  .dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: transparent;
    border: none;
    color: var(--sand);
    font-size: 1.3rem;
    cursor: pointer;
    transition: transform 0.2s ease;
  }
  .dropdown-toggle.open { transform: rotate(180deg); }
  .dropdown-menu {
    position: static;
    display: none;
    box-shadow: none;
    flex-basis: 100%;
    width: 100%;
  }
  .dropdown-menu.open { display: block; }
  .nav-toggle-label { display: block; }
}

/* Hero */
.hero {
  background: linear-gradient(rgba(31,51,42,0.55), rgba(31,51,42,0.55)), var(--sand-dark);
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: center;
  padding: 90px 24px;
}

.hero.small { padding: 50px 24px; }

.hero-photo {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid var(--white);
  box-shadow: var(--shadow);
  margin: 0 auto 24px;
}

.hero h1 {
  font-size: 2.2rem;
  margin: 0 0 16px;
}

.hero p { font-size: 1.1rem; max-width: 600px; margin: 0 auto 24px; }

/* Homepage fullscreen slideshow */
.slideshow-hero {
  position: relative;
  height: 85vh;
  min-height: 480px;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.slideshow-hero .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}
.slideshow-hero .slide.active { opacity: 1; }

.slideshow-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,0.08), rgba(0,0,0,0.15));
  pointer-events: none;
}

.slideshow-overlay {
  position: relative;
  z-index: 2;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.slideshow-overlay .btn { box-shadow: var(--shadow); }

.slideshow-overlay .logo-box {
  background: var(--white);
  padding: 8px;
  border-radius: 50%;
  box-shadow: var(--shadow);
}
.slideshow-overlay .logo-box img {
  width: 130px;
  height: 130px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.slideshow-dots {
  position: absolute;
  z-index: 2;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.slideshow-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid var(--white);
  background: rgba(255,255,255,0.4);
  padding: 0;
  cursor: pointer;
}
.slideshow-dots button.active { background: var(--white); }

.home-below-hero {
  background: var(--white);
  text-align: center;
  padding: 40px 24px;
}
.home-below-hero .tagline {
  font-size: 1.1rem;
  margin-bottom: 20px;
}
.home-below-hero .btn.outline {
  background: transparent;
  border: 2px solid var(--forest);
  color: var(--forest);
}
.home-below-hero .btn.outline:hover { background: var(--forest); color: var(--white); }
.home-below-hero .fineprint {
  margin-top: 18px;
  font-size: 0.8rem;
  color: #8a8a80;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 12px 26px;
  border-radius: 30px;
  font-weight: 600;
  margin: 6px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}
.btn:hover { background: #a85a26; color: var(--white); }
.btn.secondary { background: var(--moss); }
.btn.secondary:hover { background: #557159; }

/* Sections */
section { padding: 56px 0; }
section.alt { background: var(--white); }

h2.section-title {
  text-align: center;
  font-size: 1.8rem;
  color: var(--forest);
  margin-bottom: 36px;
}

/* Touren grid */
.tour-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.tour-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease;
}
.tour-card:hover { transform: translateY(-4px); }

.tour-card img.tour-thumb {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.tour-card .tour-body { padding: 16px 18px 20px; }
.tour-card .tour-year { color: var(--accent); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; }
.tour-card h3 { margin: 4px 0 12px; color: var(--forest); }
.tour-card .tour-link-badge { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.tour-card .tour-link-badge img { width: 30px; height: 30px; object-fit: contain; }
.tour-card .tour-link-badge a { font-size: 0.85rem; }

.video-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: var(--forest);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 3px 8px;
  border-radius: 999px;
  margin-left: 8px;
  text-transform: none;
  vertical-align: middle;
}

/* Tour detail pages */
.tour-detail-header {
  text-align: center;
  padding: 40px 24px 10px;
}
.tour-detail-header h1 { color: var(--forest); }
.tour-detail-header .tour-link-badge {
  display: inline-flex;
  justify-content: center;
  margin: 14px auto 0;
}

.tour-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 56px;
}
.tour-gallery img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Grosse Foto-Galerien mit vielen Bildern */
.tour-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 56px;
}
.tour-photo-grid a {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.tour-photo-grid img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform 0.2s ease;
  display: block;
}
.tour-photo-grid a:hover img { transform: scale(1.05); }

/* Tour-Videos (Relive) */
.tour-video-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 56px;
}
.tour-video-section h2 {
  color: var(--forest);
  text-align: center;
  margin-bottom: 24px;
}
.tour-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.tour-video {
  background: rgba(255,255,255,0.92);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 12px;
}
.tour-video-title {
  font-weight: 600;
  margin: 0 0 10px;
  text-align: center;
  color: var(--forest);
}
.tour-video video {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  display: block;
  background: #000;
}

@media (max-width: 600px) {
  .tour-video-section { padding-left: 12px; padding-right: 12px; }
  .tour-video-grid { grid-template-columns: 1fr; gap: 16px; }
  .tour-video { padding: 8px; }
}

/* Die Voegel */
.people-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 820px;
  margin: 0 auto;
}

.person-card {
  background: rgba(255,255,255,0.92);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 28px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  text-align: left;
}

.person-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.person-card img {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .person-card { flex-direction: column; align-items: center; text-align: center; }
  .person-card img { width: 160px; height: 160px; }
}

.person-card .person-info { flex: 1; }
.person-card h3 { margin: 0 0 4px; color: var(--forest); font-size: 1.85rem; font-style: italic; }
.person-card .person-meta { font-size: 1.15rem; color: var(--accent); font-style: italic; margin-bottom: 12px; }
.person-card .touren-label { font-size: 1.15rem; font-weight: 600; margin-bottom: 2px; }
.person-card ul { list-style: none; padding: 0; margin: 6px 0 12px; font-size: 1.15rem; font-style: italic; color: #6a6a63; }
.person-card ul li { padding: 2px 0; }

@media (max-width: 600px) {
  .person-card h3 { font-size: 2rem; }
  .person-card .person-meta,
  .person-card .touren-label,
  .person-card ul { font-size: 1.2rem; }
}
.person-photo a.email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  line-height: 1;
  text-decoration: none;
}

.people-section-title {
  text-align: center;
  font-size: 2.2rem;
  color: var(--text);
  background: rgba(255,255,255,0.92);
  border: 1px solid #ccc;
  border-radius: 6px;
  max-width: 760px;
  margin: 0 auto 36px;
  padding: 18px;
  font-weight: 400;
}

/* Contact / About */
.about-text { max-width: 720px; margin: 0 auto; }
.motto {
  text-align: center;
  font-style: italic;
  color: var(--forest);
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.contact-box {
  max-width: 480px;
  margin: 0 auto;
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}

/* Events */
.event-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  max-width: 720px;
  margin: 0 auto 20px;
  align-items: start;
}
.event-date {
  background: var(--forest);
  color: var(--white);
  border-radius: 8px;
  text-align: center;
  padding: 14px 8px;
  font-weight: 700;
}
.event-card h3 { margin: 0 0 6px; color: var(--forest); }
.event-card .event-loc { font-size: 0.85rem; color: #6a6a63; margin-bottom: 8px; }

@media (max-width: 560px) {
  .event-card { grid-template-columns: 1fr; }
}

/* Footer */
footer.site-footer {
  background: var(--forest-dark);
  color: var(--sand);
  text-align: center;
  padding: 30px 24px;
  font-size: 0.9rem;
}
footer.site-footer a { color: var(--sand); text-decoration: underline; }

/* Lightbox fuer Tourfotos (vor/zurueck blaettern) */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.lightbox-overlay.active { display: flex; }

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  border-radius: 4px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.12);
  border: none;
  color: var(--white);
  cursor: pointer;
  border-radius: 50%;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,0.28); }

.lightbox-prev:disabled,
.lightbox-next:disabled {
  opacity: 0.25;
  cursor: default;
  background: rgba(255,255,255,0.12);
}

.lightbox-close {
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  font-size: 1.6rem;
  line-height: 1;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 1.5rem;
}

.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }

.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 0.9rem;
  background: rgba(0,0,0,0.45);
  padding: 5px 14px;
  border-radius: 14px;
}

@media (max-width: 600px) {
  .lightbox-prev, .lightbox-next { width: 40px; height: 40px; font-size: 1.2rem; }
  .lightbox-close { width: 36px; height: 36px; font-size: 1.3rem; }
}
