/* Smile Wildnis – Design system (Logo: cream, brown, gold) */
:root {
  --brown: #3D2914;
  --brown-soft: #5C4030;
  --gold: #C4A35A;
  --gold-soft: #D4B978;
  --sun: #F0B323;   /* Sonnengelb aus dem Logo: Linien, Rahmen, Zierrat */
  --honey: #9A6B00; /* dunkleres Honiggelb für kleine Schrift (Lesbarkeit) */
  --cream: #F5EDE0;
  --cream-card: #FBF6ED;
  --sand: #E8DFD0;
  --text: #3D2914;
  --text-muted: #6B5E4E;
  --text-secondary: #6B5E4E;
  --text-dark: #3D2914;
  --olive: #8B7355;
  --terracotta: #3D2914;
  --shadow: 0 8px 28px rgba(61, 41, 20, 0.08);
  --radius: 14px;
  --font-serif: "Marcellus", Georgia, serif;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  font-size: 18px;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

.header {
  background: rgba(245, 237, 224, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(61, 41, 20, 0.04);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 200px;
  gap: 1.5rem;
  padding-top: 8px;
  padding-bottom: 8px;
  box-sizing: border-box;
}
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding: 6px 0;
}
.logo img {
  height: 170px;
  width: auto;
  object-fit: contain;
}
.nav {
  display: flex;
  align-items: center;
  gap: 1.65rem;
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--text-muted);
}
.nav a:hover, .nav a.active { color: var(--brown); }
.nav a.active {
  box-shadow: inset 0 -2px 0 var(--sun);
  padding-bottom: 2px;
}
.lang-switch {
  display: flex;
  gap: 0.35rem;
  margin-left: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
}
.lang-switch a {
  padding: 0.25rem 0.45rem;
  border-radius: 4px;
  color: var(--text-muted);
}
.lang-switch a.active {
  color: var(--brown);
  box-shadow: inset 0 -2px 0 var(--sun);
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--brown);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-primary { background: var(--brown); color: #fff; }
.btn-primary:hover { background: var(--brown-soft); }
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--brown);
  color: var(--brown);
}
.btn-outline:hover { background: var(--brown); color: #fff; }

.hero {
  position: relative;
  min-height: clamp(520px, 32vw, 820px);   /* wächst auf sehr breiten Bildschirmen mit */
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #c4a574;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 72%;   /* Wasserloch-Elefanten rechts unten */
  filter: saturate(0.95) brightness(1.02) sepia(0.06);
}
/* soft cream wash – text lightly backed, image flows through */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  /* Transparenzverlauf: links deckend lesbar, rechts ins Bild ausgeblendet */
  background: linear-gradient(
    95deg,
    rgba(245, 237, 224, 0.94) 0%,
    rgba(245, 237, 224, 0.88) 30%,
    rgba(245, 237, 224, 0.62) 42%,
    rgba(245, 237, 224, 0.22) 55%,
    rgba(245, 237, 224, 0.05) 66%,
    transparent 76%
  );
  pointer-events: none;
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  padding: 3.25rem 0;
}
.hero-card {
  max-width: 580px;
  background: transparent;
  backdrop-filter: none;
  border-radius: 0;
  padding: 1.5rem 2.5rem 1.5rem 0;
  box-shadow: none;
  border: none;
  position: relative;
}
.hero-eyebrow {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--honey);
  margin-bottom: 0.75rem;
}
.hero-card h1,
.hero-card h1.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.2vw, 3.1rem);
  font-weight: 400;
  line-height: 1.18;
  color: var(--brown);
  margin-bottom: 1rem;
}
.hero-card h1.hero-title span {
  display: inline;
}
.hero-card p {
  font-size: 1.12rem;
  color: var(--text-muted);
  margin-bottom: 1.6rem;
  line-height: 1.6;
  max-width: 26em;
}

.dest-section { padding: 2.25rem 0 0.5rem; background: transparent; }
.dest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}
.dest-card {
  background: var(--cream-card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(61, 41, 20, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
  color: var(--brown);
  border: 1px solid rgba(61, 41, 20, 0.04);
}
.dest-card:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(61, 41, 20, 0.1); }
.dest-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  /* warm tone to match page */
  filter: saturate(0.88) brightness(1.04) sepia(0.12);
}
.dest-card .body { padding: 1.15rem 1.25rem 1.3rem; }
.dest-card h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 0.3rem;
}
.dest-card p { font-size: 0.92rem; color: var(--text-muted); }

.about-strip {
  text-align: center;
  padding: 2.75rem 1rem 1.25rem;
  max-width: 580px;
  margin: 0 auto;
}
.about-strip .ornament {
  color: var(--sun);
  margin-bottom: 0.75rem;
  letter-spacing: 0.3em;
}
.about-strip p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.65;
}

.safaris-home { padding: 2rem 0 3rem; background: transparent; }
.section-title { font-family: var(--font-serif); font-size: clamp(1.6rem, 3vw, 2rem); font-weight: 400; color: var(--brown); margin-bottom: 0.5rem; text-align: left; }
.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  font-size: 1rem;
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.card {
  background: var(--cream-card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(61, 41, 20, 0.06);
  border: 1px solid rgba(61, 41, 20, 0.04);
  display: flex;
  flex-direction: column;
}
.card-img { width: 100%; height: 170px; object-fit: cover; filter: saturate(0.88) brightness(1.04) sepia(0.12); }
.card-body {
  padding: 1.1rem 1.2rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-meta {
  font-size: 0.78rem;
  color: var(--honey);
  font-weight: 600;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.card-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
  font-weight: 400;
}
.card-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 0.85rem;
}
.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}
.price { font-weight: 600; color: var(--brown); font-size: 0.95rem; }
.price span { font-weight: 400; color: var(--text-muted); font-size: 0.85rem; }
.link-more { font-size: 0.9rem; font-weight: 600; color: var(--honey); }
.link-more:hover { color: var(--brown); }

.footer {
  background: var(--brown);
  color: rgba(255,255,255,0.75);
  padding: 2.5rem 0 1.5rem;
  font-size: 0.92rem;
}
.footer a { color: rgba(255,255,255,0.75); }
.footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 0.5rem;
}
.footer h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sun);
  margin-bottom: 0.75rem;
}
.footer ul li { margin-bottom: 0.35rem; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.85rem;
}

.section { padding: 2.5rem 0; }
/* Unified page titles */
.page-header {
  padding: 2.5rem 0 1rem;
  text-align: left;
}
.page-header h1,
.about-hero h1,
.contact-info h1,
.legal h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--brown);
  margin-bottom: 0.75rem;
  text-align: left;
}
.page-header > p,
.about-intro {
  text-align: left;
  max-width: 720px;
}
.page-header { padding: 2.5rem 0 1rem; }
.page-header h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 400;
  margin-bottom: 0.5rem;
}

@media (max-width: 900px) {
  .hero { padding-bottom: 300px; }   /* unten liegt ein Bildstreifen mit den Elefanten */
  .hero-bg { top: auto; bottom: 0; height: 300px; object-position: 62% 55%;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 30%);
            mask-image: linear-gradient(180deg, transparent 0, #000 30%); }
  .hero::after {
    background: linear-gradient(
      180deg,
      rgba(245, 237, 224, 0.96) 0%,
      rgba(245, 237, 224, 0.96) 62%,
      rgba(245, 237, 224, 0.0) 80%,
      transparent 100%
    );
  }
  .hero-card {
    background: transparent;
    padding: 1.25rem 0.5rem 1.5rem;
    max-width: 100%;
  }
  .hero-card h1.hero-title {
    font-size: clamp(1.85rem, 7vw, 2.4rem);
  }

  .header { overflow: visible; }
  .header-inner {
    height: 116px;
    position: relative;
    flex-wrap: nowrap;
    padding-top: 6px;
    padding-bottom: 6px;
  }
  .logo { padding: 6px 0; }
  .logo img { height: 92px; }

  .menu-toggle {
    display: block;
    z-index: 120;
    padding: 0.35rem 0.5rem;
    line-height: 1;
  }

  /* Hidden by default – dropdown panel when .open */
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(245, 237, 224, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(61, 41, 20, 0.08);
    box-shadow: 0 12px 28px rgba(61, 41, 20, 0.1);
    padding: 0.5rem 0 1rem;
    z-index: 110;
  }
  .nav.open {
    display: flex !important;
  }
  .nav a {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 0.85rem 1.5rem;
    border-bottom: 1px solid rgba(61, 41, 20, 0.06);
    font-size: 1.05rem;
    white-space: normal;
  }
  .nav a.active {
    box-shadow: none;
    background: rgba(240, 179, 35, 0.14);
  }
  .nav .lang-switch {
    margin: 0.75rem 1.5rem 0.25rem;
    gap: 0.75rem;
  }

  .dest-grid, .cards-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { min-height: 420px; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
}


/* Content panels stay readable */
.header {
  background: rgba(245, 237, 224, 0.94) !important;
}
.section, .page-header, .dest-section, .safaris-home, .about-strip {
  position: relative;
}


.price-alt {
  display: block;
  font-weight: 400;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}
.card-footer .price { line-height: 1.35; }

.about-strip--cta {
  padding: 1.75rem 0 0.5rem;
  text-align: center;
}
.about-strip--cta .btn { margin: 0 auto; }

/* Sprachvorschlag (nur im englischen Hauptverzeichnis) */
#sw-suggest{position:fixed;left:12px;right:12px;bottom:12px;z-index:60;display:flex;flex-wrap:wrap;align-items:center;gap:.6rem;padding:.7rem 1rem;background:#fff;border:1px solid rgba(0,0,0,.15);border-radius:12px;box-shadow:0 6px 24px rgba(0,0,0,.18);font-size:.95rem;max-width:560px;margin:0 auto}
#sw-suggest .btn{padding:.45rem .9rem;font-size:.9rem}
#sw-suggest button{margin-left:auto;background:none;border:0;font-size:1.5rem;line-height:1;cursor:pointer;padding:.2rem .5rem}
.long-desc p{margin:0 0 1rem}

/* Videos */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s; z-index: 0; }
.hero-video.on { opacity: 1; }
.video-section { padding: 2.5rem 0 3rem; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; margin-top: 1.25rem; }
.video-grid-detail { margin: 1.5rem 0; }
.video-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.video-play { position: relative; display: flex; align-items: flex-end; justify-content: flex-start; width: 100%; aspect-ratio: 16 / 9; border: 0; cursor: pointer;
  background: linear-gradient(135deg, #3a2a1a, #7a5a30) center / cover; color: #fff; font: inherit; padding: 0; text-align: left; }
.video-play::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0) 60%); }
.video-icon { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 1; width: 3.4rem; height: 3.4rem; border-radius: 50%; background: rgba(255,255,255,.92); color: #3a2a1a; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; padding-left: .2rem; }
.video-label { position: relative; z-index: 1; padding: .7rem .9rem; font-weight: 600; }
.video-frame { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.video-note { font-size: .78rem; color: var(--text-secondary, #666); margin: 0; padding: .5rem .9rem .7rem; line-height: 1.4; }
.video-play:focus-visible { outline: 3px solid var(--terracotta, #c2693c); outline-offset: -3px; }

/* Seitenhintergrund: eigenes Foto (Elefantenherde, weite Aufnahme), blass, fest hinter allen Seiten.
   Als eigene feste Ebene statt background-attachment: fixed, damit es auch auf dem iPhone funktioniert. */
body { background: var(--cream); }
body::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(rgba(245, 237, 224, 0.52), rgba(245, 237, 224, 0.52)),
    url('../img/fotos/bg-herde-2026-11.jpg') 55% 40% / cover no-repeat;
}
@media (max-width: 900px) {
  body::before {
    background:
      linear-gradient(rgba(245, 237, 224, 0.52), rgba(245, 237, 224, 0.52)),
      url('../img/fotos/bg-herde-2026-11-m.jpg') 62% 40% / cover no-repeat;
  }
}
/* Textflächen: helle, halbdurchsichtige Fläche, damit Text auf dem Foto lesbar bleibt */
.container.page-header, .container.about-hero, .container.legal, .container.contact-grid,
.section > .container, .safaris-home > .container, .video-section > .container {
  background: rgba(245, 237, 224, 0.76);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 1.25rem 1.75rem;
  margin-top: 1rem;
}
.container.page-header { margin-top: 1.5rem; }
/* Wo schon Kacheln mit eigenem Hintergrund liegen (Leistungen), keine zweite Fläche */
.section > .container:has(> .content-block) { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 0; }
@media (max-width: 600px) {
  .container.page-header, .container.about-hero, .container.legal, .container.contact-grid,
  .section > .container, .safaris-home > .container, .video-section > .container { padding: 1rem 1.1rem; }
}

/* Titelbild auf großen Bildschirmen auf 1650 px begrenzen (nicht strecken), links weich ausgeblendet */
@media (min-width: 1700px) {
  .hero { background: var(--cream); }
  .hero-bg {
    left: auto; right: 0; width: 1650px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%);
            mask-image: linear-gradient(90deg, transparent 0, #000 22%);
  }
}


/* Hero-Film: Play-Button auf dem Foto, Video blendet im selben Rahmen ein */
.hero-inner { position: relative; }
.hero-film {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: clamp(300px, calc(100% - 620px), 640px); aspect-ratio: 16 / 9;
  border-radius: 14px; overflow: hidden; z-index: 3;
}
.hero-film[hidden] { display: none; }
.hero-film-play { position: absolute; inset: 0; width: 100%; border: 0; background: transparent; cursor: pointer; z-index: 2; }
.hero-film-btn {
  position: absolute; left: 50%; top: 50%; width: 78px; height: 78px; margin: -39px 0 0 -39px; border-radius: 50%;
  background: rgba(255, 255, 255, .92); box-shadow: 0 4px 18px rgba(0, 0, 0, .35); transition: transform .25s;
}
.hero-film-btn::before {
  content: ''; position: absolute; left: 50%; top: 50%; margin: -14px 0 0 -8px;
  border-left: 22px solid var(--brown); border-top: 14px solid transparent; border-bottom: 14px solid transparent;
}
.hero-film-play:hover .hero-film-btn, .hero-film-play:focus-visible .hero-film-btn { transform: scale(1.1); }
.hero-film-play:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }
.hero-film-cap { position: absolute; left: 0; right: 0; bottom: 12px; text-align: center; color: #fff; font-size: .95rem; font-weight: 500; text-shadow: 0 1px 5px rgba(0, 0, 0, .75); }
.hero-film-video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; opacity: 0; pointer-events: none; transition: opacity .5s; }
.hero-film-close { display: none; position: absolute; top: 4px; right: 10px; z-index: 4; background: none; border: 0; color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; text-shadow: 0 1px 4px #000; }
.hero-film.on { box-shadow: 0 12px 36px rgba(40, 20, 5, .45); }
.hero-film.on .hero-film-video { opacity: 1; pointer-events: auto; }
.hero-film.on .hero-film-play { display: none; }
.hero-film.on .hero-film-close { display: block; }

@media (max-width: 900px) {
  /* Smartphone: Button liegt auf dem Elefanten-Streifen unten, Tippen öffnet das Video im Vollbild */
  .hero-film { top: auto; bottom: -300px; right: auto; left: -1.25rem; transform: none; width: calc(100% + 2.5rem); height: 300px; aspect-ratio: auto; border-radius: 0; }
  .hero-film.on { box-shadow: none; }
}
