/* ===============================
   Reset and Box Sizing Normalizer
   =============================== */

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-size: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: #F3F3F3;
  color: #203355;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img, picture, video {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #203355;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F5C77B;
  outline: none;
}
ul, ol {
  list-style: none;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ==================
   Typography Styles
   ================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #203355;
  font-weight: 700;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.14;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  line-height: 1.14;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 16px;
}
h4 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}
p, .subtitle {
  font-size: 1rem;
  margin-bottom: 16px;
}
.subtitle {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1.125rem;
  color: #203355;
  font-weight: 400;
  margin-bottom: 24px;
}
strong {
  color: #203355;
  font-weight: 700;
}

/* ===============================
   Layout & Containers (Flex Only)
   =============================== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.card-container,
.card-grid,
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card,
.feature-grid > div {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 20px 0 rgba(32, 51, 85, 0.07);
  padding: 28px 24px;
  position: relative;
  min-width: 220px;
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.18s;
}
.card:hover,
.feature-grid > div:hover {
  box-shadow: 0 8px 28px 0 rgba(32, 51, 85, 0.17);
}

.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;
}
.text-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/**** Testimonials (Cards) ****/
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(32, 51, 85, 0.09);
  padding: 28px 24px 18px 24px;
  min-width: 220px;
  flex: 1 1 280px;
  color: #203355;
  margin-bottom: 20px;
  position: relative;
}
.testimonial-meta {
  font-size: 0.98rem;
  color: #203355;
  opacity: 0.86;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  margin-top: 8px;
}
/**** Feature Items (if used) ****/
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/**** Footer Navigation ****/
.footer-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
  justify-content: center;
}
.footer-navigation a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: #203355;
  font-size: 1rem;
  position: relative;
}
.footer-navigation a:hover {
  color: #F5C77B;
}

/**** Cards for features and services ****/
.feature-grid > div {
  /* already styled as cards above */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  border-left: 8px solid #F5C77B;
  transition: border-color 0.2s, box-shadow 0.18s;
}
.feature-grid > div:hover {
  border-left: 8px solid #203355;
}
.feature-grid img {
  width: 40px;
  height: 40px;
  margin-bottom: 6px;
}
.feature-grid h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

/**** Strong Visual CTA Button Styles ****/
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 1.08rem;
  background: #203355;
  color: #fff;
  border-radius: 14px;
  padding: 15px 30px;
  letter-spacing: 0.5px;
  margin-top: 8px;
  box-shadow: 0 2px 16px 0 rgba(32, 51, 85, 0.085);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
}
.cta-btn.primary {
  background: #F5C77B;
  color: #203355;
}
.cta-btn.primary:hover, .cta-btn.primary:focus {
  background: #203355;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 32px 0 rgba(32, 51, 85, 0.18);
}
.cta-btn:hover, .cta-btn:focus {
  background: #F5C77B;
  color: #203355;
  transform: translateY(-2px) scale(1.03);
}

/* ==========
   Header/Nav
   ========== */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 1px 8px 0 rgba(32, 51, 85, 0.04);
  position: sticky;
  top: 0;
  left: 0;
  z-index: 900;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 18px 16px 16px 16px;
  gap: 28px;
  position: relative;
}
header img {
  height: 44px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1 1 auto;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  color: #203355;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.17s, color 0.17s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F5C77B;
  color: #203355;
}

/**** Burger for Mobile ****/
.mobile-menu-toggle {
  display: none;
  background: #203355;
  color: #fff;
  border-radius: 9px;
  padding: 12px 16px;
  font-size: 1.4rem;
  margin-left: 20px;
  z-index: 1001;
  box-shadow: 0 2px 10px 0 rgba(32, 51, 85, 0.15);
  transition: background 0.18s, box-shadow 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #F5C77B;
  color: #203355;
}

/**** Mobile Menu Overlay ****/
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(32, 51, 85, 0.98);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-100vw);
  transition: transform 0.37s cubic-bezier(.67,.09,.32,1.18), opacity 0.22s;
  z-index: 2000;
}
.mobile-menu.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
.mobile-menu-close {
  background: #F5C77B;
  color: #203355;
  font-size: 2.2rem;
  border-radius: 9px;
  padding: 8px 18px 8px 18px;
  align-self: flex-end;
  margin: 18px 24px 24px 0;
  box-shadow: 0 2px 12px 0 rgba(32, 51, 85, 0.1);
  cursor: pointer;
  transition: background 0.17s, color 0.17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #203355;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 22px;
  padding: 0 38px;
  margin-top: 28px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  padding: 16px 0;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F5C77B;
  color: #203355;
}

/* ========== HERO SECTIONS ========== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
section .container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Page-specific: padding tweaks */
main > section:first-of-type {
  padding-top: 60px;
}
main > section:last-of-type {
  margin-bottom: 0;
}

/* ===================
   Footer Styles
   =================== */
footer {
  background: #203355;
  color: #fff;
  padding: 32px 0 12px 0;
  margin-top: 85px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
footer a {
  color: #F5C77B;
}
footer a:hover, footer a:focus {
  color: #fff;
}
footer img {
  width: 44px;
  height: 44px;
  margin: 8px 0;
}
.copyright {
  font-size: 0.98rem;
  opacity: 0.75;
  margin-top: 8px;
}

/* ===================
   Cookie Consent Banner
   =================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -2px 24px 0 rgba(32, 51, 85, 0.17);
  padding: 24px 16px 20px 16px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  animation: cookieBannerAppear 0.85s cubic-bezier(.7,1.6,.3,1) both;
}
@keyframes cookieBannerAppear {
  0% {
    opacity: 0;
    transform: translateY(160px);
  }
  65% {
    opacity: 1;
    transform: translateY(-8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.cookie-banner p {
  margin: 0 0 8px 0;
  color: #203355;
  font-size: 1rem;
  text-align: center;
}

.cookie-btns {
  display: flex;
  gap: 18px;
}
.cookie-btn, .cookie-banner button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border: none;
  padding: 11px 24px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  background: #F5C77B;
  color: #203355;
  margin: 0 4px;
  transition: background 0.17s, color 0.17s, box-shadow 0.16s, transform 0.15s;
  box-shadow: 0 1px 9px 0 rgba(32, 51, 85, 0.07);
}
.cookie-btn[class*='accept'] {
  background: #203355;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #F5C77B;
  color: #203355;
  transform: scale(1.06);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #203355;
  color: #fff;
  transform: scale(1.06);
}
.cookie-btn.settings {
  background: #F3F3F3;
  color: #203355;
  border: 1px solid #F5C77B;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #F5C77B;
  color: #203355;
  transform: scale(1.06);
}

/* --- Cookie Modal --- */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, 60px) scale(0.97);
  background: #fff;
  color: #203355;
  border-radius: 22px;
  box-shadow: 0 7px 36px 0 rgba(32, 51, 85, 0.21);
  z-index: 3200;
  width: 94vw;
  max-width: 388px;
  padding: 38px 26px 32px 26px;
  display: none;
  flex-direction: column;
  gap: 22px;
  animation: cookieModalIn 0.45s cubic-bezier(.8,2.2,.29,1) both;
}
.cookie-modal.active {
  display: flex;
}
@keyframes cookieModalIn {
  from {
    opacity: 0;
    transform: translate(-50%,140px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translate(-50%,60px) scale(0.97);
  }
}
.cookie-modal h3 {
  margin-bottom: 12px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.13rem;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}
.cookie-category label {
  font-size: 1.04rem;
  font-weight: 600;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.cookie-modal input[type="checkbox"] {
  appearance: none;
  border: 2px solid #203355;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  margin-right: 8px;
  position: relative;
  outline: none;
  transition: border 0.16s, background 0.14s;
}
.cookie-modal input[type="checkbox"]:checked {
  background: #F5C77B;
  border-color: #F5C77B;
}
.cookie-modal input[type="checkbox"]:checked::after {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  background: #203355;
  border-radius: 3px;
  position: absolute;
  top: 5px;
  left: 5px;
}
.cookie-category .category-desc {
  font-size: 0.98rem;
  color: #203355;
  opacity: 0.75;
  margin-left: 6px;
}
.cookie-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 15px;
}
.cookie-modal .cookie-btn {
  min-width: 112px;
  padding: 10px 0;
}

/* --- Always show Essential cookies as enabled/locked --- */
.cookie-category.essential input[type="checkbox"] {
  background: #F5C77B;
  border-color: #F5C77B;
  pointer-events: none;
}
.cookie-category.essential label:after {
  content: ' (immer aktiviert)';
  font-size: 0.86em;
  color: #849abf;
  font-weight: 400;
}

/*****************************************************
   Responsive (Mobile First) Modern Bold Adjustments
*****************************************************/
@media (max-width: 1024px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.53rem;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 95vw;
    padding: 0 10px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 1.43rem;
  }
  h2 {
    font-size: 1.19rem;
  }
  h3 {
    font-size: 1rem;
  }
  .main-nav { display: none; }
  .cta-btn.primary { margin-left: 0; }
  .mobile-menu-toggle {
    display: inline-flex;
  }
  header .container {
    flex-direction: row;
    justify-content: space-between;
    gap: 12px;
    min-height: 62px;
    padding: 12px 8px 12px 10px;
  }
  .section, section {
    padding: 26px 8px 32px 8px;
    margin-bottom: 34px;
  }
  .content-wrapper, .feature-grid, .card-container, .testimonials, .content-grid {
    flex-direction: column !important;
    gap: 20px !important;
  }
  .feature-grid > div, .card, .testimonial-card {
    min-width: 120px;
    padding: 22px 14px;
  }
  .footer-navigation {
    gap: 14px;
    font-size: 0.98rem;
  }
}

@media (max-width: 550px) {
  html {
    font-size: 95%;
  }
  .container, .feature-grid, .card-container {
    max-width: 100vw;
    padding: 0 5px;
  }
  .cta-btn, .cta-btn.primary {
    width: 100%;
    padding: 14px;
    font-size: 1.05rem;
    justify-content: center;
  }
}

/******* Visual Details: Geometric, Bold, Shadow, Effects *******/
.card, .testimonial-card, .feature-grid > div {
  border-radius: 18px 48px 18px 18px;
  border-right: 7px solid #20335515;
}

/******* Animations (Micro-interactions) ********/
.cta-btn, .cookie-btn {
  transition: background 0.17s, color 0.17s, box-shadow 0.13s, transform 0.16s;
}
.card, .testimonial-card, .feature-grid > div {
  transition: box-shadow 0.23s, border-color 0.18s, transform 0.2s;
}
.card:hover, .testimonial-card:hover, .feature-grid > div:hover {
  transform: translateY(-3px) scale(1.022);
  box-shadow: 0 10px 36px 0 rgba(32, 51, 85, 0.18);
}

/******* Icon & List Emphasis *******/
ul li, ol li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 24px;
  font-size: 1rem;
  color: #203355;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
ul li:before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 14px; height: 14px;
  background: #F5C77B;
  border-radius: 3px;
  display: inline-block;
}
ol li:before {
  display: none;
}


/******* Helper/Utility Classes *******/
.mb-0 { margin-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.center { text-align: center; justify-content: center; align-items: center; }

/******* Form Elements (if any in contact) *******/
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  padding: 10px 12px;
  border: 1.8px solid #20335523;
  border-radius: 9px;
  background: #F3F3F3;
  color: #203355;
  margin-bottom: 16px;
  transition: border 0.14s;
}
input:focus, textarea:focus, select:focus {
  border-color: #F5C77B;
  outline: none;
}

/******* High Contrast Accessibility for Testimonials *******/
.testimonial-card {
  background: #fff !important;
  color: #203355 !important;
  box-shadow: 0 3px 16px 0 rgba(32,51,85,0.10);
}
.testimonial-card p {
  color: #203355;
  font-size: 1.08rem;
  font-weight: 600;
}

/***** Legal Text Sections ******/
.text-section {
  color: #203355;
  font-size: 1rem;
  background: none;
}

/**** Utility for Modal Blur BG (if needed) ****/
.cookie-modal-bg {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(32,51,85,0.46);
  z-index: 3190;
  display: none;
}
.cookie-modal-bg.active { display: block; }

/******* Geometry Shapes (Bold Details) *******/
.feature-grid > div:before {
  content: '';
  display: block;
  position: absolute;
  top: -16px; right: -16px;
  width: 38px; height: 38px;
  background: #F5C77B22;
  border-radius: 16px 0 32px 0;
  z-index: 0;
  pointer-events: none;
}

/******* Hide empty feature-grid h2 cell on restauranttouren *******/
.feature-grid > h2 {
  display: none;
}

/* ===== END OF STYLES ===== */
