/* ---- CSS RESET & BASE ---- */
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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

html {
  font-size: 100%; 
  background: #fff;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  background: #F2F5F9;
  color: #233443;
  min-height: 100vh;
  line-height: 1.6;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #004A6B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FDB913;
}
ul, ol {
  margin-left: 1.5em;
  padding-left: 0.5em;
}

/* ---- BRAND FONTS ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #004A6B;
  margin-bottom: 16px;
  line-height: 1.22;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.35rem; margin-bottom: 12px; }
h4 { font-size: 1.1rem; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.1rem; }
}

p, li, td, th {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #233443;
  font-size: 1rem;
  margin-bottom: 12px;
}
strong { color: #004A6B; font-weight: 700; }
.subheadline {
  color: #6a5f51;
  font-size: 1.05rem;
  margin-bottom: 26px;
  font-family: 'Open Sans', Arial, sans-serif;
}

/* ---- LAYOUT CONTAINER ---- */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.content-wrapper {
  background: #fff;
  border-radius: 24px;
  padding: 40px 24px 32px 24px;
  margin-bottom: 32px;
  box-shadow: 0 2px 16px rgba(253,185,19,0.08), 0 1.5px 6px rgba(0,74,107,0.04);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section {
  margin-bottom: 20px !important;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 36px;
    padding: 24px 4px;
  }
  .content-wrapper {
    padding: 20px 8px 16px 8px;
    border-radius: 14px;
    margin-bottom: 20px;
  }
}

/* ---- FLEX UTILITY CLASSES ---- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 20px;
  position: relative;
  box-shadow: 0 2px 8px rgba(0,74,107,0.08);
  padding: 30px 24px;
  min-width: 270px;
  flex: 1 1 280px;
  transition: box-shadow 0.18s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card:hover, .card:focus {
  box-shadow: 0 4px 24px rgba(253,185,19,0.14);
  z-index: 2;
}
.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) {
  .content-grid, .text-image-section {
    flex-direction: column;
    gap: 14px;
  }
  .card {
    min-width: 0;
    width: 100%;
  }
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F2F5F9;
  box-shadow: 0 2px 10px rgba(0,74,107,0.06);
  border-radius: 18px;
  margin-bottom: 20px;
  margin-top: 10px;
  flex: 1 1 290px;
  min-width: 250px;
}
.testimonial-card p {
  color: #004A6B;
  font-style: italic;
  flex: 1;
}
.testimonial-card span {
  font-size: 0.98em;
  color: #5c5c5c;
  font-style: normal;
  font-family: 'Open Sans', Arial, sans-serif;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(253,185,19,0.09);
  padding: 22px 18px;
  min-width: 220px;
  margin-bottom: 20px;
}

/* ---- INDEX SPECIFIC FLEX LAYOUTS ---- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.feature-grid > div {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(0,74,107,0.07);
  padding: 20px 18px;
  flex: 1 1 254px;
  min-width: 220px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}
.features-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 10px;
}
.features-icons > div {
  flex: 1 1 240px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(253,185,19,0.09);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.features-icons img {
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
}

@media (max-width: 900px) {
  .feature-grid, .features-icons {
    flex-direction: column;
    gap: 12px;
  }
}

/* ---- ABOUT PAGE TEAM ---- */
.team-section {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 10px;
}
.team-card {
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 2px 10px rgba(253,185,19,0.09);
  padding: 22px 15px;
  flex: 1 1 260px;
  min-width: 210px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}
@media (max-width: 750px) {
  .team-section {
    flex-direction: column;
    gap: 8px;
  }
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 10px;
}

/* ---- TOUREN & ERLEBNISSE CARDS ---- */
.tour-cards, .erlebnis-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.tour-card, .erlebnis-grid > div {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(253,185,19,0.09);
  padding: 20px 18px;
  flex: 1 1 254px;
  min-width: 220px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.16s;
}
.tour-card:hover, .erlebnis-grid > div:hover {
  box-shadow: 0 5px 28px rgba(0,74,107,0.12);
  z-index: 2;
}
@media (max-width: 900px) {
  .tour-cards, .erlebnis-grid {
    flex-direction: column;
    gap: 12px;
  }
}

/* ---- FAQ ---- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}
.faq-item {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(253,185,19,0.07);
  padding: 24px 18px 6px 18px;
  transition: box-shadow 0.16s;
}
.faq-item:hover {
  box-shadow: 0 5px 28px rgba(0,74,107,0.09);
}

/* ---- TABLES ---- */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(253,185,19,0.09);
}
thead {
  background: #004A6B;
  color: #fff;
}
th, td {
  padding: 15px 12px;
  text-align: left;
}
th { font-family: 'Montserrat', Arial, sans-serif; }
tbody tr:nth-child(even) {
  background: #F2F5F9;
}
@media (max-width: 700px) {
  table, thead, tbody, th, td, tr {
    display: block;
  }
  th, td {
    padding: 10px 8px;
  }
}

/* ---- BUTTONS & PRIMARY STYLES ---- */
.primary-btn, button.primary-btn, .cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FDB913;
  color: #004A6B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 26px;
  padding: 13px 36px;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(254, 190, 19, 0.08);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.11s;
  margin-top: 16px;
  gap: 8px;
  outline: none;
  z-index: 2;
}
.primary-btn:hover, .primary-btn:focus, .cookie-btn:hover, .cookie-btn:focus {
  background: #004A6B;
  color: #FDB913;
  box-shadow: 0 5px 18px rgba(253,185,19,0.16);
  transform: translateY(-2px) scale(1.03);
}
button, .cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}

/* ---- HEADER ---- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 4px 18px rgba(0,74,107,0.06);
  z-index: 30;
  position: sticky;
  top: 0;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 19px 20px 19px 20px;
}
nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  color: #004A6B;
  padding: 10px 12px;
  border-radius: 18px;
  transition: background 0.13s, color 0.14s;
}
nav a:hover, nav a:focus {
  background: #FDB913;
  color: #004A6B;
}
nav a.primary-btn {
  margin-left: 8px;
  background: #FDB913;
  color: #004A6B;
  box-shadow: 0 2px 8px rgba(254, 190, 19, 0.09);
  padding: 10px 28px;
  border-radius: 22px;
  font-size: 1.08em;
  font-weight: bold;
}
nav a.primary-btn:hover {
  background: #004A6B;
  color: #FDB913;
}
header img {
  height: 48px;
  width: auto;
  margin-right: 18px;
  border-radius: 12px;
  background: #F2F5F9;
  padding: 5px;
}

/* ---- MOBILE MENU ---- */
.mobile-menu-toggle {
  display: none;
  background: #FDB913;
  color: #004A6B;
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  padding: 6px 16px 8px 16px;
  cursor: pointer;
  margin-left: 14px;
  box-shadow: 0 2px 8px rgba(254, 190, 19, 0.09);
  transition: background 0.15s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #004A6B;
  color: #FDB913;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,74,107,0.92);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100vw);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.77,0.2,0.05,1.0), opacity 0.33s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 28px 24px 14px 0;
  font-size: 2rem;
  background: #FDB913;
  color: #004A6B;
  border: none;
  border-radius: 50%;
  padding: 5px 18px;
  cursor: pointer;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(254, 190, 19, 0.09);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #004A6B;
  color: #FDB913;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  align-items: flex-start;
  padding: 0 32px;
}
.mobile-nav a {
  font-size: 1.48em;
  color: #FFF;
  border-radius: 18px;
  padding: 10px 6px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FDB913;
  color: #004A6B;
}

@media (max-width: 950px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
}
@media (max-width: 950px) {
  header .container {
    gap: 8px;
  }
}

/* ---- MAIN & SECTIONS ---- */
main {
  padding-bottom: 50px;
  min-height: 60vh;
}
section {
  padding: 0;
}
@media (max-width: 768px) {
  main {
    padding-bottom: 28px;
  }
  section {
    margin-bottom: 30px;
  }
}

/* ---- FOOTER ---- */
footer {
  background: #004A6B;
  color: #FDB913;
  padding: 38px 0 18px 0;
  font-size: 0.98em;
  margin-top: 38px;
  width: 100%;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-nav a {
  color: #FDB913;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1em;
  margin-bottom: 6px;
  border-radius: 14px;
  padding: 6px 12px;
  transition: background 0.12s, color 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #FDB913;
  color: #004A6B;
}
.contact-footer {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #FDB913;
  font-family: 'Open Sans', Arial, sans-serif;
}
.contact-footer a {
  color: #FDB913;
}
.contact-footer p {
  color: white;
}
.contact-footer a:hover, .contact-footer a:focus {
  text-decoration: underline;
  color: #fff;
}

@media (max-width: 770px) {
  footer .container {
    flex-direction: column;
    gap: 14px;
  }
  .footer-nav {
    gap: 13px;
  }
}

/* ---- COOKIE CONSENT BANNER ---- */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  padding: 24px 12px 18px 12px;
  background: #fffbea;
  border-top: 3px solid #FDB913;
  box-shadow: 0 -5px 18px rgba(0,74,107,0.09);
  z-index: 6000;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.72,0,0.22,1), opacity 0.43s;
  opacity: 1;
}
.cookie-consent-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-consent-banner p {
  color: #004A6B;
  font-size: 1.08em;
  margin-bottom: 0;
  flex: 3;
}
.cookie-btn {
  margin-left: 0;
  margin-right: 8px;
  font-size: 1.03em;
}
.cookie-btn.settings {
  background: #F2F5F9;
  color: #004A6B;
  border: 1.5px solid #FDB913;
}
.cookie-btn.settings:hover {
  background: #FDB913;
  color: #004A6B;
}
@media (max-width: 700px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 15px 8px 9px 8px;
  }
  .cookie-btn { width: 100%; }
}

/* ---- COOKIE MODAL ---- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 10040;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(30,48,70,0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModalBg 0.35s;
}
@keyframes fadeInModalBg {
  0% { opacity: 0; } 100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  max-width: 410px;
  width: 94vw;
  padding: 32px 22px 24px 22px;
  box-shadow: 0 7px 30px rgba(0,74,107,0.16);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  animation: fadeInModal 0.32s;
}
@keyframes fadeInModal {
  0% { transform: scale(0.93); opacity: 0; }
  100% { transform: scale(1); opacity:1; }
}
.cookie-modal h2 {
  color: #004A6B;
  font-size: 1.4em;
  margin-bottom: 19px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 16px;
}
.cookie-category label {
  font-size: 1em;
  color: #233443;
  flex: 1;
}
.cookie-category input[type='checkbox']:not(:disabled) {
  accent-color: #FDB913;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  margin-right: 7px;
}
.cookie-category input[type='checkbox']:disabled {
  accent-color: #cccccc;
}
.cookie-category span {
  font-size: 0.97em;
  color: #757575;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}
.cookie-modal-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #004A6B;
  font-size: 1.7em;
  margin-top: -8px;
  margin-right: -8px;
  cursor: pointer;
  transition: color 0.18s;
}
.cookie-modal-close:hover {
  color: #FDB913;
}

@media (max-width: 600px) {
  .cookie-modal {
    max-width: 100vw;
    padding: 20px 7px 16px 7px;
  }
}

/* ---- FORMS (if any) ---- */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  border-radius: 14px;
  border: 1.5px solid #D3DFEA;
  padding: 11px 12px;
  font-size: 1em;
  width: 100%;
  margin-bottom: 12px;
  background: #fff;
  transition: border 0.14s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border: 2px solid #FDB913;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1100px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 900px) {
  .content-wrapper, .card {
    padding-left: 10px; padding-right: 10px;
  }
  main {
    padding-bottom: 32px;
  }
}
@media (max-width: 550px) {
  h1 { font-size: 1.38rem; }
  h2 { font-size: 1.1rem; }
  .footer-nav a, .contact-footer { font-size: 0.92em; }
}

/* ---- MICRO-INTERACTIONS ---- */
.card, .tour-card, .team-card, .feature-grid > div, .feature-item, .faq-item, .testimonial-card {
  transition: box-shadow 0.15s, transform 0.12s;
}
.card:active, .tour-card:active, .team-card:active, .feature-grid > div:active, .feature-item:active, .faq-item:active, .testimonial-card:active {
  transform: translateY(2px) scale(.98);
}

input[type="checkbox"]:focus-visible, button:focus-visible, a:focus-visible {
  outline: 3px solid #FDB913;
  outline-offset: 2px;
}

/* ---- UTILITY ---- */
.mt-2  { margin-top: 8px !important; }
.mb-2  { margin-bottom: 8px !important; }
.mt-4  { margin-top: 16px !important; }
.mb-4  { margin-bottom: 16px !important; }

/* ---- Z-INDEX LAYERING ---- */
.mobile-menu, .cookie-modal-overlay, .cookie-consent-banner { z-index: 5000; }
header { z-index: 300; }
section {
  padding: 20px 0;
}

/* ---- END ---- */
