/* =========================
   Modern Bold Flexbox CSS
   AlpenRoute Guide – style.css
   ========================= */
/* Reset & Normalize */
html { box-sizing: border-box; font-size: 16px; scroll-behavior: smooth; }
*, *:before, *:after { box-sizing: inherit; margin: 0; padding: 0; }
body { color: #174760; background: #F5F7EB; font-family: 'Open Sans', Arial, sans-serif; font-weight: 400; line-height: 1.6; min-height: 100vh; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, svg { vertical-align: middle; max-width: 100%; height: auto; border-style: none; }
a { color: #174760; text-decoration: none; font-weight: 600; transition: color 0.2s; }
a:hover, a:focus { color: #94B47A; outline: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; outline: none; background: none; }
input, textarea { font-family: inherit; background: #fff; color: #174760; border: 2px solid #94B47A; border-radius: 8px; padding: 10px 14px; font-size: 1rem; }
input:focus, textarea:focus { border-color: #174760; box-shadow: 0 0 0 2px #94B47A44; outline: none; }

/* Font Families */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,800,900|Open+Sans:400,600,700&display=swap');

h1, h2, h3, h4, h5, h6 { font-family: 'Montserrat', Arial, sans-serif; font-weight: 800; color: #174760; letter-spacing: -0.01em; }
h1 { font-size: 2.5rem; margin-bottom: 18px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.4rem; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1.1rem; }
p, li, span, blockquote { font-family: 'Open Sans', Arial, sans-serif; font-size: 1rem; font-weight: 400; color: #174760; }
strong, b { font-weight: 700; }

/* Utility classes */
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 18px; }
.content-wrapper { display: flex; flex-direction: column; gap: 28px; }
.section { margin-bottom: 60px; padding: 40px 20px; background: #fff; border-radius: 22px; box-shadow: 0 4px 30px 0 #1747600D; }

/* =========
   HEADER
   ========= */
header { background: #174760; color: #fff; padding: 0; box-shadow: 0 4px 18px 0 #17476015; position: relative; z-index: 20; }
header .container { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 88px; }
header img[alt='AlpenRoute Guide'] { max-height: 48px; margin-right: 26px; }
header nav { display: flex; align-items: center; gap: 24px; }
header nav a { color: #fff; font-family: 'Montserrat', Arial, sans-serif; font-weight: 700; font-size: 1rem; border-radius: 8px; padding: 7px 14px; transition: background 0.18s, color 0.18s; }
header nav a:hover, header nav a:focus { background: #94B47A; color: #174760; }
.cta-btn { display: inline-flex; align-items: center; justify-content: center; font-family: 'Montserrat', Arial, sans-serif; font-size: 1.125rem; font-weight: 800; background: #94B47A; color: #174760; border-radius: 16px; padding: 14px 32px; margin-left: 28px; box-shadow: 0 3px 20px #17476018; border: none; letter-spacing: 0.015em; transition: background 0.17s, color 0.18s, box-shadow 0.2s; outline: none; }
.cta-btn:hover, .cta-btn:focus { background: #174760; color: #94B47A; box-shadow: 0 6px 24px #94B47A40; }

/* MOBILE NAV */
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  background: none;
  color: #fff;
  z-index: 25;
  border-radius: 8px;
  padding: 5px 10px;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: #174760;
  color: #fff;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.6,.04,.98,.34);
  z-index: 80;
  box-shadow: -8px 0 32px #0002;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px 26px 26px 26px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 24px;
  align-self: flex-end;
  background: none;
  border: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  font-size: 1.22rem;
  font-weight: 700;
  padding: 12px 0;
  border-radius: 7px;
  transition: background 0.14s, color 0.14s;
}
.mobile-nav a:hover,
.mobile-nav a:focus { background: #94B47A; color: #174760; }
@media (max-width: 1024px) {
  header nav, header .cta-btn { display: none; }
  .mobile-menu-toggle { display: block; }
}
@media (min-width: 1025px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* ============
   SECTIONS
   ============ */
section { margin-bottom: 60px; }
.section:last-child { margin-bottom: 0; }

/* =============
   FEATURE GRID
   ============= */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid li {
  flex: 1 1 230px;
  background: #F5F7EB;
  border-radius: 18px;
  padding: 28px 18px 22px 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 14px #17476014;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  border: 2.5px solid #94B47A22;
  min-width: 210px;
  max-width: 345px;
  transition: box-shadow 0.17s, border 0.18s, transform 0.18s;
}
.feature-grid li:hover, .feature-grid li:focus-within {
  border: 2.5px solid #94B47A;
  box-shadow: 0 5px 18px #94B47A26;
  transform: translateY(-8px) scale(1.02);
}
.feature-grid img { width: 38px; height: 38px; }
.route-highlights {
  display: inline-block;
  margin-top: 10px;
  background: #94B47A;
  color: #174760;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 10px;
  padding: 6px 16px;
  font-size: .98rem;
}

/* ============
   REGION GRID
   ============ */
.region-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
  justify-content: space-evenly;
}
.region-grid > div {
  background: #fff;
  border: 2.5px solid #94B47A33;
  border-radius: 20px;
  box-shadow: 0 2px 18px #17476013;
  padding: 26px 18px 18px 18px;
  min-width: 180px;
  max-width: 340px;
  flex: 1 1 220px;
  transition: box-shadow 0.18s, border 0.19s, transform 0.18s;
  margin-bottom: 20px;
}
.region-grid > div:hover, .region-grid > div:focus-within {
  border: 2.5px solid #94B47A;
  box-shadow: 0 5px 18px #94B47A26;
  transform: translateY(-5px) scale(1.01);
}

/* =============
   BLOG POST GRID
   ============= */
.blog-post-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.blog-post-grid > div {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 14px #17476014;
  border: 2px solid #94B47A22;
  flex: 1 1 230px;
  min-width: 220px;
  max-width: 340px;
  padding: 26px 16px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  transition: box-shadow 0.16s, border 0.20s, transform 0.17s;
}
.blog-post-grid > div:hover, .blog-post-grid > div:focus-within {
  border: 2px solid #94B47A;
  box-shadow: 0 5px 20px #17476022;
  transform: translateY(-7px) scale(1.01);
}

/* =============
   INFOS & TIPS
   ============= */
.infographics ul, .pro-gear ul, .key-highlights { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 10px; }
.infographics li, .key-highlights li, .pro-gear ul li { background: #F5F7EB; border-radius: 10px; padding: 13px 14px; font-size: 1rem; font-family: 'Open Sans', Arial, sans-serif; min-width: 140px; display: flex; align-items: center; gap: 8px; margin-bottom: 10px; box-shadow: 0 1px 10px #94B47A13; }

.tip-list, .pro-gear ul, .key-highlights { flex-direction: column; gap: 13px; }

/* CARDS, GENERAL */
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { background: #fff; border-radius: 18px; box-shadow: 0 2px 13px #17476014; margin-bottom: 20px; position: relative; display: flex; flex-direction: column; min-width: 225px; max-width: 360px; transition: transform 0.17s, box-shadow 0.16s; border: 2.5px solid #94B47A17; }
.card:hover, .card:focus-within { transform: translateY(-8px) scale(1.02); box-shadow: 0 5px 20px #94B47A26; border: 2.5px solid #94B47A; }
.card-content { display: flex; flex-direction: column; justify-content: center; gap: 13px; padding: 22px 18px; }

.content-grid { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; margin-bottom: 24px; }
.text-image-section { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }

/* TESTIMONIALS */
.testimonial-card { display: flex; align-items: center; gap: 20px; padding: 20px; background: #fff; border-radius: 16px; box-shadow: 0 2px 14px #17476016; margin-bottom: 20px; border: 2px solid #94B47A24; flex-wrap: wrap; }
.testimonial-card blockquote { color: #174760; font-family: 'Montserrat', Arial, sans-serif; font-weight: 700; font-size: 1.12rem; line-height: 1.4; quotes: '\201C''\201D''\2018''\2019'; }
.testimonial-card blockquote:before { content: '\201C'; color: #94B47A; font-size: 2.4rem; vertical-align: -18px; margin-right: 3px; line-height: 0.5; }
.testimonial-card span { margin-left: auto; font-family: 'Open Sans', Arial, sans-serif; color: #174760; font-weight: 600; font-size: 1.01rem; opacity: .95; background: #F5F7EB; padding: 5px 16px; border-radius: 13px; }

/* CTA BANNER */
.cta-banner { background: #174760; color: #fff; border-radius: 22px; padding: 30px 22px; box-shadow: 0 6px 34px #17476022; display: flex; flex-direction: column; align-items: flex-start; gap: 11px; text-align: left; margin-bottom: 0; }
.cta-banner h2 { color: #fff; font-size: 2.1rem; }
.cta-banner .cta-btn { background: #94B47A; color: #174760; box-shadow: 0 3px 20px #94B47A19; margin-left: 0; margin-top: 17px; }
.cta-banner .cta-btn:hover, .cta-banner .cta-btn:focus { background: #F5F7EB; color: #174760; }

/* ============
   FILTER/SEARCH
   ============ */
.search-filter { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-bottom: 12px; }
.search-filter label { font-family: 'Montserrat', Arial, sans-serif; font-size: 1rem; font-weight: 700; color: #174760; }
.search-filter input {
  min-width: 200px;
  border-radius: 8px;
  background: #F5F7EB;
}
.filter-tags, .category-tags { display: flex; gap: 14px; margin-bottom: 8px; flex-wrap: wrap; }
.filter-tags span, .category-tags span {
  background: #94B47A;
  color: #174760;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: .98rem;
  border-radius: 8px;
  padding: 7px 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.14s, color 0.13s;
}
.filter-tags span:hover, .category-tags span:hover {
  background: #174760; color: #fff;
}

.quick-links { display: flex; gap: 14px; margin-top: 14px; flex-wrap: wrap; }
.quick-links a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #174760;
  background: #94B47A;
  font-weight: 700;
  border-radius: 8px;
  padding: 7px 13px;
  transition: background 0.14s, color 0.18s;
}
.quick-links a:hover, .quick-links a:focus { background: #174760; color: #fff; }

/**** Feature Item (for alignment rules) ****/
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/**** CONTACT SHORT INFO ****/
.contact-short-info ul {
  display: flex; flex-direction: column; gap: 13px; margin-top: 10px;
}
.contact-short-info li {
  display: flex; align-items: center; gap: 10px; font-size: 1.05rem; font-family: 'Open Sans', Arial, sans-serif; }

/* ==========
   FOOTER
   ========== */
footer { background: #174760; color: #fff; padding: 0; }
.footer-section {
  display: flex; flex-direction: column; gap: 28px; align-items: flex-start; padding: 42px 0;
}
.footer-section img[alt='AlpenRoute Guide'], .footer-section img[alt='AlpenRoute Guide'] { max-width: 58px; margin-bottom: 11px; }
.contact-info h3 { color: #94B47A; font-size: 1.12rem; font-family: 'Montserrat', Arial, sans-serif; margin-bottom: 9px; }
.contact-info img { width: 18px; margin-right: 4px; vertical-align: -3px; }
.contact-info p { color: #fff; font-size: 1rem; margin-top: 0; }
.footer-nav, .legal-links, .social-links { display: flex; flex-wrap: wrap; gap: 11px; align-items: center; }
.footer-nav a, .legal-links a { color: #F5F7EB; font-weight: 600; font-size: 1rem; font-family: 'Open Sans', Arial, sans-serif; background: none; border-radius: 6px; padding: 2px 7px; transition: background 0.14s, color 0.14s; }
.footer-nav a:hover, .footer-nav a:focus, .legal-links a:hover, .legal-links a:focus { background: #94B47A; color: #174760; }
.social-links a img { width: 32px; height: 32px; transition: filter 0.17s, transform 0.17s; filter: grayscale(30) brightness(0.95); }
.social-links a:hover img, .social-links a:focus img { filter: none; transform: scale(1.09); }

/* ===================
   COOKIE CONSENT
   =================== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; width: 100vw;
  background: #fff;
  color: #174760;
  box-shadow: 0 -4px 18px #1747601B;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 18px;
  z-index: 120;
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  gap: 24px;
  transform: translateY(100%);
  transition: transform 0.27s cubic-bezier(.7,.02,.83,.71);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner .cookie-text { flex: 2 2 240px; font-size: .98rem; }
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 9px;
  padding: 10px 18px;
  border: none;
  transition: background 0.18s, color 0.14s, box-shadow 0.17s;
}
.cookie-accept {
  background: #94B47A;
  color: #174760;
  box-shadow: 0 2px 8px #94B47A16;
}
.cookie-reject {
  background: #fff;
  color: #174760;
  border: 2px solid #94B47A;
}
.cookie-settings {
  background: #174760;
  color: #fff;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #F5F7EB; color: #174760;
  box-shadow: 0 3px 14px #94B47A29;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed; left: 50%; top: 50%;
  transform: translate(-50%, -60%) scale(0.97);
  background: #fff;
  color: #174760;
  border-radius: 18px;
  box-shadow: 0 14px 60px #17476044;
  z-index: 130;
  padding: 36px 24px 28px 24px;
  max-width: 410px; width: 94vw;
  opacity: 0; pointer-events: none;
  transition: opacity 0.22s, transform 0.25s;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.cookie-modal h3 { font-size: 1.28rem; color: #174760; }
.cookie-category { display: flex; align-items: center; gap: 11px; margin-bottom: 8px; }
.cookie-category .cookie-toggle { width: 32px; height: 15px; border-radius: 10px; background: #94B47A; position: relative; cursor: pointer; transition: background 0.14s; display: inline-flex; align-items: center; }
.cookie-toggle input[type='checkbox'] {
  opacity: 0; width: 0; height: 0; position: absolute;
}
.cookie-toggle span {
  display: block;
  width: 15px; height: 15px; border-radius: 10px; background: #fff; transition: transform 0.12s; margin-left: 0;
}
.cookie-toggle input[type='checkbox']:checked + span { transform: translateX(17px); background: #174760; }
.cookie-category-label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
}
.cookie-modal-buttons {
  display: flex;
  gap: 13px;
  margin-top: 13px;
  justify-content: flex-end;
}
.cookie-modal-buttons button {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 1rem;
  border: none;
  background: #94B47A;
  color: #174760;
  font-weight: 700;
  transition: background 0.16s, color 0.14s;
}
.cookie-modal-buttons button:hover, .cookie-modal-buttons button:focus {
  background: #174760;
  color: #fff;
}

/* =============
   MEDIA QUERIES
   ============= */
@media (max-width: 1024px) {
  .feature-grid, .blog-post-grid, .card-container, .region-grid, .content-grid { gap: 14px; }
  .footer-section { flex-direction: column; padding: 38px 0 26px 0; gap: 25px; }
  .section { padding: 26px 7px; }
}
@media (max-width: 768px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.22rem; }
  .section { margin-bottom: 40px; padding: 20px 5px; }
  .container { padding: 0 7px; }
  .content-wrapper, .footer-section, .card-container, .feature-grid, .blog-post-grid, .region-grid { flex-direction: column; gap: 12px; }
  .feature-grid li, .region-grid > div, .blog-post-grid > div, .card { min-width: unset; max-width: 100%; width: 100%; }
  .cta-banner { padding: 18px 7px; text-align: left; align-items: flex-start; }
  .testimonial-card { flex-direction: column; gap: 13px; padding: 13px; }
  .footer-nav, .legal-links, .social-links { gap: 7px; flex-direction: row; }
  .text-image-section { flex-direction: column; gap: 16px; align-items: flex-start; }
}
@media (max-width:600px) {
  .cookie-banner { flex-direction: column; gap: 13px; align-items: flex-start; padding: 18px 7px; }
  .cookie-banner .cookie-actions { gap: 7px; width: 100%; }
}

/* ============
   ANIMATIONS
   ============ */
.cta-btn, .cookie-banner button, .cookie-modal-buttons button, .card, .feature-grid li, .region-grid > div, .filter-tags span, .category-tags span, .footer-nav a, .legal-links a {
  transition: background 0.17s, color 0.16s, box-shadow 0.18s, transform 0.18s;
}

/* =============
   Misc Styling for Brand Geometric Look
   ============= */
.card, .feature-grid li, .region-grid > div, .blog-post-grid > div, .section {
  border-radius: 18px 30px 18px 30px / 20px 32px 20px 22px;
}

/* Strong Color Emphasis for Modern/Bold */
.feature-grid li {
  border-left: 7px solid #94B47A;
}
.region-grid > div {
  border-top: 6px solid #174760;
}
.card {
  border-bottom: 6px solid #94B47A;
}
/* Decorative geometric overlays for accent (optional, only if present in DOM) */
.geometric-accent {
  position: absolute; width: 50px; height: 50px;
  background: #94B47A;
  border-radius: 16px 40px 20px 34px;
  opacity: 0.16;
  z-index: 5;
}

/* ==================================
   ENSURE NO OVERLAP - Gaps/Margins
   ================================== */
.card, .region-grid > div, .feature-grid li, .testimonial-card, .blog-post-grid > div { margin-bottom: 20px; }
.section, section, .content-grid, .card-container { gap: 24px; }

/* =============
   FOCUS STATES
   ============= */
:focus { outline: 3px dashed #94B47A66; outline-offset: 2px; }
.cta-btn:focus, .cookie-banner button:focus { box-shadow: 0 0 0 2px #94B47A80; }

/* =====================
   PRINT OVERRIDE
   ===================== */
@media print {
  header, .mobile-menu, .cta-banner, .cookie-banner, .cookie-modal, footer { display: none !important; }
  body { background: #fff; color: #222; }
}
