/* =======================================================
   RouteVelo Scandinavian Clean CSS v1.0
   Brand guidelines & responsive flexbox-only Scandinavian UI
   ======================================================= */
/* =================== RESET & BASICS =================== */
html { box-sizing: border-box; font-size: 100%; }
*, *:before, *:after { box-sizing: inherit; margin:0; padding:0; }
body {
  background: #F7F8F6;
  color: #234728;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img, svg { max-width: 100%; display: block; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #234728;
  line-height: 1.15;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.3rem; margin-bottom: 10px; font-weight: 600; }
.subheadline { font-size: 1.2rem; color: #456A4A; margin-bottom: 20px; font-family: 'Roboto', Arial, sans-serif; font-weight: 400; }
p { margin-bottom: 16px; color: #234728; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* ================= SECTION SPACING ==================== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(35, 71, 40, 0.06);
}
section:last-child { margin-bottom: 0; }

/* =========== FLEXBOX LAYOUT PATTERNS (MANDATORY) ========= */
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { background: #fff; margin-bottom: 20px; border-radius: 11px; box-shadow: 0 2px 10px rgba(35, 71, 40, 0.08); position: relative; }
.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; flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px; background: #F6F8F5; border-radius: 13px; margin-bottom: 20px; box-shadow: 0 2px 8px rgba(35,71,40,0.06); min-width: 240px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; background: #FAFBF9; border-radius: 13px; padding: 24px 20px; min-width: 220px; min-height: 160px; box-shadow: 0 2px 10px rgba(35,71,40,0.05); margin-bottom: 20px; flex: 1 1 220px; }

/* Custom grids for Features & Tour Cards */
.feature-grid, .touren-liste, .testimonial-slider, .testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.touren-liste { justify-content: flex-start; }
.testimonial-slider { gap: 24px; margin-bottom: 0; }
.testimonial-grid { gap: 24px; margin-bottom: 0; }

.tour-card {
  background: #FFFFFF;
  border-radius: 13px;
  box-shadow: 0 2px 10px rgba(67,109,56,0.08);
  padding: 22px 20px;
  margin-bottom: 20px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  flex: 1 1 220px;
  transition: box-shadow 0.22s cubic-bezier(.4,0,.2,1);
}
.tour-card:hover {
  box-shadow: 0 4px 18px rgba(35,71,40,0.12);
  transform: translateY(-4px);
}
.tour-card img { width: 48px; height: 48px; margin-bottom: 8px; }
.tour-card .preis { font-family: 'Montserrat', Arial, sans-serif; color: #E4B700; font-weight: 700; font-size: 1.13rem; margin-top: 4px; }

.feature-item img {
  width: 38px; height: 38px; margin-bottom: 6px;
  filter: grayscale(10%) brightness(1) contrast(1.06);
}
/* =============================================== */
/* =================== HEADER ==================== */
header {
  background: #FFFFFF;
  box-shadow: 0 2px 10px rgba(35, 71, 40, 0.05);
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 40;
}
.main-nav {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 19px 18px 14px;
  gap: 22px;
  position: relative;
}
.logo img { height: 35px; display: block; }
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 26px;
}
.main-nav ul li { display: block; }
.main-nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #234728;
  text-decoration: none;
  font-size: 1rem;
  padding: 6px 0;
  position: relative;
  transition: color 0.17s;
}
.main-nav ul li a:hover, .main-nav ul li a:focus {
  color: #E4B700;
}
.cta.primary {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #234728;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 11px 24px;
  font-size: 1.04rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 6px rgba(67,109,56,0.10);
  text-decoration: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.25s;
  cursor: pointer;
  margin-left: 12px;
  display: inline-block;
}
.cta.primary:hover, .cta.primary:focus {
  background: #456A4A;
  color: #fff;
  box-shadow: 0 5px 20px rgba(67,109,56,0.18);
  transform: translateY(-2px) scale(1.01);
}

/* =============== MOBILE MENU =============== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #234728;
  cursor: pointer;
  margin-left: 10px;
  z-index: 205;
  transition: color 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #E4B700;
}
.mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 88vw;
  max-width: 390px;
  background: #fff;
  box-shadow: -4px 0 32px rgba(35,71,40,0.12);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.4,0,.2,1);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 26px 24px 30px;
  gap: 14px;
}
.mobile-menu.open { transform: translateX(0%); }
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #234728;
  align-self: flex-end;
  margin-bottom: 8px;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus { color: #E4B700; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: #234728;
  text-decoration: none;
  padding: 10px 6px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
  width: 100%;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus { background: #EFF1ED; color: #E4B700; }

/* Overlay for mobile menu (if desired) */
body.mobile-menu-open::before {
  content: '';
  position: fixed; z-index: 110;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(35,71,40,0.14);
  pointer-events: all;
  transition: background 0.2s;
}
.mobile-menu { pointer-events: auto; }

/* =========== Hide main nav on mobile / show hamburger ========== */
@media (max-width: 920px) {
  .main-nav ul { display: none; }
  .cta.primary { display: none !important; }
  .mobile-menu-toggle { display: block; }
}
@media (min-width: 921px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* ================= HERO, CTA, ABOUT =============== */
.hero {
  background: #EFF1ED;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(35,71,40,0.05);
  padding: 50px 24px 37px;
  margin-bottom: 56px;
  display: flex;
  align-items: center;
}

.info-box {
  background: #EAF3ED;
  border-radius: 14px;
  padding: 22px 18px;
  margin-bottom: 18px;
  font-size: 1.05rem;
  color: #234728;
  box-shadow: 0 2px 8px rgba(35, 71, 40, 0.04);
}
.social-teaser {
  margin-top: 22px;
  font-style: italic;
  color: #456A4A;
}

/* =============== TESTIMONIALS =============== */
.testimonial-card {
  flex: 1 1 270px;
  min-width: 220px;
  background: #F6F8F5;
  border-left: 7px solid #234728;
  font-style: italic;
  color: #234728;
  box-shadow: 0 2px 8px rgba(35,71,40,0.05);
}
.testimonial-card p {
  margin-bottom: 8px;
  color: #234728;
  font-size: 1.065rem;
  line-height: 1.6;
}
.testimonial-author {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  color: #234728;
  margin-bottom: 2px;
  margin-top: 2px;
}
.star-rating {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #E4B700;
  font-size: 1.16rem;
  letter-spacing: 0.12em;
}

@media (max-width: 768px) {
  .testimonial-slider,
  .testimonial-grid {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card { min-width: 90%; }
}

/* =================== CARDS & FEATURES ================== */
.feature-item h3 { font-size: 1.07rem; color: #234728; font-family: 'Montserrat', Arial, sans-serif; }
.feature-item p { font-size: 0.97rem; margin-bottom: 0; }
.feature-item:hover, .feature-item:focus {
  box-shadow: 0 6px 28px rgba(35,71,40,0.14);
  background: #F5F9F0;
  transform: translateY(-3px) scale(1.02);
  transition: box-shadow 0.16s, transform 0.2s, background 0.17s;
}

/* ================== TABLES & LISTS ================== */
table {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  margin: 18px 0 32px 0;
  font-size: 1.02rem;
  background: #FAFBF9;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 7px rgba(35, 71, 40, 0.06);
}
th { background: #EFF1ED; color: #234728; font-weight: 700; padding: 13px 8px; text-align: left; }
td { padding: 13px 8px; color: #234728; border-bottom: 1px solid #E5EAD7; }
tr:last-child td { border-bottom: none; }

ul, .text-section ul, .service-highlights {
  margin-bottom: 16px;
  padding-left: 17px;
  font-size: 0.98rem;
  color: #234728;
}
.text-section ul li, .service-highlights li {
  margin-bottom: 7px;
  position: relative;
  padding-left: 15px;
}
.text-section ul li:before, .service-highlights li:before {
  content: "";
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #E4B700;
  position: absolute;
  top: 6px; left: 0;
}

.service-highlights { font-style: italic; margin-bottom: 24px; }

/* ================ BUTTONS ================ */
button, .cta { font-family: 'Montserrat', Arial, sans-serif; cursor: pointer; }
button, input[type=submit] {
  background: #234728;
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 10px 22px;
  font-size: 1.01rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 8px rgba(35,71,40,0.09);
  transition: background 0.13s, color 0.13s, box-shadow 0.17s, transform 0.16s;
}
button:hover, .cta:hover, button:focus, .cta:focus {
  background: #456A4A; color: #fff;
  box-shadow: 0 5px 20px rgba(67,109,56,0.17);
  transform: translateY(-1px) scale(1.01);
}
a.cta.secondary, button.secondary, input[type=submit].secondary {
  background: #E4B700; color: #234728;
}
a.cta.secondary:hover, button.secondary:hover, input[type=submit].secondary:hover,
a.cta.secondary:focus, button.secondary:focus, input[type=submit].secondary:focus {
  background: #F6CF2C; color: #234728;
}

/* ================= INFO/UTILITY BLOCKS =============== */
.text-section {
  margin-bottom: 24px;
  color: #234728;
  font-size: 1.02rem;
  line-height: 1.68;
}
.text-section a {
  color: #456A4A;
  text-decoration: underline;
  transition: color 0.14s;
}
.text-section a:hover, .text-section a:focus { color: #E4B700;}

.info-box strong { color: #234728; }

/* =================== FOOTER =================== */
footer {
  background: #EFF1ED;
  padding: 42px 0 26px;
  border-top: 1px solid #E5EAD7;
  color: #234728;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #234728;
  text-decoration: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  transition: color 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus { color: #E4B700; }
.footer-info span {
  display: inline-block;
  font-size: 0.98rem;
  margin-bottom: 2px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1100px) {
  .container { max-width: 95vw; }
}
@media (max-width: 1050px) {
  .feature-grid, .touren-liste {
    gap: 12px;
  }
}
@media (max-width: 900px) {
  .main-nav { padding-left: 8px; padding-right: 8px; }
}
@media (max-width: 768px) {
  section {
    margin-bottom: 38px;
    padding: 26px 10px;
    border-radius: 7px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .content-wrapper { padding: 0; }
  .feature-grid, .touren-liste { flex-direction: column; gap: 14px; }
  .feature-item, .tour-card { min-width: 92vw; width: 100%; }
  .testimonial-card { min-width: 86vw; }
  .text-image-section { flex-direction: column; gap: 22px; align-items: flex-start; }
}
@media (max-width: 540px) {
  header { box-shadow: 0 1.5px 7px rgba(35,71,40,0.07); }
  .container { padding-left: 6px; padding-right: 6px; }
}
@media (max-width:420px){
  h1{font-size:1.25rem;}
  h2{font-size:1.02rem;}
}

/* ================= COOKIE CONSENT BANNER ================= */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0; width: 100vw; z-index: 900;
  background: #fff;
  color: #234728;
  border-top: 2px solid #E4B700;
  box-shadow: 0 -3px 26px rgba(35,71,40,0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 23px 18px 19px;
  gap: 16px;
  font-size: 1rem;
  animation: cookiebanner-slideup 0.45s cubic-bezier(.4,0,.2,1);
}
@keyframes cookiebanner-slideup {
  0% { transform: translateY(100%); opacity:0; }
  100% { transform: translateY(0); opacity:1; }
}
.cookie-banner__text { flex: 1 1 220px; }
.cookie-banner__actions {
  display: flex;
  gap: 14px;
  align-items: center;
}
.cookie-banner__btn {
  padding: 8px 22px;
  border-radius: 6px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  box-shadow: 0 2px 8px rgba(67,109,56,0.06);
  cursor: pointer;
  transition: background 0.17s,color 0.16s;
}
.cookie-banner__btn.accept { background: #234728; color: #fff; }
.cookie-banner__btn.reject { background: #F3F3EA; color: #234728; }
.cookie-banner__btn.settings { background: #E4B700; color: #234728; }
.cookie-banner__btn.accept:hover, .cookie-banner__btn.accept:focus { background: #456A4A; }
.cookie-banner__btn.reject:hover, .cookie-banner__btn.reject:focus { background: #E5EAD7; }
.cookie-banner__btn.settings:hover, .cookie-banner__btn.settings:focus { background: #FAE085; }

@media(max-width:600px){
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 14px; padding: 18px 7px 14px; font-size: 0.98rem;}
  .cookie-banner__actions { gap: 9px; }
}

/* Cookie categories modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1001;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(35,71,40,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookiemodal-fadein 0.22s cubic-bezier(.54, 0, .3, 1);
}
@keyframes cookiemodal-fadein {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 14px;
  max-width: 425px;
  width: 94vw;
  box-shadow: 0 8px 48px rgba(35, 71, 40, 0.25);
  padding: 33px 24px 25px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: cookiemodal-slideup 0.29s cubic-bezier(.4,0,.2,1);
}
@keyframes cookiemodal-slideup {
  0% { transform: translateY(80px) scale(.98); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.cookie-modal__close {
  position: absolute;
  top: 18px; right: 21px;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: #234728;
  cursor: pointer;
}
.cookie-modal__close:hover, .cookie-modal__close:focus { color: #E4B700; }
.cookie-modal__header { font-family: 'Montserrat', Arial, sans-serif; font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; color: #234728;}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-category-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F6F8F5;
  border-radius: 8px;
  padding: 11px 15px;
  font-size:1rem;
}
.cookie-category-label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #234728;
  font-size: 1rem;
}
.cookie-category-toggle {
  display: flex; align-items: center;
}
.cookie-toggle-switch {
  width: 40px; height: 22px;
  border-radius: 12px;
  background: #E5EAD7;
  position: relative;
  cursor: pointer;
  margin-left: 11px;
  transition: background 0.13s;
}
.cookie-toggle-switch[data-checked="true"] { background: #234728; }
.cookie-toggle-knob {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(35,71,40,0.14);
  position: absolute;
  top: 1px;
  left: 2px;
  transition: left 0.15s;
}
.cookie-toggle-switch[data-checked="true"] .cookie-toggle-knob { left: 18px; }
.cookie-modal__footer {
  display: flex;
  gap: 12px;
  margin-top: 6px;
  align-items: flex-end;
}

.cookie-modal__desc {
  font-size: 0.98rem;
  color: #456A4A;
  margin-bottom: 10px;
}
.cookie-category-label[aria-disabled="true"] {
  color: #9B9B92;
  opacity: 0.77;
}

@media(max-width:500px){
  .cookie-modal { padding: 24px 7px 20px; }
}

/* ===================== ANIMATIONS ===================== */
a, button, input[type=submit], .cta, .feature-item, .tour-card, .testimonial-card {
  transition: background 0.17s, color 0.15s, box-shadow 0.18s, transform 0.2s;
}

.feature-item:active, .tour-card:active, .cta.primary:active, button:active {
  filter: brightness(0.97);
}

/* ===== Selection colors for Scandinavian Clean ===== */
::selection { background: #E4B700; color: #234728; }

/* ================ Misc ================ */
hr {
  border: none;
  border-top: 1px solid #E5EAD7;
  margin: 30px 0 24px;
  width: 100%;
}

/* Breadcrumbs & Feedback */
.breadcrumbs {
  font-size: 0.98rem;
  margin-bottom: 16px;
  color: #456A4A;
}

/* ================ Utility Classes =============== */
.text-center { text-align: center; }
.text-right { text-align: right; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.w-100 { width: 100%; }

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