/* ----------------------------
   CSS 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,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F0EDE7;
  color: #26333B;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 0.01em;
  min-height: 100vh;
  scroll-behavior: smooth;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #6A8B75;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.77,0,.175,1);
}
a:hover, a:focus {
  color: #26333B;
  outline: none;
}
ul, ol {
  list-style-position: inside;
}

/* ----------------------------
   TYPOGRAPHY HIERARCHY
   ---------------------------- */

h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.5rem; /* 40px */
  line-height: 1.1;
  margin-bottom: 24px;
  color: #26333B;
}
h2 {
  font-size: 2rem; /* 32px */
  line-height: 1.15;
  margin-bottom: 20px;
  color: #26333B;
}
h3 {
  font-size: 1.25rem; /* 20px */
  line-height: 1.18;
  margin-bottom: 16px;
  color: #26333B;
}
h4 {
  font-size: 1.12rem; /* 18px */
  line-height: 1.22;
  margin-bottom: 14px;
}
p, li, blockquote, cite {
  font-size: 1rem;
  line-height: 1.6;
}
blockquote {
  font-style: italic;
  font-weight: 600;
  margin-bottom: 12px;
  color: #26333B;
  quotes: '\201C''\201D''\2018''\2019';
}
blockquote:before {
  content: open-quote;
  color: #6A8B75;
  font-size: 2rem;
  vertical-align: -12px;
  margin-right: 6px;
}
.tagline {
  color: #6A8B75;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 18px 0 10px 0;
  letter-spacing: 0.02em;
}
strong, b {
  font-weight: 800;
}

/* ----------------------------
   FLEXBOX LAYOUT HELPERS
   ---------------------------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #FFF;
  border-radius: 20px;
  box-shadow: 0 7px 32px rgba(38,51,59,.07), 0 1.5px 6px rgba(106,139,117,.09);
  padding: 32px 26px;
  min-width: 260px;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.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;
}
/* Testimonials cards */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 5px 20px rgba(38,51,59,.07), 0 1.5px 6px rgba(106,139,117,.11);
  margin-bottom: 20px;
  margin-top: 0;
  border-left: 8px solid #6A8B75;
  color: #26333B;
  max-width: 650px;
}
.testimonial-card cite {
  font-weight: bold;
  font-size: 1rem;
  color: #26333B;
  font-style: normal;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 16px;
}

/* Section anchor spacings */
.features ul, .services ul, .about ul, .about ol, .about .text-section ul,
.legal .text-section ul, .legal .text-section ol {
  margin: 0 0 5px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.features ul li,
.services ul li,
.about ul li,
.legal .text-section ul li {
  display: flex;
  align-items: center;
  font-size: 1.01rem;
  gap: 12px;
  border-radius: 10px;
  font-weight: 600;
  background-color: rgba(106, 139, 117, .08);
  padding: 11px 14px;
  margin-bottom: 0px;
}
.features ul li img, .services ul li img, .about ul li img {
  width: 30px;
  height: 30px;
  margin-right: 12px;
}

/* -----------------------------
   HERO SECTION
   ----------------------------- */
.hero {
  background: #26333B;
  color: #FFF;
  padding: 60px 0 54px 0;
  margin-bottom: 48px;
  border-radius: 0 0 38px 38px;
  position: relative;
  box-shadow: 0 8px 44px 0 rgba(38,51,59,.11);
  overflow: hidden;
}
.hero .content-wrapper {
  gap: 14px;
  align-items: flex-start;
  justify-content: center;
  max-width: 620px;
}
.hero h1, .hero h2 {
  color: #FFF;
  text-shadow: 0 3px 22px rgba(38,51,59,.11);
}
.hero h1 { margin-bottom: 6px; }
.hero h2 {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.35rem;
  color: #F0EDE7;
  margin-bottom: 30px;
}

/* CTA Buttons */
.cta, .cta.primary {
  padding: 15px 36px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  display: inline-block;
  letter-spacing: 0.025em;
  box-shadow: 0 2px 10px rgba(38,51,59,.08);
  line-height: 1.2;
  transition: background 0.18s, color 0.18s, transform 0.14s, box-shadow 0.18s;
  margin-top: 12px;
  margin-bottom: 7px;
}
.cta.primary {
  background-color: #6A8B75;
  color: #FFF;
}
.cta {
  background: #F0EDE7;
  color: #26333B;
  border: 2px solid #26333B;
}
.cta.primary:hover, .cta.primary:focus {
  background: #26333B;
  color: #F0EDE7;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 28px rgba(38,51,59,.13);
}
.cta:hover, .cta:focus {
  background: #26333B;
  color: #F0EDE7;
  border-color: #26333B;
  transform: translateY(-2px) scale(1.05);
}

/* Section Headings Deco */
.section h2, .about h2, .features h2, .services h2, .testimonials h2, .hero h1 {
  position: relative;
}
.section h2:after, .features h2:after, .about h2:after, .services h2:after {
  content: '';
  display: block;
  width: 42px;
  height: 6px;
  border-radius: 4px;
  background: #6A8B75;
  margin-top: 7px;
}
.hero h1:after {
  content: '';
  display: block;
  width: 58px;
  height: 7px;
  border-radius: 4px;
  background: #6A8B75;
  margin-top: 9px;
}

/* -----------------------------
   NAVIGATION & HEADER
   ----------------------------- */
header {
  background: #F0EDE7;
  box-shadow: 0 2px 8px rgba(38,51,59,.06);
  position: sticky;
  top: 0;
  z-index: 40;
}
.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 19px;
  padding: 14px 0 13px 0;
  font-size: 1.07rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.015em;
  max-width: 1120px;
  margin: 0 auto;
  position: relative;
}
.main-nav a {
  color: #26333B;
  padding: 9px 8px;
  border-radius: 7px;
  transition: background 0.18s, color 0.15s, transform 0.15s;
  font-weight: 700;
}
.main-nav a:hover, .main-nav a:focus {
  background: #6A8B75;
  color: #FFF;
  transform: scale(1.05);
}
.main-nav img {
  height: 38px;
  margin-right: 10px;
}
.nav-cta {
  background: #6A8B75;
  color: #FFF !important;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 800;
  box-shadow: 0 2px 10px rgba(38,51,59,.08);
  margin-left: 8px;
  transition: background 0.15s, color 0.15s, transform 0.13s;
}
.nav-cta:hover, .nav-cta:focus {
  background: #26333B;
  color: #F0EDE7 !important;
  transform: scale(1.08);
}

/* Hamburger menu toggle */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 18px;
  top: 14px;
  width: 48px;
  height: 48px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #26333B;
  cursor: pointer;
  z-index: 51;
  transition: color 0.18s;
}
.mobile-menu-toggle:focus {
  color: #6A8B75;
  outline: 2px solid #26333B;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #26333B;
  color: #FFF;
  z-index: 100;
  display: flex;
  flex-direction: column;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.52,.1,.18,1.15);
  box-shadow: 0 4px 40px rgba(38,51,59,.13);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #F0EDE7;
  font-size: 2.1rem;
  position: absolute;
  top: 22px;
  right: 22px;
  cursor: pointer;
  z-index: 101;
  padding: 9px 19px;
  border-radius: 8px;
  transition: background 0.14s, color 0.14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #6A8B75;
  color: #FFF;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
  margin-top: 85px;
  margin-left: 45px;
}
.mobile-nav a {
  color: #FFF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.28rem;
  padding: 10px 12px;
  border-radius: 8px;
  letter-spacing: 0.01em;
  transition: background 0.18s, color 0.18s, transform 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #6A8B75;
  color: #F0EDE7;
  transform: translateX(7px) scale(1.045);
}
@media (max-width: 1050px) {
  .main-nav {
    font-size: 0.97rem;
    gap: 13px;
    padding-left: 13px; padding-right:13px;
  }
}
@media (max-width: 870px) {
  .main-nav {
    font-size: 0.89rem;
    gap: 7px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .mobile-menu {
    display: flex;
  }
}

/* -----------------------------
   FOOTER
   ----------------------------- */
footer {
  background: #26333B;
  color: #F0EDE7;
  margin-top: 80px;
  border-radius: 32px 32px 0 0;
}
.footer-main {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 38px;
  padding: 45px 20px 24px 20px;
  max-width: 1120px;
  margin: 0 auto;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 150px;
}
.footer-nav a {
  color: #F0EDE7;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding-left: 2px;
  transition: color 0.11s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #6A8B75;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.98rem;
}
footer img {
  height: 45px;
  margin-bottom: 12px;
}
@media (max-width: 740px) {
  .footer-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    border-radius: 0;
  }
}

/* --------------------------
   PAGE SPECIFIC SECTIONS
   -------------------------- */
.next-steps, .tour-highlights, .participant-feedback,
.benefits-list, .success-stories, .customer-feedback, .schedule-overview, .pricing, .service-process {
  background: #F4F9F6;
  border-radius: 14px;
  padding: 15px 20px;
  margin-bottom: 18px;
  margin-top: 10px;
  color: #26333B;
  font-size: 1.03rem;
  font-weight: 600;
}
.team-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 20px 0 5px 0;
}
.team-photo-placeholder img {
  width: 68px;
  height: 68px;
  border-radius: 26px;
  box-shadow: 0 2px 13px rgba(106,139,117,.16);
}
/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  margin-bottom: 20px;
}
table caption {
  font-weight: bold;
  margin-bottom: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
}
td, th {
  padding: 11px 13px;
  border: 1.5px solid #6A8B75;
  text-align: left;
  font-size: 1rem;
}
th {
  background: #6A8B75;
  color: #FFF;
}

/* Legal section lists */
.legal .text-section {
  margin-bottom: 0px;
  max-width: 740px;
}
.legal .text-section ul {
  gap: 10px;
}

/* Confirmation */
.confirmation {
  margin-bottom: 60px;
  padding: 48px 0;
}
.confirmation h1 {
  color: #26333B;
}

/* ----------------------------------
   RESPONSIVE BREAKPOINTS (Mobile)
   ---------------------------------- */
@media (max-width: 1100px) {
  .container {
    max-width: 99vw;
    padding-left: 16px;
    padding-right: 16px;
  }
  .footer-main {
    padding-left: 12px;
    padding-right: 12px;
  }
}
@media (max-width: 900px) {
  .content-grid, .card-container {
    gap: 13px;
  }
}
@media (max-width: 768px) {
  .content-wrapper {
    gap: 16px;
  }
  .section, .confirmation {
    padding: 23px 8px;
    margin-bottom: 39px;
  }
  .hero {
    padding: 32px 0 30px 0;
    border-radius: 0 0 18px 18px;
  }
  h1 {
    font-size: 2.1rem;
  }
  h2 {
    font-size: 1.34rem;
  }
  .footer-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 24px 8px 7px 8px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .card, .testimonial-card {
    min-width: 90vw;
    max-width: 99vw;
    padding: 22px 9px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .mobile-menu {
    padding-left: 10px;
  }
}

/* -----------------------
   MICRO-INTERACTIONS
   ----------------------- */
.card, .testimonial-card, .section, .footer-main, .hero, .cta, .mobile-menu, .mobile-menu-close, .main-nav a, .nav-cta {
  transition: box-shadow 0.18s cubic-bezier(.77,0,.175,1), transform 0.18s cubic-bezier(.77,0,.175,1);
}
.card:hover, .testimonial-card:hover,
.card:focus, .testimonial-card:focus {
  box-shadow: 0 8px 30px rgba(38,51,59,.13), 0 3.5px 9px rgba(106,139,117,.10);
  transform: translateY(-2px) scale(1.02);
}

/* Decorative geometric shapes (background): can be added with :before/:after for future design */


/* -------------------------------
   COOKIE CONSENT BANNER & MODAL
   ------------------------------- */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #26333B;
  color: #F0EDE7;
  padding: 28px 15px 22px 15px;
  z-index: 2000;
  font-size: 1rem;
  box-shadow: 0 -3px 28px rgba(38,51,59,.15);
  width: 100vw;
  flex-direction: row;
  gap: 28px;
  transition: transform 0.28s cubic-bezier(.77,0,.175,1), opacity 0.24s;
}
.cookie-consent-banner.hide {
  transform: translateY(105%);
  opacity: 0;
  pointer-events: none;
}
.cookie-consent-banner p {
  margin: 0;
  max-width: 500px;
  line-height: 1.7;
}
.cookie-consent-buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
}
.cookie-btn {
  padding: 9px 22px;
  background: #6A8B75;
  color: #FFF;
  border: none;
  border-radius: 7px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  margin-right: 5px;
  transition: background 0.19s, color 0.16s, transform 0.14s;
  box-shadow: 0 1.5px 15px rgba(106,139,117,.12);
}
.cookie-btn:last-child { margin-right: 0; }
.cookie-btn:hover, .cookie-btn:focus {
  background: #26333B;
  color: #F0EDE7;
  transform: scale(1.04);
}
.cookie-btn[data-action="reject"] {
  background: #e15962;
  color: #fff;
}
.cookie-btn[data-action="reject"]:hover, .cookie-btn[data-action="reject"]:focus {
  background: #ad2124;
  color: #fff;
}
.cookie-btn[data-action="settings"] {
  background: #FFF;
  color: #26333B;
  border: 2px solid #6A8B75;
}
.cookie-btn[data-action="settings"]:hover {
  background: #6A8B75;
  color: #FFF;
  border-color: #26333B;
}
@media (max-width: 670px) {
  .cookie-consent-banner { flex-direction: column; align-items: flex-start; gap: 15px; padding: 19px 10px 15px 10px; }
  .cookie-consent-buttons { gap: 12px; }
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(38,51,59,0.63);
  z-index: 2500;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.24s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-dialog {
  background: #FFF;
  border-radius: 16px;
  max-width: 430px;
  width: 95vw;
  padding: 38px 22px 27px 22px;
  color: #26333B;
  box-shadow: 0 5px 44px rgba(38,51,59,.16);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal-dialog h2 {
  font-size: 1.43rem;
  color: #26333B;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 4px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 13px;
}
.cookie-category label {
  font-weight: 600;
  cursor: pointer;
}
.cookie-toggle {
  display: inline-flex;
  width: 46px;
  height: 26px;
  align-items: center;
  border-radius: 13px;
  background: #f1f2f4;
  position: relative;
  margin-right: 8px;
}
.cookie-toggle input[type="checkbox"] {
  opacity: 0;
  width: 0; height: 0;
  position: absolute;
}
.cookie-toggle span {
  display: block;
  width: 22px; height: 22px;
  background: #26333B;
  border-radius: 50%;
  position: absolute;
  left: 2px; top: 2px;
  transition: left 0.17s;
}
.cookie-toggle input[type="checkbox"]:checked + span {
  left: 22px;
  background: #6A8B75;
}
/* Essential always on */
.cookie-category[data-essential] .cookie-toggle {
  background: #6A8B75;
}
.cookie-category[data-essential] label:after {
  content: " (immer aktiv)";
  color: #888;
  font-weight: 400;
  font-size: 0.97em;
  margin-left: 5px;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 11px;
}
.cookie-modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.3rem;
  color: #6A8B75;
  cursor: pointer;
  transition: color 0.17s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #e15962;
}
@media (max-width: 510px) {
  .cookie-modal-dialog { padding: 25px 5vw 13px 5vw; gap:11px; }
  .cookie-modal-dialog h2 { font-size: 1.05rem; }
}

/* -------------------------------------
   MISC
   ------------------------------------- */
::-webkit-scrollbar { width: 9px; background: #F0EDE7; }
::-webkit-scrollbar-thumb { background: #6A8B75; border-radius: 7px; }
::-webkit-scrollbar-thumb:hover { background: #26333B; }

/* Visually distinguishable focus for a11y */
a:focus, button:focus, .cookie-btn:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus {
  outline: 2px solid #6A8B75;
  outline-offset: 2px;
}

/* ------------------------------------
   COLOR UTILITIES - for geometric deco
   ------------------------------------ */
.bg-primary { background: #26333B !important; color: #F0EDE7 !important; }
.bg-secondary { background: #6A8B75 !important; color: #FFF !important; }
.bg-accent { background: #F0EDE7 !important; color: #26333B !important; }

/* -------------------------------------
   PRINT OVERRIDES
   ------------------------------------- */
@media print {
  .main-nav, .mobile-menu, .mobile-menu-toggle, .cookie-consent-banner, .cookie-modal { display: none !important; }
  body { background: #FFF; color: #000; }
}
