/* ===============================
   RheinMosaik Kreuzfahrten Style
   Scandinavian Clean CSS Theme
   =============================== */

/* 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;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav, section {
  display: block;
}

body {
  line-height: 1.5;
  font-smooth: always;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #F7F6E7;
  color: #2D4065;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

ul, ol {
  list-style: none;
  margin-left: 0;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

a {
  color: #2D4065;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #6C8E5A;
}

/* ========================
   Brand Typography Hierarchy
   ======================== */
@font-face {
  font-family: 'Lora';
  src: local('Lora'), local('Lora-Regular'),
    url('https://fonts.googleapis.com/css2?family=Lora:wght@600;700&display=swap');
}
@font-face {
  font-family: 'Open Sans';
  src: local('Open Sans'),
    url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&display=swap');
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Lora', serif;
  font-weight: 700;
  color: #2D4065;
  letter-spacing: 0.01em;
  line-height: 1.15;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
p, li, .text-section {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  color: #2D4065;
  margin-bottom: 14px;
}

.tagline {
  color: #6C8E5A;
  font-size: 1.2rem;
  margin-bottom: 20px;
  font-style: italic;
}

em {
  color: #6C8E5A;
}
strong {
  font-weight: 600;
}

/* =============================
   General Layout Containers
   ============================= */
.container {
  max-width: 1070px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 18px rgba(44,64,101,0.048);
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
@media (min-width: 769px) {
  .content-wrapper {
    gap: 24px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 12px rgba(44,64,101,0.08);
  padding: 32px 28px;
  flex: 1 1 300px;
  transition: box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 6px 18px rgba(44,64,101,0.18);
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 15px;
}

.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

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

/**** Testimonials ****/
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #F7F6E7;
  border-left: 5px solid #6C8E5A;
  border-radius: 10px;
  box-shadow: 0 1px 7px rgba(44,64,101,0.09);
  color: #2D4065;
  font-style: italic;
  transition: box-shadow 0.18s;background-blend-mode: lighten;
}
.testimonial-card:hover {
  box-shadow: 0 4px 20px rgba(44,64,101,0.14);
  border-left: 5px solid #2D4065;
}
.testimonial-card span {
  font-size: 1rem;
  color: #2D4065;
  margin-left: auto;
  font-style: normal;
  font-weight: 600;
}
.testimonial-card p {
  margin-bottom: 0;
  color: #2D4065;
}

/* =============================
   Main Navigation
   ============================= */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(44,64,101,0.07);
  position: sticky;
  top: 0;
  left: 0; 
  z-index: 110;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  max-width: 1070px;
  margin: 0 auto;
  padding: 18px 20px 18px 20px;
}
.main-nav a {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: #2D4065;
  font-size: 1rem;
  background: none;
  padding: 8px 16px;
  border-radius: 19px;
  transition: background 0.18s, color 0.18s;
}
.main-nav img {
  height: 36px;
  width: auto;
}
.main-nav a.cta-btn {
  background: #6C8E5A;
  color: #fff;
  border-radius: 24px;
  margin-left: 14px;
  padding: 10px 24px;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 2px 8px rgba(44,64,101,0.08);
  transition: background 0.18s, transform 0.12s;
}
.main-nav a.cta-btn:hover,
.main-nav a.cta-btn:focus {
  background: #2D4065;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
}
.main-nav a:hover,
.main-nav a:focus {
  background: #F7F6E7;
  color: #6C8E5A;
}

/* MOBILE MENU BUTTON */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 24px;
  top: 16px;
  background: #2D4065;
  color: #fff;
  font-size: 2rem;
  border: none;
  padding: 8px 16px;
  border-radius: 7px;
  z-index: 201;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #6C8E5A;
  color: #fff;
}

/* MOBILE MENU AND ANIMATION */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  background: rgba(247,246,231,0.97);
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9999;
  padding: 0;
  transform: translateX(-105%);
  transition: transform 0.34s cubic-bezier(.77,.2,.05,1.0);
  box-shadow: 0 4px 24px rgba(44,64,101,0.15);
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: #2D4065;
  color: #fff;
  border: none;
  margin: 18px 20px 0 0;
  padding: 10px 16px;
  border-radius: 7px;
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 10001;
  transition: background 0.18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #6C8E5A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 40px 32px 32px 32px;
  width: 98vw;
}
.mobile-nav a {
  color: #2D4065;
  background: none;
  font-size: 1.18rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  padding: 12px 0;
  font-weight: 600;
  border-radius: 7px;
  width: 100%;
  box-sizing: border-box;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #6C8E5A;
  color: #fff;
}

@media (max-width: 1100px) {
  .main-nav {
    gap: 14px;
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 8px;
    font-size: 0.97rem;
    padding: 8px 8px 8px 8px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: fixed;
    right: 16px;
    top: 22px;
  }
}

/* ===========================
   Hero/General Page Content
   =========================== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 18px rgba(44,64,101,0.05);
}
@media (max-width: 768px) {
  section {
    margin-bottom: 36px;
    padding: 28px 6px;
    border-radius: 10px;
  }
}

/* List Styles */
ul, ol {
  margin-bottom: 18px;
  margin-left: 0; /* Remove default */
  padding-left: 0;
}
ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  font-size: 1.05rem;
  line-height: 1.6;
}
ul li::before {
  content: '';
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #6C8E5A;
  position: absolute;
  left: 0; top: 10px;
}
@media (max-width: 768px) {
  ul li {
    padding-left: 20px;
  }
  ul li::before {
    width: 8px; height: 8px; top: 8px;
  }
}

/* Tables for fares etc. */
table {
  border-collapse: collapse;
  width: 100%;
  background: #F7F6E7;
  margin-bottom: 18px;
  border-radius: 6px;
  overflow: hidden;
}
thead th {
  font-family: 'Lora', serif;
  font-weight: bold;
  background: #2D4065;
  color: #fff;
  text-align: left;
  padding: 14px 22px;
}
tbody td {
  padding: 12px 20px;
  border-top: 1px solid #e4e4d9;
}
tbody tr:nth-child(even) td {
  background: #fff;
}
table caption {
  font-size: 1.05rem;
  color: #6C8E5A;
  margin-bottom: 7px;
  font-style: italic;
}
@media (max-width: 768px) {
  table tbody td, thead th {
    padding: 8px 10px;
    font-size: 0.98rem;
  }
}

/* CTA Buttons */
.cta-btn {
  display: inline-block;
  background: #6C8E5A;
  color: #fff;
  font-size: 1.12rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 24px;
  padding: 14px 34px;
  box-shadow: 0 2px 8px rgba(44,64,101,0.09);
  margin-top: 12px;
  margin-bottom: 4px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.13s, box-shadow 0.18s;
}
.cta-btn:hover, .cta-btn:focus {
  background: #2D4065;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 20px rgba(44,64,101,0.16);
}

/* Text-Image Features, Cards, Section Layouts */
.card-content, .feature-item {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

/* Footer Styles */
footer {
  background: #fff;
  border-top: 1px solid #e7e7da;
  padding: 32px 20px 20px 20px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
  align-items: center;
  justify-content: flex-start;
}
.footer-nav a {
  font-size: 1rem;
  color: #2D4065;
  opacity: 0.87;
  padding: 0 2px;
  transition: color 0.16s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #6C8E5A;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 4px;
  font-size: 1rem;
  color: #2D4065;
}
.footer-contact div {
  margin-bottom: 6px;
}
@media (max-width: 700px) {
  .footer-contact {
    flex-direction: column;
    gap: 10px;
  }
  .footer-nav {
    gap: 12px;
  }
}

/* =================
   Responsive Design
   ================= */
@media (max-width: 768px) {
  html, body {
    font-size: 14px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.38rem; }
  h3 { font-size: 1.1rem; }
  .container {
    padding: 0 6px;
  }
}

/* ===============
   Spacing Rules
   =============== */
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  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;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ===============
   Micro-interactions
   =============== */
.card, .testimonial-card, .cta-btn, .main-nav a, .footer-nav a {
  transition: box-shadow 0.18s, background 0.18s, color 0.18s, transform 0.13s;
}

/* ================
   Cookie Consent
   ================ */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 99999;
  background: #2D4065;
  color: #fff;
  box-shadow: 0 -2px 16px rgba(44,64,101,0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 26px 18px 24px 18px;
  font-size: 1rem;
  gap: 18px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.22s, transform 0.22s;
}
.cookie-banner.hidden {
  opacity: 0;
  transform: translateY(150%);
  pointer-events: none;
}
.cookie-banner-buttons {
  display: flex;
  gap: 18px;
  margin-top: 10px;
}
.cookie-banner button {
  padding: 9px 22px;
  background: #6C8E5A;
  border: none;
  color: #fff;
  border-radius: 13px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.17s, color 0.18s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #F7F6E7;
  color: #2D4065;
  outline: none;
}
.cookie-banner .secondary {
  background: transparent;
  border: 2px solid #F7F6E7;
  color: #F7F6E7;
}
.cookie-banner .secondary:hover {
  background: #F7F6E7;
  color: #2D4065;
}

/* Cookie Modal */
.cookie-modal-overlay {
  display: none;
  position: fixed; z-index: 199999;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(44,64,101,0.29);
  align-items: center;
  justify-content: center;
  transition: background 0.21s;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  box-shadow: 0 8px 34px rgba(44,64,101,0.20);
  border-radius: 14px;
  padding: 34px 26px 28px 26px;
  max-width: 410px;
  width: 96vw;
  position: relative;
  color: #2D4065;
  font-size: 1rem;
  animation: modalPopIn 0.28s cubic-bezier(.52,.1,.53,.89);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
@keyframes modalPopIn {
  0% { transform: translateY(40px) scale(.95); opacity:0; }
  100% { transform: none; opacity: 1; }
}
.cookie-modal h2 { font-size: 1.25rem; margin-bottom: 4px; }
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #F7F6E7;
  border-radius: 8px;
  padding: 10px 12px;
}
.cookie-category label {
  flex: 1;
  font-weight: 500;
}
.cookie-category input[type='checkbox'] {
  accent-color: #6C8E5A;
  width: 18px; height: 18px;
}
.cookie-category input[disabled] {
  accent-color: #2D4065;
  opacity: 0.65;
}
.cookie-modal-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  padding-top: 8px;
}
.cookie-modal .btn {
  padding: 8px 24px;
  border-radius: 9px;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  background: #6C8E5A;
  color: #fff;
  cursor: pointer;
  transition: background 0.15s, color 0.18s;
}
.cookie-modal .btn.secondary {
  background: #F7F6E7;
  color: #2D4065;
  border: 2px solid #6C8E5A;
}
.cookie-modal .btn.secondary:hover {
  background: #6C8E5A; color: #fff;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 12px; right: 12px;
  background: none;
  border: none;
  color: #6C8E5A;
  font-size: 1.4rem;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 4px;
  transition: background 0.14s, color 0.18s;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  background: #F7F6E7;
  color: #2D4065;
}

/* ===============
   Utility & Helper
   =============== */
.text-section {
  margin-bottom: 22px;
}

/* Larger Containers: Gallery or Feature Lists */
@media (max-width: 570px) {
  .container {
    padding: 0 3px;
  }
  section, .section {
    padding: 17px 2px;
  }
}

/* Hide scroll on cookie modal open */
body.cookie-modal-open {
  overflow: hidden;
}

/* ===========================
   Accessibility
   =========================== */
:focus {
  outline: 2px solid #6C8E5A;
  outline-offset: 2px;
}

/* ==============================
   Miscellaneous Visual Elements
   ============================== */
::-webkit-scrollbar {
  width: 8px;
  background: #EFEEE1;
}
::-webkit-scrollbar-thumb {
  background: #D5DBCE;
  border-radius: 5px;
}

/* ================
   End of Style
   ================ */
