/* RESET & NORMALIZE */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6,
p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del,
dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var,
b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas,
details, embed, figure, figcaption, footer, header, hgroup, main, menu, nav,
output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #161C23;
  color: #F6F8FA;
  line-height: 1.6;
  font-size: 16px;
  letter-spacing: 0.01em;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #F2D061;
  text-decoration: none;
  transition: color 0.2s;
  word-break: break-word;
}
a:hover, a:focus {
  color: #fffbe9;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
li {
  margin-bottom: 8px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #F2D061;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; line-height: 1.15; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.375rem; margin-bottom: 14px; }
h4 { font-size: 1.14rem; margin-bottom: 10px; }
p { margin-bottom: 16px; }
strong { color: #fffdc2; font-weight: 700; }
em { color: #F2D061; font-style: italic; }

/* CONTAINER & GENERAL LAYOUT */
.container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #181f29;
  border-radius: 24px;
  box-shadow: 0 4px 40px 0 rgba(36,91,59,0.13);
}

/* TECH FUTURISTIC GRADIENTS AND NEON */
.hero {
  background: linear-gradient(132deg,#155373 0%, #245B3B 100%);
  border-bottom: 4px solid #F2D061;
  box-shadow: 0 2px 40px 0 rgba(21,83,115,0.17);
  color: #fff;
  padding-top: 60px;
  padding-bottom: 60px;
}
.hero h1 {
  color: #F2D061;
  text-shadow: 0 0 12px #15537344;
}

/* HEADER & NAVIGATION */
header {
  width: 100%;
  background: #161C23;
  border-bottom: 2px solid #245B3B;
  position: sticky;
  top: 0;
  z-index: 40;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  min-height: 72px;
  position: relative;
}
header img[alt="Schimmernde Wunderwelt"] {
  height: 48px;
  margin-right: 20px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-right: auto;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 8px 18px;
  color: #F2D061;
  border-radius: 22px;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus, .main-nav a.active {
  color: #fff;
  background: #155373;
  box-shadow: 0 0 8px 0 #F2D06188;
}
.cta-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.12rem;
  background: #F2D061;
  color: #161C23;
  padding: 10px 28px;
  border-radius: 25px;
  border: none;
  box-shadow: 0 4px 18px 0 #F2D06144;
  cursor: pointer;
  font-weight: 700;
  margin-left: 18px;
  transition: background 0.22s, color 0.22s, box-shadow 0.22s, transform 0.15s;
  outline: none;
  text-align: center;
  display: inline-block;
  letter-spacing: 0.03em;
}
.cta-btn:hover, .cta-btn:focus {
  background: #ffe377;
  color: #155373;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 18px 0 #F2D06199, 0 0 16px 2px #245B3B77;
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #F2D061;
  cursor: pointer;
  margin-left: 22px;
  z-index: 150;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(21,83,115,0.97);
  box-shadow: 0 0 40px #155373AA;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 32px;
  z-index: 1200;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(.7,.01,.27,1.01);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #F2D061;
  font-size: 2.2rem;
  position: absolute;
  top: 12px;
  right: 24px;
  cursor: pointer;
  z-index: 1300;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  align-items: flex-start;
  margin-top: 52px;
  padding-left: 48px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #F2D061;
  font-size: 1.25rem;
  background: none;
  border-radius: 12px;
  padding: 7px 0 7px 4px;
  width: 100%;
  transition: background 0.16s, color 0.16s;
  margin-bottom: 2px;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #fff;
  background: #245B3B;
  padding-left: 18px;
}

@media (max-width: 992px) {
  .main-nav {
    gap: 9px;
    font-size: 0.97rem;
  }
}

@media (max-width: 850px) {
  .main-nav {
    display: none;
  }
  .cta-btn {
    margin-left: 6px;
    padding: 9px 19px;
    font-size: 1rem;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* --- SECTIONS AND PATTERNS --- */
.features, .about, .testimonials, .contact-details, .photo-stories, .author-summaries {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 24px;
  background: #181f29;
}
.features .content-wrapper,
.about .content-wrapper,
.testimonials .content-wrapper,
.contact-details .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.feature-grid,
.features ul,
.author-summaries ul,
.team-bios, .fact-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
  margin-bottom: 12px;
  list-style: none;
}
.feature-grid li, .features ul li, .fact-boxes > div, .team-bios .text-section, .photo-story-summary, .location-facts {
  background: #171f22;
  border-radius: 22px;
  box-shadow: 0 2px 16px #15537340;
  padding: 24px 20px 20px 20px;
  flex: 1 1 250px;
  min-width: 230px;
  max-width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.feature-grid img, .features ul img {
  width: 54px;
  height: 54px;
  margin-right: 16px;
  filter: drop-shadow(0 0 8px #F2D06177);
}

.category-filters, .tag-filters {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: #C4E6C3;
  font-size: 1.08rem;
  font-weight: 400;
}
.category-filters a,
.tag-filters strong {
  color: #F2D061;
  font-weight: 700;
  background: #245B3B;
  padding: 3px 11px;
  border-radius: 10px;
  margin-right: 7px;
  font-size: 1.05rem;
  transition: background 0.15s, color 0.15s;
}
.category-filters a:hover{
  background: #155373;
  color: #fff;
}

.text-section {
  background: none;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
}
.text-section ul {
  margin-bottom: 10px;
}
.text-section li {
  margin-bottom: 5px;
}

.author-highlight, .author-summaries {
  background: #181f29;
  border-radius: 18px;
  padding: 20px 24px;
  box-shadow: 0 2px 8px #245B3B44;
  margin-top: 20px;
}

/* FLEX UTILS FROM INSTRUCTIONS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #161C23;
  border-radius: 18px;
  box-shadow: 0 2px 8px #245B3B33;
  padding: 26px 20px;
  transition: box-shadow 0.22s, transform 0.16s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 28px #F2D06166, 0 0 0px 2px #F2D061;
  transform: translateY(-3px) scale(1.017);
  z-index: 2;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fffbe9;
  color: #181f29;
  padding: 20px 28px;
  border-radius: 18px;
  box-shadow: 0 4px 16px #F2D06144;
  margin-bottom: 24px;
  font-size: 1.12rem;
  border-left: 5px solid #F2D061;
}
.testimonial-card img {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 1px 4px #245B3B3b);
}
.testimonial-card blockquote {
  flex: 1 0 0;
  font-style: italic;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #155373;
  margin-bottom: 0;
}
.testimonial-card footer {
  margin-left: 22px;
  font-weight: 700;
  font-size: 1rem;
  color: #245B3B;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* FACT BOXES, INFO & STORIES */
.fact-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 10px;
}
.fact-boxes > div {
  background: #161C23;
  border-left: 4px solid #F2D061;
  border-radius: 18px;
  box-shadow: 0 2px 8px #15537355;
  color: #F6F8FA;
}
.photo-stories, .team-bios {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.photo-story-summary, .location-facts {
  flex-direction: column;
  min-width: 220px;
}
.location-facts {
  background: #245B3B;
  color: #FFFBE9;
  box-shadow: 0 2px 12px #F2D06133;
  border-left: 0;
  border-radius: 18px;
}

/* FOOTER */
footer {
  background: #181f29;
  color: #C4E6C3;
  padding: 42px 0 32px 0;
  border-top: 4px solid #245B3B;
  margin-top: 44px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
footer .footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-bottom: 10px;
}
footer .footer-links a {
  color: #F2D061;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 5px 14px;
  border-radius: 12px;
  transition: background 0.14s, color 0.14s;
}
footer .footer-links a:hover, footer .footer-links a:focus {
  background: #245B3B;
  color: #fff;
}
footer .contact-info {
  font-size: 1rem;
  color: #e3efec;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 8px;
}
footer .contact-info img {
  width: 20px;
  height: 20px;
  margin-right: 7px;
  vertical-align: middle;
  display: inline-block;
}
footer .footer-social {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 8px;
}
footer .footer-social img {
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 2px 6px #15537355);
  transition: filter .2s;
}
footer .footer-social a:hover img {
  filter: drop-shadow(0 2px 10px #F2D061);
}
footer .newsletter-signup {
  background: #155373;
  color: #fff;
  border-radius: 16px;
  padding: 20px 22px 16px 22px;
  box-shadow: 0 2px 10px #245B3B37;
  margin-top: 8px;
  max-width: 420px;
}
footer .newsletter-signup h3 {
  color: #F2D061;
  margin-bottom: 6px;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  background: #181f29;
  color: #FFFBE9;
  padding: 22px 18px 14px 18px;
  border-top: 3px solid #F2D061;
  z-index: 3000;
  box-shadow: 0 -6px 38px #245B3B55;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  opacity: 1;
  transition: opacity 0.28s, transform 0.24s;
  font-size: 1rem;
}
.cookie-banner.hide {
  pointer-events: none;
  opacity: 0;
  transform: translateY(100%);
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 3px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 8px 20px;
  border-radius: 13px;
  margin-top: 0;
  margin-bottom: 0;
  border: none;
  cursor: pointer;
  outline: none;
  background: #F2D061;
  color: #161C23;
  font-weight: 600;
  box-shadow: 0 3px 10px #F2D06144;
  transition: background 0.2s, color 0.2s, transform 0.13s;
}
.cookie-btn[aria-selected="true"] {
  background: #245B3B;
  color: #F2D061;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #ffe377;
  color: #155373;
  transform: translateY(-2px) scale(1.03);
}
.cookie-settings-btn {
  background: #155373;
  color: #F2D061;
  padding: 8px 20px;
  border-radius: 13px;
  transition: background 0.18s, color 0.18s;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #245B3B;
  color: #fffbe9;
}

/* COOKIE SETTINGS MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  z-index: 3500;
  background: rgba(22,28,35,0.89);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.18s;
}
.cookie-modal-overlay.hide {
  display: none;
  opacity: 0;
}
.cookie-modal {
  background: #181f29;
  color: #FFFBE9;
  border-radius: 22px;
  max-width: 420px;
  min-width: 280px;
  padding:32px 28px 24px 28px;
  box-shadow: 0 6px 32px #245B3B99;
  position: relative;
  animation: modalFadein .37s cubic-bezier(.32,1.88,.14,0.95);
}
@keyframes modalFadein { from{opacity:0;transform:scale(0.86);} to{opacity:1;transform:scale(1);} }
.cookie-modal h3 {
  color: #F2D061;
  margin-bottom: 14px;
}
.cookie-modal-close {
  position: absolute;
  top: 9px;
  right: 14px;
  background: none;
  border: none;
  color: #F2D061;
  font-size: 1.6rem;
  cursor: pointer;
}
.cookie-cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #245B3B;
  margin-bottom: 10px;
  padding: 11px 18px;
  border-radius: 14px;
  color: #fffbe9;
}
.cookie-cat.essential {
  background: #155373;
  color: #F2D061;
  font-weight: 700;
}
.cookie-toggle {
  appearance: none;
  width: 38px; height: 20px;
  background: #182b22;
  border-radius: 15px;
  position: relative;
  outline: none;
  vertical-align: middle;
  transition: background 0.18s;
  border: 2px solid #F2D061;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: #F2D061;
}
.cookie-toggle::before {
  content: '';
  position: absolute;
  left: 2px; top: 2px;
  width: 16px; height:16px;
  border-radius: 50%;
  background: #FFFBE9;
  transition: left 0.18s, background 0.18s;
}
.cookie-toggle:checked::before {
  background: #245B3B;
  left: 18px;
}
/* END COOKIE CONSENT */

/* ANIMATIONS */
.cta-btn, .feature-grid li, .features ul li, .card, .testimonial-card, .mobile-nav a, .cookie-btn {
  transition: all .2s cubic-bezier(.39, .58, .57, 1);
}

/* RESPONSIVE DESIGN (mobile-first) */
@media (max-width: 992px) {
  .features, .about, .testimonials, .contact-details, .photo-stories, .author-summaries, .section {
    padding: 26px 7px;
    border-radius: 13px;
  }
  .hero {
    padding-top: 32px; padding-bottom: 36px;
    border-radius: 0 0 24px 24px;
  }
}
@media (max-width: 800px) {
  .container {
    max-width: 95vw;
    padding: 0 7px;
  }
  .feature-grid, .features ul, .author-summaries ul, .team-bios, .photo-stories, .fact-boxes {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 13px;
  }
}
@media (max-width: 600px) {
  .hero h1 {
    font-size: 1.45rem;
  }
  h2 { font-size:1.18rem; }
  h3 { font-size:1.06rem; }
  .footer .newsletter-signup { max-width:100%; }
  .testimonial-card {
    gap: 10px;
    border-left: 0;
    border-top: 4px solid #F2D061;
  }
}
@media (max-width: 768px) {
  .content-grid, .text-image-section, .features ul, .photo-stories {
    flex-direction: column;
    gap: 16px;
  }
  .main-nav, .footer-links {
    gap: 8px;
  }
}

/* MISC & ACCESSIBILITY */
:focus {
  outline: 2px solid #F2D061;
  outline-offset: 2px;
}
::selection {
  background: #F2D061;
  color: #245B3B;
}

/* SPACING & WHITESPACE */
.section, .features, .about, .testimonials, .contact-details, .photo-stories, .author-summaries {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container, .content-grid, .feature-grid, .features ul, .photo-stories, .fact-boxes, .testimonial-card, .team-bios, .author-summaries, .text-image-section, .footer-links, .footer-social {
  gap: 20px;
  margin-bottom: 0;
}
.card {
  margin-bottom: 20px;
}

/* Prevent overlap & spacing between cards/sections */
.card, .card-container > *, .testimonial-card, .feature-grid li, .features ul li,
.author-highlight, .author-summaries .text-section, .fact-boxes > div, .photo-story-summary, .location-facts {
  margin-bottom: 20px;
}

@media (max-width: 400px) {
  .footer-links, .footer-social, .contact-info {
    flex-direction: column;
    gap: 7px;
  }
  .cookie-banner {
    padding: 14px 3px 10px 3px;
    font-size: 0.97rem;
  }
}
