/* =====================================================================
   Lively Globetrott — Creative Artistic CSS Theme
   Modern, vibrant, artistic. Mobile-first. Flexbox only. No grid/columns.
   ===================================================================== */

/* --- RESET & NORMALIZE --- */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #FAFAF7;
  color: #274060;
  line-height: 1.66;
  min-height: 100vh;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}
a {
  color: #F2B705;
  text-decoration: none;
  transition: color .2s, background .2s;
}
a:hover, a:focus {
  color: #274060;
  background: #F2B70533;
  outline: none;
  border-radius: 4px;
}
ul, ol {
  margin-left: 1.25em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 0.5em;
}
button, .cta-primary {
  font: inherit;
  cursor: pointer;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  color: #274060;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.8rem;
  margin-bottom: 12px;
  line-height: 1.13;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.text-section h1,
.text-section h2,
.text-section h3 {
  color: #F2B705;
  text-shadow: 1px 1px 0 #fff5d6, 2px 2px 0 #f8eadf;
}
.text-section {
  font-size: 1.13em;
}
p {
  margin-bottom: 1.1em;
  font-size: 1.04em;
  color: #2d3b48;
}
label {
  font-weight: 600;
  color: #274060;
  margin-bottom: 5px;
}
strong {
  color: #274060;
  font-weight: bold;
}

/* --- LAYOUT STRUCTURE & SPACING --- */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 14px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 32px 26px;
  box-shadow: 0 4px 18px rgba(39,64,96,0.07),0 2px 7px rgba(242,183,5,0.07);
  transition: box-shadow .2s, transform .15s;
}
.card:hover {
  box-shadow: 0 8px 24px rgba(242,183,5,0.18),0 3px 15px rgba(39,64,96,0.10);
  transform: translateY(-3px) scale(1.015);
  z-index: 2;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: stretch;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border: 2px solid #F2B705;
  box-shadow: 0 1px 8px rgba(39,64,96,0.13);
  border-radius: 18px;
  margin-bottom: 20px;
  position: relative;
  min-width: 220px;
  transition: box-shadow .2s, border-color .2s;
}
.testimonial-card p {
  color: #252522;
  font-style: italic;
  font-size: 1.07em;
}
.testimonial-card strong {
  color: #274060;
}
.testimonial-card:hover {
  border-color: #274060;
  box-shadow: 0 2px 16px rgba(39,64,96,0.14);
}
.slider, .testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff7e3;
  border-radius: 15px;
  padding: 30px 20px;
  min-width: 240px;
  flex: 1 1 210px;
  box-shadow: 0 2px 8px rgba(242,183,5,.15);
  border: 1.5px dashed #F2B705;
  margin-bottom: 20px;
  transition: box-shadow .18s, border-color .18s, transform .18s;
}
.feature-item img {
  height: 44px;
  width: 44px;
  margin-bottom: 10px;
}
.feature-item h3 {
  color: #274060;
}
.feature-item:hover {
  box-shadow: 0 8px 24px rgba(39,64,96,0.13);
  border-color: #274060;
  background: #fffbe8;
  transform: translateY(-4px) scale(1.03);
}

/* --- MODULAR COMPONENTS --- */
/* Article Grid (Artikel, Motivation, Balance) */
.article-grid, .article-teaser-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.article-teaser {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 10px rgba(242,183,5,0.10);
  padding: 24px 18px;
  min-width: 210px;
  flex: 1 1 210px;
  margin-bottom: 20px;
  transition: box-shadow .18s, transform .17s, background .18s;
}
.article-teaser h2, .article-teaser h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
  color: #F2B705;
}
.article-teaser h2 a, .article-teaser h3 a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #274060;
  text-decoration: underline dotted #F2B705;
  transition: color .2s, text-decoration-color .2s;
}
.article-teaser h2 a:hover, .article-teaser h3 a:hover {
  color: #F2B705;
  text-decoration-color: #274060;
}
.article-teaser p {
  font-size: 0.99em;
  color: #313644;
}
.article-teaser:hover {
  box-shadow: 0 5px 16px 0 rgba(242,183,5,0.16);
  background: #fffbe8;
  transform: scale(1.019);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
  font-size: 1.02em;
}
.filter-row a {
  background: #fff7e3;
  padding: 5px 14px;
  border-radius: 16px;
  color: #274060;
  font-weight: 600;
  transition: background .16s, color .16s;
}
.filter-row a:hover, .filter-row a.active {
  background: #F2B705;
  color: #fff;
}
.filter-row span {
  color: #b2ac93;
  font-weight: 600;
}

.cta-primary, button[type="submit"] {
  background: #F2B705;
  color: #274060;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 24px;
  padding: 12px 34px;
  font-size: 1.1em;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 8px rgba(242,183,5,0.10);
  margin-top: 8px;
  margin-bottom: 8px;
  transition: background .18s, color .15s, transform .1s;
  cursor: pointer;
  position: relative;
  z-index: 2;
}
.cta-primary:hover, button[type="submit"]:hover, .cta-primary:focus, button[type="submit"]:focus {
  background: #274060;
  color: #fff;
  transform: scale(1.04) translateY(-1.5px);
  outline: none;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-direction: row;
  align-items: center;
  margin-top: 18px;
}

.trust-signals ul {
  display: flex;
  gap: 30px;
  list-style: none;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 18px;
}
.trust-signals li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.06em;
  color: #274060;
  background: #fff7e3;
  border-radius: 13px;
  padding: 6px 16px;
  box-shadow: 0 1px 4px #f2b70522;
}

.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.team-member {
  background: #fff;
  padding: 28px 24px;
  border-radius: 13px;
  min-width: 220px;
  flex: 1 1 200px;
  box-shadow: 0 2px 8px #f2b70518;
  margin-bottom: 20px;
}

.milestone-timeline {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-left: 2.5px dashed #F2B705;
  padding-left: 24px;
  margin-top: 18px;
}
.milestone-timeline li {
  position: relative;
  padding-left: 10px;
}
.milestone-timeline li::before {
  content: '';
  background: #F2B705;
  border-radius: 50%;
  position: absolute;
  left: -25px; top: 0.6em;
  width: 11px; height: 11px;
  box-shadow: 0 0 0 4px #fff7e3;
}

.footer-contact, .footer-brand {
  margin: 12px 0;
  font-size: 1em;
}
.footer-contact {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-contact span, .footer-contact address {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #274060;
  font-size: 0.98em;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}
.footer-brand img {
  width: 66px;
  height: auto;
  border-radius: 10px;
}
.footer-brand div {
  color: #93874d;
  font-size: 0.98em;
  font-style: italic;
  max-width: 360px;
}

/* --- HEADER & NAVIGATION --- */
header {
  background: #fff;
  box-shadow: 0 2px 12px #f2b70518, 0 1.5px 3px #2b385609;
  position: relative;
  z-index: 900;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px 0 12px 0;
  position: relative;
}
.main-nav ul {
  display: flex;
  flex-direction: row;
  gap: 22px;
  list-style: none;
  align-items: center;
}
.main-nav ul li a {
  color: #274060;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 4px 13px;
  border-radius: 14px;
  transition: background .17s, color .16s, box-shadow .17s;
}
.main-nav ul li a:hover, .main-nav ul li a:focus {
  background: #F2B705;
  color: #fff; box-shadow: 0 1px 3px #f2b70533;
}
.main-nav .cta-primary {
  margin-left: 14px;
}

/* Hide navigation on mobile, show burger */
.mobile-menu-toggle {
  display: none;
  background: #F2B705;
  border: none;
  border-radius: 50%;
  width: 43px;
  height: 43px;
  font-size: 2rem;
  color: #274060;
  position: absolute;
  right: 12px; top: 16px;
  z-index: 1102;
  box-shadow: 0 2px 8px rgba(39,64,96,0.12);
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background .14s, color .16s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #274060;
  color: #fff;
}

.mobile-menu {
  display: none;
  position: fixed;
  z-index: 1111;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(242,183,5,.98);
  transform: translateX(-100%);
  transition: transform 0.34s cubic-bezier(.67,.09,.68,1.56);
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 34px 22px 22px 22px;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  display: block;
  position: absolute;
  top: 22px;
  right: 22px;
  background: #274060;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 1.8rem;
  z-index: 1112;
  transition: background .13s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #fff;
  color: #274060;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  margin-top: 44px;
}
.mobile-nav a {
  display: block;
  color: #274060;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.23rem;
  padding: 10px 6px;
  border-radius: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background .15s, color .15s;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: #274060;
  color: #fff;
}

/* Show/hide navigation for breakpoints */
@media (max-width: 1000px) {
  .main-nav ul, .main-nav .cta-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1001px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* --- FORMS --- */
input[type="email"], input[type="text"], textarea {
  font: inherit;
  padding: 8px 16px;
  border-radius: 7px;
  border: 1.5px solid #F2B705;
  background: #fff7e3;
  width: 100%;
  margin-top: 3px;
  margin-bottom: 13px;
  font-size: 1em;
  transition: border .16s, box-shadow .17s;
}
input[type="email"]:focus, input[type="text"]:focus, textarea:focus {
  border-color: #274060;
  box-shadow: 0 1px 7px #27406011;
  outline: none;
}
form button[type="submit"] {
  width: auto;
}

/* --- NEWSLETTER --- */
form label {
  display: block;
  margin-bottom: 6px;
  font-size: 1.02em;
}

/* --- FOOTER --- */
footer {
  background: #FFF7E3;
  color: #274060;
  border-top: 2.5px dashed #F2B705;
  font-size: 1.01em;
  letter-spacing: 0.01em;
}
footer section {
  padding: 32px 0 28px 0;
}
footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  list-style: none;
  margin-bottom: 14px;
}
footer ul li {
  margin-bottom: 0;
}
footer ul li a, footer ul li span {
  color: #274060;
  padding: 4px 0;
}
footer ul li a {
  border-bottom: 1.5px solid #F2B705;
  transition: border color .14s;
}
footer ul li a:hover {
  color: #F2B705;
  border-color: #274060;
}

/* --- COOKIE BANNER (fixed, bottom) --- */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #274060;
  color: #fff;
  z-index: 12000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 20px 12px 18px 12px;
  box-shadow: 0 -3px 24px #F2B70567;
  animation: cookies-slide-in .45s cubic-bezier(.85,-0.16,.61,1.39);
}
@keyframes cookies-slide-in {
  from { transform: translateY(120%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner p {
  font-size: 1em;
  color: #fff;
  margin-bottom: 7px;
}
.cookie-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 2px;
}
.cookie-consent-banner button,
.cookie-consent-banner .cookie-settings-btn {
  border: none;
  border-radius: 20px;
  padding: 9px 22px;
  font-size: 1em;
  margin-top: 4px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: .01em;
  cursor: pointer;
  background: #fff7e3;
  color: #274060;
  transition: background .16s, color .15s;
  margin-right: 4px;
}
.cookie-consent-banner .accept-all {
  background: #F2B705;
  color: #274060;
}
.cookie-consent-banner .accept-all:hover, .cookie-consent-banner .accept-all:focus {
  background: #fff;
  color: #F2B705;
}
.cookie-consent-banner .reject-all {
  background: #fff;
  color: #274060;
}
.cookie-consent-banner .reject-all:hover, .cookie-consent-banner .reject-all:focus {
  background: #274060;
  color: #fff;
}
.cookie-consent-banner .cookie-settings-btn:hover {
  background: #274060;
  color: #fff7e3;
}
/* Cookie Settings Modal */
.cookie-settings-modal {
  display: none;
  position: fixed;
  z-index: 12001;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(39,64,96,0.60);
  align-items: center;
  justify-content: center;
  animation: cookies-modal-fade .3s;
}
@keyframes cookies-modal-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-settings-modal.active {
  display: flex;
}
.cookie-settings-content {
  background: #fff;
  color: #212325;
  padding: 32px 22px 20px 22px;
  border-radius: 22px;
  min-width: 320px;
  max-width: 95vw;
  box-shadow: 0 4px 30px #F2B70550, 0 2px 10px #27406016;
  position: relative;
}
.cookie-settings-content h2 {
  color: #274060;
  font-size: 1.23rem;
  margin-bottom: 18px;
}
.cookie-settings-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 26px;
}
.cookie-settings-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-settings-item label {
  font-size: 1em;
  font-weight: 700;
  color: #274060;
}
.cookie-settings-toggle {
  width: 40px;
  height: 24px;
  border-radius: 13px;
  background: #F2B705;
  position: relative;
  cursor: pointer;
}
.cookie-settings-toggle input[type="checkbox"] {
  display: none;
}
.cookie-settings-toggle span {
  display: block;
  position: absolute;
  left: 2px;
  top: 2px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: left .22s;
}
.cookie-settings-toggle input[type="checkbox"]:checked + span {
  left: 18px;
  background: #274060;
}
.cookie-settings-modal .close-modal {
  position: absolute;
  top: 12px;
  right: 18px;
  background: transparent;
  color: #274060;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  padding: 2px;
}
.cookie-settings-modal .close-modal:hover {
  color: #F2B705;
}
.cookie-settings-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}

/* --- RESPONSIVE & FLEX LAYOUTS --- */
@media (max-width: 1200px) {
  .container {
    max-width: 97vw;
  }
}
@media (max-width: 990px) {
  .content-wrapper, .card-container, .feature-grid, .team-list, .slider {
    flex-direction: column !important;
    gap: 22px !important;
    align-items: stretch !important;
  }
  .article-grid, .article-teaser-grid {
    flex-direction: column !important;
    gap: 18px !important;
    align-items: stretch !important;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 7px;
  }
  .content-wrapper, .text-image-section, .footer-contact, .footer-brand, .testimonial-slider {
    flex-direction: column !important;
    gap: 18px !important;
    align-items: stretch !important;
  }
  .section {
    padding: 32px 8px;
    margin-bottom: 38px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.33rem;
  }
  .feature-item, .team-member, .card, .article-teaser, .testimonial-card {
    min-width: 0;
    width: 100%;
    padding: 18px 10px;
    font-size: 1em;
  }
  .footer-brand img {
    width: 38px;
  }
}
@media (max-width: 480px) {
  .cookie-settings-content {
    padding: 16px 5vw 14px 5vw;
    min-width: 0;
    max-width: 100vw;
  }
  .main-nav {
    padding: 10px 0 8px 0;
  }
  .section {
    padding: 17px 0 17px 0;
  }
  .cookie-consent-banner {
    padding: 16px 3vw 12px 3vw;
    font-size: 0.95em;
    min-width: 0;
  }
}

/* --- SCROLLBAR (subtle) --- */
::-webkit-scrollbar { width: 9px; background: #fff7e3; }
::-webkit-scrollbar-thumb { background: #F2B705; border-radius: 5px; }

/* --- ACCESSIBILITY, FOCUS STYLES --- */
a:focus-visible, button:focus-visible, .cta-primary:focus-visible {
  outline: 2.5px solid #274060;
  background: #F2B70555;
}

/* --- ARTISTIC, UNIQUE DECORATION STYLES --- */
.section {
  position: relative;
  overflow: visible;
}
.section::before {
  content: '';
  position: absolute;
  z-index: 0;
  top: -35px; left: -22px;
  width: 95px; height: 45px;
  border-radius: 30px 70px 27px 112px / 60px 18px 80px 37px;
  background: #F2B70513;
  filter: blur(2.8px);
  pointer-events: none;
}
.section:nth-child(even)::before {
  left: unset; right: -22px; top: auto; bottom: -28px;
  width: 85px; height: 37px;
  border-radius: 43px 80px 40px 90px / 23px 60px 13px 33px;
  background: #27406009;
}

/* --- UTILITIES, HIDE/SHOW FOR JS --- */
.js-hidden, [hidden] {
  display: none !important;
}

/*
  END OF CSS
  =====================================================================
*/