/* ============================== */
/* CSS Reset & Normalize (Mobile-First) */
/* ============================== */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #F3F5F7;
  color: #1C3C58;
  min-height: 100vh;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #F3F5F7;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #1C3C58;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #79AABF;
  outline-offset: 2px;
}
ul, ol {
  padding-left: 20px;
  margin-bottom: 24px;
}
strong {
  font-weight: 700;
}
/* Remove number arrows for number inputs */
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type=number] {
  -moz-appearance: textfield;
}

/* ============================== */
/* Typography */
/* ============================== */
h1, .h1 {
  font-family: 'Roboto Slab', Georgia, "Times New Roman", serif;
  font-size: 2.25rem;
  line-height: 1.1;
  color: #1C3C58;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
h2, .h2 {
  font-family: 'Roboto Slab', Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #1C3C58;
  font-weight: 600;
  letter-spacing: -0.2px;
}
h3, .h3 {
  font-family: 'Roboto Slab', Georgia, "Times New Roman", serif;
  font-size: 1.125rem;
  margin-bottom: 12px;
  color: #1C3C58;
  font-weight: 500;
}
h4, .h4 {
  font-family: 'Roboto Slab', Georgia, "Times New Roman", serif;
  font-size: 1rem;
  margin-bottom: 10px;
  color: #1C3C58;
  font-weight: 500;
}
p, address {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #26384C;
}
li {
  margin-bottom: 8px;
  font-size: 1rem;
}

/* ============================== */
/* Layout & Containers */
/* ============================== */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px 0 rgba(28,60,88,0.05);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.features-grid, .service-list, .guide-list, .featured-guides {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.features-grid > div, .service-list > div, .featured-guides > div {
  background: #F3F5F7;
  border-radius: 10px;
  box-shadow: 0 2px 12px 0 rgba(28,60,88,0.07);
  padding: 24px 18px;
  flex: 1 1 260px;
  min-width: 240px;
  transition: box-shadow 0.15s, transform 0.15s;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.features-grid > div:hover, .service-list > div:hover, .featured-guides > div:hover {
  box-shadow: 0 8px 24px 0 rgba(28,60,88,0.13);
  transform: translateY(-4px);
}
.map-placeholder {
  background: #E6EEF2;
  color: #8197A7;
  border-radius: 8px;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: italic;
  font-size: 1rem;
  padding: 18px 12px;
  margin-top: 20px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Responsive two-column for .content-wrapper in Kontakt */
.content-wrapper {
  gap: 24px;
}
@media (min-width: 900px) {
  .content-wrapper {
    align-items: flex-start;
  }
  .features-grid, .service-list, .guide-list, .featured-guides {
    flex-direction: row;
    gap: 32px;
  }
}

/* Avoid overlap - always at least 20px margin/gap */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  box-shadow: 0 2px 10px 0 rgba(28,60,88,0.06);
  border-radius: 10px;
  margin-bottom: 20px;
  padding: 24px 18px;
  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;
}
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  background: #fff;
  box-shadow: 0 4px 18px 0 rgba(28,60,88,0.11);
  border-radius: 14px;
  padding: 20px;
  min-width: 240px;
  max-width: 350px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  border-left: 5px solid #79AABF;
  transition: box-shadow 0.15s;
}
.testimonial-card p {
  color: #26384C;
  font-size: 1rem;
  font-style: italic;
}
.testimonial-card span {
  color: #506A7D;
  font-size: 0.97rem;
  font-weight: 500;
}
.testimonial-card .stars {
  color: #F4BE23;
  font-size: 1.1rem;
  letter-spacing: 1px;
}

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

/* ============================== */
/* Navigation & Header */
/* ============================== */
header {
  background: #fff;
  border-bottom: 1px solid #E2EAF2;
  position: relative;
  z-index: 100;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  padding: 14px 0 14px 0;
}
.main-nav img {
  height: 42px;
  width: auto;
  flex-shrink: 0;
  margin-right: 6px;
}
.main-nav a {
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #1C3C58;
  padding: 8px 8px;
  border-radius: 6px;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
  line-height: 1.3;
  position: relative;
}
.main-nav .cta-btn {
  background: #1C3C58;
  color: #fff;
  border-radius: 7px;
  padding: 9px 20px;
  font-weight: 700;
  margin-left: 20px;
  box-shadow: 0 2px 8px rgba(28,60,88,0.11);
  transition: background 0.2s, box-shadow 0.2s;
}
.main-nav .cta-btn:hover, .main-nav .cta-btn:focus {
  background: #79AABF;
  color: #fff;
  box-shadow: 0 4px 12px rgba(28,60,88,0.16);
}
.main-nav a:not(.cta-btn):hover, .main-nav a:not(.cta-btn):focus {
  background: #F3F5F7;
  color: #194365;
}
.main-nav a.active {
  background: #E6EEF2;
  color: #1C3C58;
  font-weight: 700;
}

@media (max-width: 1080px) {
  .main-nav {
    gap: 12px;
    padding-right: 30px;
  }
  .main-nav .cta-btn {
    margin-left: 8px;
  }
}

/* ============================== */
/* Hamburger Mobile Navigation */
/* ============================== */
.mobile-menu-toggle {
  display: inline-flex;
  background: #1C3C58;
  color: #fff;
  font-size: 2.1rem;
  border: none;
  border-radius: 7px;
  padding: 4px 14px;
  margin-left: auto;
  cursor: pointer;
  align-items: center;
  margin-top: 8px;
  margin-bottom: 8px;
  transition: background 0.18s;
  z-index: 220;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #79AABF;
}

/* Hide by default */
.mobile-menu {
  position: fixed;
  right: 0;
  top: 0;
  width: 320px;
  max-width: 100vw;
  height: 100vh;
  background: #F3F5F7;
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.66,.03,.29,.99);
  box-shadow: -2px 0 20px 0 rgba(28,60,88,0.11);
  display: flex;
  flex-direction: column;
  padding-top: 30px;
  padding-bottom: 60px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 22px;
  right: 18px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #1C3C58;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 5px;
  transition: background 0.14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #E6EEF2;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 24px;
  align-items: flex-start;
  padding-left: 34px;
}
.mobile-nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #1C3C58;
  padding: 9px 0;
  border-radius: 0;
  transition: color .18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #79AABF;
}
@media (min-width: 900px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}
@media (max-width: 899px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
}

/* ============================== */
/* Section & Cards Spacing */
/* ============================== */
section {
  margin-bottom: 60px;
  padding: 40px 0px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

@media (max-width: 768px) {
  .section {
    margin-bottom: 36px;
    padding: 28px 5vw;
  }
  .features-grid, .service-list, .card-container, .testimonials {
    flex-direction: column;
    gap: 18px;
  }
  .featured-guides, .guide-list {
    flex-direction: column;
    gap: 16px;
  }
}

/* ============================== */
/* Buttons, CTAs, Links */
/* ============================== */
.cta-btn {
  display: inline-block;
  background: #1C3C58;
  color: #fff;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.09rem;
  padding: 10px 26px;
  border-radius: 7px;
  border: none;
  cursor: pointer;
  margin-top: 12px;
  box-shadow: 0 2px 6px rgba(28,60,88,0.14);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  text-align: center;
}
.cta-btn:hover, .cta-btn:focus {
  background: #79AABF;
  color: #fff;
  box-shadow: 0 6px 14px rgba(28,60,88,0.18);
}
a.cta-btn {
  text-decoration: none;
}
button, input[type="submit"] {
  font-family: inherit;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  background: #79AABF;
  color: #fff;
  padding: 9px 22px;
  font-weight: 600;
  transition: background 0.15s, color 0.15s;
}
button:hover, button:focus, input[type="submit"]:hover {
  background: #1C3C58;
  color: #fff;
}

/* ============================== */
/* Footer */
/* ============================== */
footer {
  background: #1C3C58;
  color: #F3F5F7;
  padding: 44px 0 24px;
  font-size: 1rem;
  letter-spacing: 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
}
.footer-main-links, .footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 10px;
}
.footer-main-links a, .footer-legal-links a {
  color: #F3F5F7;
  font-size: 1rem;
  font-weight: 400;
  padding: 4px 0;
  border-radius: 0;
  transition: color 0.16s, text-decoration 0.16s;
  text-decoration: none;
}
.footer-main-links a:hover, .footer-legal-links a:hover, .footer-main-links a:focus, .footer-legal-links a:focus {
  color: #79AABF;
  text-decoration: underline;
}
.footer-contact-info {
  font-size: 0.98rem;
  color: #E2EAF2;
  margin-top: 8px;
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
}
.footer-contact-info a {
  color: #E2EAF2;
  text-decoration: underline;
  transition: color 0.14s;
}
.footer-contact-info a:hover, .footer-contact-info a:focus {
  color: #79AABF;
}
footer address {
  font-style: normal;
  color: #E2EAF2;
}
@media (max-width: 800px) {
  footer .container {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .footer-main-links, .footer-legal-links {
    gap: 8px 15px;
    flex-wrap: wrap;
  }
}

/* ============================== */
/* Cookie Consent Banner & Modal */
/* ============================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #1C3C58;
  color: #F3F5F7;
  padding: 26px 20px 18px 20px;
  box-shadow: 0 -2px 16px rgba(28,60,88,0.15);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  animation: fadeInUp 0.5s;
}
@keyframes fadeInUp {
  0% {transform: translateY(100%); opacity: 0;}
  100% {transform: translateY(0); opacity: 1;}
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.cookie-banner button {
  min-width: 110px;
  padding: 9px 14px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  background: #79AABF;
  color: #1C3C58;
  transition: background 0.18s, color 0.18s;
}
.cookie-banner button.accept {
  background: #03A696;
  color: #fff;
}
.cookie-banner button.reject {
  background: #E05252;
  color: #fff;
}
.cookie-banner button.settings {
  background: #F3F5F7;
  color: #1C3C58;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #1C3C58;
  color: #FFF;
}
.cookie-banner a {
  color: #79AABF;
  text-decoration: underline;
  font-weight: 500;
}

/* Cookie settings modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 10001;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(28,60,88,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeBgIn 0.32s;
}
@keyframes fadeBgIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #1C3C58;
  border-radius: 16px;
  max-width: 430px;
  width: 98vw;
  padding: 33px 26px 28px 26px;
  box-shadow: 0 10px 56px 0 rgba(28,60,88,0.18);
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: modalIn .27s cubic-bezier(.47,.04,.29,1.24);
  position: relative;
}
@keyframes modalIn {
  0% {transform: translateY(60px) scale(0.95); opacity: 0;}
  100% {transform: translateY(0) scale(1); opacity: 1;}
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #1C3C58;
  cursor: pointer;
}
.cookie-modal h2 {
  font-size: 1.17rem;
  font-family: 'Roboto Slab', Georgia, serif;
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #E6EEF2;
}
.cookie-switch {
  position: relative;
  width: 40px;
  height: 24px;
}
.cookie-switch input {
  display: none;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  background: #E2EAF2;
  border-radius: 16px;
  top: 0; left: 0; right: 0; bottom: 0;
  transition: background 0.22s;
  height: 100%;
}
.cookie-switch input:checked + .cookie-slider {
  background: #79AABF;
}
.cookie-slider::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 4px;
  height: 16px;
  width: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(28,60,88,0.08);
  transition: transform 0.22s;
}
.cookie-switch input:checked + .cookie-slider::before {
  transform: translateX(16px);
}
.cookie-category label {
  font-weight: 500;
  font-size: 1rem;
}
.cookie-category .essential {
  color: #1C3C58;
  font-size: 1rem;
}
.cookie-modal .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 8px;
}

@media (max-width: 430px) {
  .cookie-modal {
    padding: 19px 6vw;
    max-width: 98vw;
  }
}

/* ============================== */
/* Animations, Transitions, Utility */
/* ============================== */
.fade-in {
  animation: fadeIn .34s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Utility: visually-hidden for screen-readers */
.visually-hidden {
  border: 0 !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important;
}

/* ============================== */
/* Responsive: Mobile -> Desktop */
/* ============================== */
@media (max-width: 768px) {
  .container {
    padding: 0 6vw;
  }
  section, .section {
    padding: 22px 2vw;
    margin-bottom: 34px;
  }
  .footer-contact-info {
    flex-direction: column;
    gap: 6px;
    font-size: 0.97rem;
  }
  .features-grid > div, .service-list > div, .featured-guides > div {
    min-width: unset;
    max-width: unset;
    padding: 20px 12px;
  }
  .main-nav {
    display: none !important;
  }
  .map-placeholder {
    min-height: 75px;
    font-size: 0.96rem;
    padding: 10px 7px;
  }
  .testimonials {
    gap: 18px;
  }
  .testimonial-card {
    min-width: unset;
    padding: 14px 7px;
    align-items: flex-start;
  }
}

/* ============================== */
/* Accessibility/High contrast for testimonials & reviews */
/* ============================== */
.testimonial-card, .testimonials p, .testimonials span {
  color: #1C3C58 !important;
  background: #fff !important;
}

/* ============================== */
/* Misc. form resets */
/* ============================== */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #D3DDE7;
  padding: 9px 13px;
  margin-bottom: 14px;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.17s;
}
input:focus, textarea:focus, select:focus {
  border-color: #79AABF;
  outline: none;
}
label {
  font-size: 1rem;
  font-weight: 600;
  color: #1C3C58;
}

/* END OF STYLE */