/* =============================================================
   Ruheströme Stuttgart Professional Corporate CSS
   Modern, blue/gray corporate style using flexbox only
   ============================================================= */

/* RESET / NORMALIZE ----------------------------------------------------- */
html {box-sizing: border-box; font-size: 16px; scroll-behavior: smooth;}
*, *:before, *:after {box-sizing: inherit; margin: 0; padding: 0;}
body {
  background: #F5FAF7;
  color: #22313B;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
}
img {max-width: 100%; display: block; height: auto; border: 0;}
a {color: #235452; text-decoration: none; transition: color 0.2s;}
a:hover, a:focus {color: #165347; text-decoration: underline;}
ul, ol { padding-left: 1.25em; }
li {margin-bottom: 0.5em;}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  color: #22313B;
  margin-bottom: 0.5em;
  line-height: 1.15;
  letter-spacing: 0.01em;
}
h1 {font-size: 2.5rem; margin-bottom: 16px;}
h2 {font-size: 2rem; margin-bottom: 12px;}
h3 {font-size: 1.25rem; margin-bottom: 8px;}
h4 {font-size: 1.125rem;}
address {font-style: normal; line-height: 1.6;}
.content-wrapper img {
  width: 100px;
}
/* Selection coloring */
::selection { background: #7DA391; color: #fff; }

/* ================== GENERAL LAYOUT CONTAINERS ================== */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px 0 rgba(35,84,82,0.05);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 rgba(35,84,82,.08);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s;
}
.card:hover {
  box-shadow: 0 6px 24px 0 rgba(35,84,82,.15);
  z-index: 2;
}

/* FLEXBOX GRIDS & LISTS */
.feature-grid, .history-timeline, .park-list, .city-list, .route-list, .experience-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  padding: 0;
  justify-content: flex-start;
}
.feature-grid > li, .feature-grid > div, .history-timeline > li, .park-list > div, .city-list > div, .route-list > div, .experience-list > div {
  flex: 1 1 240px;
  background: #F5FAF7;
  border-radius: 10px;
  padding: 28px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  box-shadow: 0 1.5px 9px 0 rgba(125,163,145,0.06);
  transition: box-shadow 0.2s, background 0.2s;
  margin-bottom: 0;
}
.feature-grid > li:hover, .feature-grid > div:hover, .park-list > div:hover, .city-list > div:hover, .route-list > div:hover, .experience-list > div:hover {
  background: #e4f0ed;
  box-shadow: 0 4px 18px 0 rgba(125,163,145,0.13);
}

.park-icons, .city-highlights, .route-icons, .regional-specialties, .wellbeing-tips {
  display: flex;
  flex-direction: row;
  gap: 30px;
  align-items: center;
  margin: 24px 0 0 0;
}

.services .content-wrapper,
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.service-list > div {
  flex: 1 1 240px;
  background: #F5FAF7;
  border-radius: 10px;
  padding: 26px 18px;
  box-shadow: 0 1px 7px 0 rgba(35,84,82,0.04);
  min-width: 210px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
}
.service-list > div span {
  color: #235452;
  font-weight: 700;
}

/* FEATURES/ITEMS */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* TESTIMONIALS ---------------------------------------------------------- */
.testimonials {
  background: #f0f6f6;
  padding: 40px 0 60px 0;
}
.testimonials .container {
  max-width: 940px;
}
.testimonials h2 {
  margin-bottom: 32px;
}
.testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  padding: 20px 26px;
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 rgba(35,84,82,0.10);
  min-width: 260px;
  flex: 1 1 280px;
  margin-bottom: 0;
  transition: box-shadow 0.2s;
  color: #22313B;
}
.testimonial-card:hover {
  box-shadow: 0 7px 22px 0 rgba(35,84,82,0.19);
}
.testimonial-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 1rem;
  color: #235452;
  font-weight: 600;
}
.testimonial-card p {
  font-size: 1.125rem;
}

/* =============================== HEADER & NAVIGATION =============================== */
header {
  background: #ffffff;
  border-bottom: 1.5px solid #eaeaea;
  box-shadow: 0 2px 10px 0 rgba(35,84,82,0.025);
  padding: 0;
  width: 100%;
  z-index: 20;
  position: sticky;
  top: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
}
header img {height: 46px; width: auto;}

.main-nav {
  display: flex;
  gap: 22px;
  margin-left: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #22313B;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  transition: color 0.15s;
  position: relative;
  padding: 0 4px;
}
.main-nav a:hover, .main-nav a:focus {
  color: #235452;
  text-decoration: none;
}
.main-nav a.active, .main-nav a[aria-current="page"] {
  color: #235452;
  font-weight: 700;
}

.cta-btn {
  background: #235452;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.75em 2.2em;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.025em;
  box-shadow: 0 4px 16px 0 rgba(35,84,82,0.13);
  cursor: pointer;
  margin-left: 24px;
  transition: background 0.16s, box-shadow 0.2s, color 0.16s;
  position: relative;
}
.cta-btn:hover, .cta-btn:focus {
  background: #1d4341;
  color: #fff;
  box-shadow: 0 8px 28px 0 rgba(35,84,82,0.19);
  outline: none;
}

.mobile-menu-toggle {
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #235452;
  display: none;
  margin-left: 16px;
  cursor: pointer;
  padding: 6px 10px 0 10px;
  z-index: 55;
  transition: color 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #1b3635;
}

/* MOBILE NAVIGATION */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; height: 100vh; width: 100vw;
  background: rgba(35, 84, 82, 0.98);
  transform: translateX(-110vw);
  transition: transform 0.36s cubic-bezier(.55,0,.1,1);
  z-index: 1100;
  padding-top: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: #fff;
  background: transparent;
  border: none;
  padding: 16px 22px;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 12px;
  transition: color 0.14s;
  z-index: 1200;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #7DA391;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 0 auto;
  align-items: center;
  width: 100%;
  margin-top: 34px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  font-size: 1.24rem;
  letter-spacing: 0.02em;
  font-weight: 600;
  padding: 12px 0;
  width: 85vw;
  text-align: center;
  border-radius: 6px;
  transition: background 0.15s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #7DA391;
  color: #235452;
}

/* Show hamburger and hide main nav on small screens */
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .cta-btn { margin-left: 0; }
  .mobile-menu-toggle { display: block; }
}
@media (min-width: 1025px) {
  .mobile-menu { display: none !important; }
}

/* ============= HERO ===================== */
.hero {
  background: linear-gradient(120deg, #F5FAF7 67%, #e4f0ed 100%);
  padding: 80px 0 60px 0;
  border-bottom: 1.5px solid #e3eaea;
}
.hero .container { max-width: 930px; }
.hero .content-wrapper {
  align-items: flex-start;
  gap: 24px;
}
.hero h1 {
  color: #235452;
  font-size: 2.9rem;
  font-weight: 800;
  line-height: 1.09;
  margin-bottom: 10px;
}
.hero p {
  font-size: 1.125rem;
  color: #22313B;
}
.hero .cta-btn {
  margin-top: 20px;
  font-size: 1.05rem;
}

/* ================== ABOUT TIMELINE ================== */
.history-timeline {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  padding-left: 0;
  margin-top: 18px;
}
.history-timeline li {
  position: relative;
  padding-left: 16px;
}
.history-timeline li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.95em;
  width: 8px; height: 8px;
  background: #235452;
  border-radius: 50%;
}

/* ================== CONTACT ================== */
.contact-details ul {
  list-style: none; padding-left: 0; margin-bottom: 1em;
}
.contact-details ul li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.04rem;
  margin-bottom: 12px;
  color: #22313B;
}
.contact-details ul li img {
  width: 24px;
  height: 24px;
  margin: 0;
}
.contact-map {
  background: #e4f0ed;
  padding: 24px 22px;
  border-radius: 10px;
  margin-top: 20px;
  box-shadow: 0 2px 10px 0 rgba(35,84,82,0.08);
}

/* ================== FOOTER ================== */
footer {
  background: #22313B;
  color: #fff;
  padding: 40px 0 0 0;
  font-size: 0.98rem;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 18px;
}
.footer-nav {
  display: flex;
  gap: 21px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #e5eaea;
  font-weight: 500;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color 0.14s;
  font-size: 1rem;
}
.footer-nav a:hover, .footer-nav a:focus { color: #7DA391; }
footer .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
footer .footer-contact img {width: 48px; margin-bottom: 7px;}
footer address, footer address a {
  color: #e5eaea; text-decoration: none; transition: color 0.18s;
}
footer address a:hover, footer address a:focus {color: #7DA391;}


/* =================== COOKIE CONSENT BANNER =================== */
.cookie-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: fixed;
  bottom: 0; left: 0; width: 100vw;
  box-shadow: 0 -4px 20px 0 rgba(35,84,82,0.12);
  background: #22313B;
  color: #fff;
  padding: 22px 18px;
  z-index: 2000;
  font-size: 1rem;
  animation: cookieBannerIn 0.42s cubic-bezier(.68,-0.55,.27,1.55);
}
@keyframes cookieBannerIn {
  from {transform: translateY(120%); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}
.cookie-banner p {margin-right: 26px; flex: 1 1 200px; color: #fff;}
.cookie-actions {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
}
.cookie-btn, .cookie-settings-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 7px;
  border: none;
  padding: 10px 22px;
  cursor: pointer;
  transition: background 0.14s, color 0.13s;
}
.cookie-btn.accept {background: #7DA391; color: #fff;}
.cookie-btn.accept:hover, .cookie-btn.accept:focus { background: #235452; color: #fff; }
.cookie-btn.reject {background: #fff; color: #235452; border: 1px solid #7DA391;}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {background: #7DA391; color: #fff; border-color: #235452;}
.cookie-settings-btn {background: transparent; color: #7DA391; border: 1.5px solid #7DA391;}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {background: #7DA391; color: #fff;}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-mask {
  display: none;
  position: fixed;
  z-index: 2500;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(34,49,59,0.56);
  align-items: center;
  justify-content: center;
}
.cookie-modal-mask.open { display: flex; }
.cookie-modal {
  background: #fff;
  color: #22313B;
  border-radius: 14px;
  max-width: 420px;
  width: 94vw;
  padding: 36px 28px;
  box-shadow: 0 7px 44px 0 rgba(35,84,82,0.13);
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: fadeInModal 0.24s cubic-bezier(.65,-0.2,.27,1.18);
}
@keyframes fadeInModal {
  from {opacity: 0; transform: scale(0.94);}
  to {opacity: 1; transform: scale(1);}
}
.cookie-modal h2 {
  font-size: 1.35rem;
  margin-bottom: 0;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 8px 0;
}
.cookie-modal .cookie-switch {
  appearance: none;
  width: 36px; height: 20px;
  background: #ebf5ef;
  border-radius: 12px;
  position: relative;
  outline: none;
  cursor: pointer;
  margin-right: 8px;
  transition: background 0.13s;
}
.cookie-modal .cookie-switch:checked {
  background: #7DA391;
}
.cookie-modal .cookie-switch::before {
  content: '';
  display: block;
  position: absolute;
  left: 2px; top: 2px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1.5px 4px rgba(40,50,70,0.13);
  transition: left 0.14s;
}
.cookie-modal .cookie-switch:checked::before { left: 18px; }
.cookie-modal .always-enabled {
  opacity: 0.6;
  font-style: italic;
  margin-left: 12px;
  font-size: 0.95rem;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
  margin-top: 18px;
}
.cookie-modal .close-modal-btn {
  background: transparent;
  color: #22313B;
  font-size: 1.7rem;
  border: none;
  cursor: pointer;
  padding: 2px 7px 0 7px;
  align-self: flex-end;
  margin-bottom: -14px;
  margin-top: -20px;
}
.cookie-modal .close-modal-btn:hover {color: #7DA391;}

/* ==================== RESPONSIVE DESIGN =================== */
@media (max-width: 900px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.4rem; }
  .hero h1 { font-size: 2.15rem; }
  .container { padding: 0 10px; }
  .feature-grid > li, .feature-grid > div, .park-list > div, .city-list > div, .route-list > div, .experience-list > div {
    flex: 1 1 180px;
    padding: 21px 11px 14px 13px;
  }
  .service-list > div {
    min-width: 150px;
  }
  .testimonial-card { min-width: 160px; }
}
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
    max-width: 97vw;
  }
  .section {
    margin-bottom: 36px;
    padding: 22px 5px;
  }
  .hero {
    padding: 40px 0 30px 0;
  }
  .hero h1 {
    font-size: 1.3rem;
    margin-bottom: 7px;
  }
  .hero p {font-size: 1rem;}
  .feature-grid, .history-timeline, .park-list, .city-list, .route-list, .experience-list, .service-list {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > li, .feature-grid > div, .park-list > div, .city-list > div, .route-list > div, .experience-list > div {
    padding: 15px 10px 10px 10px;
  }
  .services .content-wrapper, .service-list, .testimonials .content-wrapper {
    flex-direction: column;
    gap: 17px;
  }
  .testimonial-card { padding: 18px 9px; }
  .text-image-section, .content-grid {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .park-icons, .city-highlights, .route-icons { gap: 18px; }
  footer .container {
    flex-direction: column;
    gap: 20px;
  }
  .footer-nav { gap: 8px; }
}
@media (max-width: 630px) {
  .hero { padding: 16px 0 18px 0; }
  h1 { font-size: 1.25rem; }
  h2 { font-size: 1.05rem; }
  .cookie-modal {padding: 19px 7px;}
}
@media (max-width: 480px) {
  .section, .hero .container { padding: 12px 0 5px 0; }
  .cta-btn, .cookie-btn, .cookie-settings-btn { font-size: 0.97rem; padding: 9px 12px; }
  .cookie-banner p { font-size: 0.92rem; }
}

/* =========================== MICRO-INTERACTIONS =========================== */
.button, .cta-btn, .cookie-btn, .cookie-settings-btn {
  transition: background 0.18s, color 0.14s, box-shadow 0.15s, border 0.12s;
}
.card, .testimonial-card, .service-list > div {
  transition: box-shadow 0.18s, background 0.16s;
}
/* =========================== CUSTOM SCROLLBAR =========================== */
::-webkit-scrollbar { width: 10px; background: #f0f6f6; }
::-webkit-scrollbar-thumb { background: #E2ECE7; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #D0E2DC; }

/* ========== FOCUS OUTLINE ========== */
:focus-visible {
  outline: 2px solid #7DA391;
  outline-offset: 1px;
}

/* ====================== UTILITY ====================== */
.mt-2 {margin-top: 12px;}
.mb-2 {margin-bottom: 12px;}
.mt-4 {margin-top: 24px;}
.mb-4 {margin-bottom: 24px;}
.gap-2 {gap: 12px;}
.gap-4 {gap: 25px;}
.text-center {text-align: center;}
.text-right {text-align: right;}

/* ================== END Ruheströme CSS ================== */