/* =================================================
   RheinGlanz Kreuzfahrten Professional Corporate CSS
   Palette: blue/gray, accent beige, clean and structured
   Fonts: Montserrat (display), Roboto (body)
   Layout: flexbox only, NO grid/columns/column-count
   Spacing: 8/16/20/24/32/40/60 px patterns
   ================================================= */

/* 1. CSS RESET & BASELINE NORMALIZATION ------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  height: 100%;
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #F5F8FA;
  color: #204A68;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 400;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #204A68;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #14314A;
  text-decoration: underline;
}
ul, ol {
  margin-left: 1.2em;
}
strong {
  font-weight: bold;
}

/* 2. TYPOGRAPHY ------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #204A68;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.25rem; line-height: 1.14; margin-bottom: 24px; }
h2 { font-size: 1.5rem; line-height: 1.22; margin-bottom: 20px; }
h3 { font-size: 1.125rem; line-height: 1.26; margin-bottom: 12px; }

p, li {
  font-size: 1rem;
  line-height: 1.7;
  color: #294563;
  margin-bottom: 12px;
}
@media (max-width: 480px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.2rem; }
  h3 { font-size: 1.05rem; }
}

/* 3. CONTAINER & LAYOUT FLEXBOX --------------------- */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (min-width: 900px) {
  .text-section {
    max-width: 60%;
  }
}

/* SECTIONS & SPACING -------------------------------- */
section {
  background: #FFF;
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(32,74,104,0.04);
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Flex Cards/Grids ---------------------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 8px 0 rgba(32,74,104,0.06);
  margin-bottom: 20px;
  padding: 32px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.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;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: #F9EFD6;
  border-left: 5px solid #204A68;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(32,74,104,.07);
  font-style: italic;
  color: #204A68;
  margin-bottom: 24px;
  max-width: 650px;
}

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

/* 4. NAVIGATION ------------------------------------- */
header {
  background: #204A68;
  color: #fff;
  padding: 0;
  box-shadow: 0 2px 14px rgba(30,60,98,0.06);
  position: sticky;
  top: 0; z-index: 100;
  width: 100%;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0 14px;
  padding: 0 20px;
  min-height: 72px;
}
.logo {
  margin-right: 30px;
  display: flex;
  align-items: center;
}
.logo img {
  height: 42px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #fff;
  font-weight: 500;
  margin-right: 8px;
  transition: color 0.18s;
  padding: 8px 12px;
  border-radius: 6px;
}
header nav a.cta.primary {
  background: #F9EFD6;
  color: #204A68;
  margin-left: 18px;
  font-weight: bold;
  letter-spacing: 0.02em;
  box-shadow: 0 1px 10px rgba(32,74,104,0.04);
}
header nav a.cta.primary:hover,
header nav a.cta.primary:focus {
  background: #B5C3D1;
  color: #204A68;
}
header nav a:hover,
header nav a:focus {
  background: #13304A;
  color: #B5C3D1;
}

/* HAMBURGER MENU (MOBILE) --------------------------- */
.mobile-menu-toggle {
  display: none;
  background: #204A68;
  color: #fff;
  border: none;
  font-size: 2rem;
  margin-left: auto;
  padding: 12px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 250;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #13304A;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #204A68;
  color: #fff;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100vh;
  z-index: 2000;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.68,-0.55,.27,1.55);
  box-shadow: 0 2px 24px rgba(32,74,104,0.14);
  visibility: hidden;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  margin: 20px 20px 0 0;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #14314A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  padding: 32px 32px 0 32px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: bold;
  background: none;
  border-radius: 6px;
  padding: 14px 10px;
  margin-bottom: 4px;
  transition: background 0.16s, color 0.16s;
  display: block;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #B5C3D1;
  color: #204A68;
}
@media (max-width: 980px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 981px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* 5. BUTTONS, LINKS, CTA ---------------------------- */
.cta, .cta.primary {
  display: inline-block;
  background: #204A68;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 8px;
  border: none;
  margin-top: 8px;
  text-align: center;
  transition: background 0.22s, color 0.18s, box-shadow 0.2s;
  box-shadow: 0 1px 8px rgba(32,74,104,0.08);
  cursor: pointer;
  letter-spacing: 0.01em;
}
.cta.primary {
  background: #204A68;
  color: #fff;
}
.cta.primary:hover, .cta.primary:focus {
  background: #13304A;
  color: #F9EFD6;
  box-shadow: 0 4px 18px rgba(32,74,104,0.13);
}
.cta.secondary {
  background: #B5C3D1;
  color: #204A68;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #204A68;
  color: #F9EFD6;
}
button:focus, .cta:focus {
  outline: 2px solid #B5C3D1;
  outline-offset: 2px;
}

/* 6. FEATURE LISTS / ICONS -------------------------- */
.feature-list, .service-list, .feature-grid, .event-highlights, .usp-bullets ul, .faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 32px;
  list-style: none;
  margin: 0 0 16px 0;
  padding: 0;
}
.feature-list li, .service-list li, .event-highlights li, .feature-grid li, .usp-bullets ul li {
  display: flex;
  flex-direction: column;
  background: #F5F8FA;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(32,74,104,0.05);
  padding: 20px 22px 18px 22px;
  min-width: 210px;
  max-width: 360px;
  gap: 10px;
  margin-bottom: 20px;
}
.feature-list img {
  height: 50px; width: 50px;
  margin-bottom: 6px;
}
.service-list li {
  min-width: 220px;
  max-width: 540px;
}
.feature-grid li {
  background: #EFEFF1;
}
.faq-list {
  flex-direction: column;
  gap: 20px;
}
.faq-list li {
  background: #F9EFD6;
  border: 1px solid #B5C3D1;
  border-radius: 8px;
  padding: 18px 22px;
  color: #204A68;
  margin-bottom: 14px;
}

/* USP Bullets ---------------------------------------*/
.usp-bullets ul {
  gap: 14px;
  flex-direction: column;
  background: none;
  box-shadow: none;
  padding: 0;
}
.usp-bullets ul li {
  background: none;
  padding: 0;
  box-shadow: none;
}

/* LEGAL TEXT (Datenschutz etc.) ---------------------*/
.legal-text {
  background: #F5F8FA;
  border-radius: 8px;
  padding: 20px 24px;
  margin: 16px 0;
  font-size: 1rem;
  color: #204A68;
}

/* CONTACT (Kontakt section) -------------------------*/
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #F9EFD6;
  border-radius: 10px;
  padding: 16px 24px;
  color: #204A68;
  margin-top: 6px;
  margin-bottom: 18px;
}
.contact-info ul {
  list-style: none;
  padding: 0;
}
.contact-info li {
  margin-bottom: 10px;
}
.map-snippet a {
  font-weight: bold;
  color: #204A68;
  text-decoration: underline;
}

/* RATINGS SECTION (Erlebnis & Service) --------------*/
.ratings {
  margin-top: 26px;
  font-size: 1.1rem;
  color: #204A68;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}

/* THANK YOU SECTION (thanks.php) ----------------*/
.thankyou-section {
  padding: 22px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.thankyou-section ul {
  margin-bottom: 16px;
  padding-left: 20px;
}

/* 7. FOOTER -----------------------------------------*/
footer {
  background: #204A68;
  color: #F9EFD6;
  padding: 38px 0 20px 0;
  border-radius: 0;
  margin-top: 40px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}
footer nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
footer nav a {
  color: #B5C3D1;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.16s, color 0.13s;
}
footer nav a:hover,
footer nav a:focus {
  background: #B5C3D1;
  color: #204A68;
}
.footer-branding img {
  height: 34px;
  margin: 15px 0;
}
.footer-contact {
  font-size: 0.98rem;
  color: #F9EFD6;
  text-align: center;
  margin-bottom: 3px;
}
.footer-contact p{
  color: white;
}

/* 8. COOKIE CONSENT BANNER --------------------------*/
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100%;
  background: #F9EFD6;
  box-shadow: 0 -2px 20px rgba(32,74,104,0.13);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  justify-content: center;
  padding: 23px 18px 19px 18px;
  z-index: 3000;
  font-size: 1rem;
  color: #204A68;
  animation: cookie-banner-slide-up 0.6s cubic-bezier(.68,-0.55,.27,1.55);
}
@keyframes cookie-banner-slide-up {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 18px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  background: #204A68;
  color: #fff;
  font-weight: bold;
  transition: background 0.14s, color 0.14s, box-shadow 0.15s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #B5C3D1;
  color: #204A68;
}
.cookie-banner button.settings {
  background: #B5C3D1;
  color: #204A68;
}
.cookie-banner button.settings:hover, .cookie-banner button.settings:focus {
  background: #204A68;
  color: #F9EFD6;
}

/* COOKIE MODAL OVERLAY ------------------------------*/
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right:0; bottom: 0;
  background: rgba(32,74,104,0.32);
  z-index: 3050;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.23s;
}
.cookie-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  padding: 38px 28px 26px 28px;
  max-width: 420px;
  width: 92vw;
  box-shadow: 0 6px 32px rgba(32,74,104,0.19);
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: #204A68;
  position: relative;
  z-index: 3100;
  animation: cookie-modal-fadein 0.33s cubic-bezier(.68,-0.55,.27,1.55);
}
@keyframes cookie-modal-fadein {
  0% { transform: translateY(24px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  margin-bottom: 6px;
}
.cookie-modal .modal-cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
  padding: 6px 0;
}
.cookie-modal label {
  font-size: 1rem; font-weight: 500;
}
.cookie-modal input[type="checkbox"] {
  width: 20px; height: 20px;
  accent-color: #204A68;
}
.cookie-modal .modal-buttons {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 16px;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 14px; right: 18px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #204A68;
  cursor: pointer;
}
.cookie-modal .always-enabled {
  color: #aaa;
  font-size: 0.97rem;
  margin-left: 7px;
}

/* ANIMATION for modal fade-in/out -------------------*/

/* 9. MEDIA QUERIES: RESPONSIVE --------------------- */
@media (max-width: 980px) {
  .container {
    max-width: 98vw;
    padding: 0 10px;
  }
  section {
    padding: 24px 6px;
    border-radius: 12px;
  }
}
@media (max-width: 768px) {
  section, header, footer, .card, .testimonial-card {
    border-radius: 0;
  }
  section {
    padding: 20px 0 18px 0;
    margin-bottom: 36px;
  }
  .content-wrapper, .card-container, .feature-list, .service-list, .feature-grid, .event-highlights {
    flex-direction: column;
    gap: 18px !important;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .faq-list li, .testimonial-card, .card {
    padding: 18px 10px;
  }
  .testimonial-card {
    max-width: 100%;
  }
  .feature-list li, .service-list li, .event-highlights li {
    min-width: 0;
    max-width: 100%;
  }
}

/* 10. MICRO-INTERACTIONS, HOVER & TRANSITIONS ------ */
button, .cta, .cta.primary, a {
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.card, .testimonial-card, .feature-list li, .service-list li {
  transition: box-shadow 0.22s, transform 0.16s;
}
.card:hover, .feature-list li:hover, .testimonial-card:hover, .service-list li:hover {
  box-shadow: 0 6px 24px rgba(32,74,104,0.15);
  transform: translateY(-2px) scale(1.015);
}

/* Ensure NO elements overlap ------------------------*/
.card, .testimonial-card, .feature-list li, .service-list li, .faq-list li, .event-highlights li, .feature-grid li {
  margin-bottom: 20px;
}

/* Accessibility & Contrast in testimonials ----------*/
.testimonial-card p, .testimonial-card strong {
  color: #204A68;
}

/* 11. MISC: UTILITY CLASSES ------------------------ */
.hide-mobile { display: block; }
@media (max-width: 768px) { .hide-mobile { display: none !important; } }
.show-mobile { display: none; }
@media (max-width: 980px) { .show-mobile { display: block !important; } }

/* 12. Z-INDEX MANAGEMENT --------------------------- */
header { z-index: 100; }
.mobile-menu { z-index: 2000; }
.cookie-banner { z-index: 3000; }
.cookie-modal-backdrop { z-index: 3050; }

/* END OF RheinGlanz Corporate Styles --------------- */