/* =======================
   FESTIVENTURA TECH_FUTURISTIC CSS
   ======================= */

/* RESET & BASELINE NORMALIZATION */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #1b253b;
  color: #F2F2F2;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s cubic-bezier(.4,0,.2,1);
}
ul, ol {
  list-style: none;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 20px 0;
}
th, td {
  padding: 10px 14px;
  border-bottom: 1px solid #283556;
  font-size: 16px;
}
th {
  color: #FFB300;
  background: #232d47;
  font-weight: 700;
}

/* ============
   BRAND COLORS
   ============ */
:root {
  --clr-primary: #203864;
  --clr-secondary: #FFB300;
  --clr-accent: #F2F2F2;
  --clr-bg-dark: #1b253b;
  --clr-bg-card: #232d47;
  --clr-bg-hero: #18223c;
  --clr-error: #fb6090;
  --clr-success: #13ffe8;

  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

/* =====================
   TYPOGRAPHY HIERARCHY
   ===================== */
h1, .hero h1 {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
  text-shadow: 0 4px 32px rgba(32, 56, 100, 0.10), 0 1px 10px rgba(255,179,0,0.09);
}
h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--clr-secondary);
  letter-spacing: 1.1px;
}
h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--clr-accent);
  margin-bottom: 8px;
}
h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--clr-accent);
}
p, li, td {
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--clr-accent);
}
strong {
  color: var(--clr-secondary);
  font-weight: 700;
  letter-spacing: 0.2px;
}
blockquote {
  color: #192b3f;
  background: var(--clr-accent);
  border-left: 4px solid var(--clr-secondary);
  padding: 14px 18px;
  border-radius: 8px;
  font-style: italic;
  font-size: 1.08rem;
  margin-bottom: 12px;
}

/* =====================
   GLOBAL CONTAINERS
   ===================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  width: 100%;
}
section {
  margin-bottom: 60px;
  padding: 40px 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* =====================
   HEADER & NAVIGATION
   ===================== */
header {
  width: 100%;
  background: #232d47;
  box-shadow: 0 2px 30px 0 rgba(32,56,100,0.04), 0 1px 0px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 1002;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 14px;
  padding-bottom: 14px;
}
header img {
  height: 48px;
}
nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
nav a {
  font-family: var(--font-display);
  font-size: 1.06rem;
  color: var(--clr-accent);
  padding: 8px 0 8px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.17s, color 0.17s;
}
nav a:hover,
nav a:focus {
  color: var(--clr-secondary);
  border-bottom: 2px solid var(--clr-secondary);
}
.cta-button {
  padding: 12px 28px;
  background: var(--clr-secondary);
  color: #232d47;
  font-family: var(--font-display);
  font-size: 1.14rem;
  font-weight: 700;
  border: none;
  border-radius: 40px;
  box-shadow: 0 4px 24px 0 rgba(255,179,0,0.10);
  cursor: pointer;
  transition: background 0.2s, color 0.18s, box-shadow 0.22s;
  text-shadow: 0 1px 7px rgba(32,56,100,0.06);
  text-align: center;
  margin-left: 16px;
}
.cta-button.primary {
  background: #203864;
  color: #fff;
  border: 2px solid var(--clr-secondary);
}
.cta-button:hover, .cta-button:focus {
  background: #fff;
  color: var(--clr-primary);
  box-shadow: 0 6px 30px 0 rgba(255,179,0,0.18);
}
.cta-button.primary:hover, .cta-button.primary:focus {
  background: var(--clr-secondary);
  color: #203864;
}

/* ====== BURGER / MOBILE NAVIGATION ====== */
.mobile-menu-toggle {
  position: fixed;
  top: 22px;
  right: 22px;
  display: none;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  background: #203864;
  color: #FFB300;
  border-radius: 50%;
  border: none;
  box-shadow: 0 2px 18px rgba(32,56,100,0.10);
  z-index: 1200;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.21s;
}
.mobile-menu-toggle:focus {
  outline: 3px solid var(--clr-secondary);
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: #161c2f;
  z-index: 1300;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4,0.02,0.2,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  box-shadow: -2px 0px 30px rgba(32,56,100,0.20);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 22px 22px 10px 0;
  align-self: flex-end;
  background: #203864;
  color: #FFB300;
  font-size: 2.2rem;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 2px 14px rgba(32,56,100,0.15);
  transition: background 0.19s;
}
.mobile-menu-close:focus {
  outline: 2px solid var(--clr-secondary);
}
.mobile-nav {
  display: flex !important;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  padding: 24px 34px;
  width: 100%;
  margin-top: 22px;
}
.mobile-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.32rem;
  padding: 15px 4px 15px 0;
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  transition: color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #FFB300;
  background: linear-gradient(90deg, #20386488 70%, transparent 100%);
}

/* ==========
    HERO
   ========== */
.hero {
  width: 100%;
  background: var(--clr-bg-hero);
  box-shadow: 0 12px 50px -24px #203864cc;
  position: relative;
  min-height: 370px;
  display: flex;
  align-items: center;
  padding: 60px 0 60px 0;
  margin-bottom: 60px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.hero .content-wrapper {
  align-items: center;
  gap: 18px;
  width: 100%;
  text-align: center;
}
.hero p {
  color: #FFD875;
  font-family: var(--font-body);
  font-size: 1.22rem;
  margin-bottom: 6px;
  letter-spacing: 0.12px;
}
.hero .cta-button {
  margin-top: 14px;
}

/* =================
   FEATURES SECTION
   ================= */
.features .content-wrapper {
  align-items: flex-start;
  gap: 24px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  margin-top: 4px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--clr-bg-card);
  min-width: 210px;
  max-width: 340px;
  flex: 1 1 270px;
  padding: 28px 30px 28px 22px;
  margin-bottom: 20px;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 #20386444,0 1px 4px #FFB30022;
  border: 1px solid #283556;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.15s, border-color 0.16s;
}
.feature-item img {
  height: 48px;
  width: 48px;
  filter: drop-shadow(0 1px 8px #FFB30044);
}
.feature-item:hover {
  box-shadow: 0 6px 32px 0 #FFB30044;
  border-color: #FFB300;
}
.features ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ==================
   SERVICES SECTION
   ================== */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-bottom: 24px;
}
.services-list li {
  padding: 10px 0;
  color: #F2F2F2;
  border-bottom: 1px dashed #283556;
  font-size: 1.08rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.services-list li span {
  color: #FFB300;
  margin-left: 12px;
  font-size: 1rem;
  font-family: var(--font-display);
}

.booking-info,
.savings-highlight {
  display: flex;
  align-items: center;
  background: #203864;
  padding: 16px 16px;
  border-radius: 14px;
  color: #FFD875;
  font-family: var(--font-display);
  font-size: 1.04rem;
  gap: 18px;
  margin-top: 16px;
  font-weight: 600;
  box-shadow: 0 2px 14px #FFB30022;
}
.savings-highlight img {
  height: 32px; width: 32px;
}

/* ==============
   CARDS & GRIDS
   ============== */
.card-container, .feature-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--clr-bg-card);
  border-radius: 16px;
  box-shadow: 0 1px 10px #20386460, 0 1px 3px #FFB30022;
  overflow: hidden;
  border: 1px solid #283556;
  transition: box-shadow 0.20s, border-color 0.13s;
}
.card:hover {
  box-shadow: 0 6px 26px 0 #FFB30033;
  border-color: #FFB300;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 26px 22px;
}

/* ================
   TESTIMONIALS
   ================ */
.testimonials .content-wrapper {
  align-items: flex-start;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  color: #203864;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 14px #20386426, 0 1px 3px #FFB30011;
  border-left: 4px solid #FFB300;
  transition: box-shadow 0.18s, border-color 0.15s;
  position: relative;
}
.testimonial-card blockquote {
  background: transparent;
  border: none;
  color: #203864;
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.testimonial-card strong {
  color: #203864;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px #FFB30033;
  border-left: 4px solid #203864;
}

/* ======================
      TEXT IMAGE SECTION
   ====================== */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.text-section {
  max-width: 630px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ===============
   OTHER BLOCKS
   =============== */
.usp-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 18px;
}
.usp-list span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #FFB300;
  font-weight: 600;
  font-size: 1rem;
}
.usp-list img {
  height: 22px;
  width: 22px;
  filter: drop-shadow(0 0 6px #FFB30022);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.map {
  margin-top: 16px;
  max-width: 480px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px #FFB30011,0 2px 10px #28355644;
}

/* ==========
  FOOTER
 ========== */
footer {
  background: #1b253b;
  box-shadow: 0 -4px 32px 0 #20386433;
  color: var(--clr-accent);
  padding-top: 40px;
  padding-bottom: 40px;
  width: 100%;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
}
.footer-brand img {
  height: 48px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #F2F2F2;
  font-family: var(--font-display);
  font-size: 1.05rem;
  border-bottom: 1px solid transparent;
  transition: color 0.14s, border-color 0.14s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #FFB300;
  border-bottom: 1px solid #FFB300;
}
.footer-contact address {
  font-size: 1rem;
  color: #F2F2F2;
}
.footer-contact a {
  color: #FFB300;
  text-decoration: underline;
}
.footer-newsletter {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 320px;
}
.footer-newsletter input[type=email] {
  padding: 10px 18px;
  border-radius: 24px;
  border: 1px solid #283556;
  background: #232d47;
  color: #fff;
  font-size: 1rem;
}
.footer-newsletter button {
  background: #FFB300;
  color: #203864;
  border-radius: 24px;
  padding: 10px 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  margin-top: 6px;
  cursor: pointer;
  border: none;
  transition: background 0.16s;
}
.footer-newsletter button:hover {
  background: #f9d37a;
}
.footer-social {
  display: flex;
  gap: 18px;
  align-items: center;
}
.footer-social a img {
  height: 28px;
  width: 28px;
  filter: drop-shadow(0 0 8px #FFB30055);
}

/* ================
   COOKIE BANNER
   ================ */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #232d47;
  color: #F2F2F2;
  padding: 24px 22px 24px 22px;
  z-index: 2100;
  box-shadow: 0 -6px 32px #203864b2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  font-size: 1rem;
  animation: cookieAppears 0.60s cubic-bezier(0.4,0,.2,1);
}
@keyframes cookieAppears {
  from { transform: translateY(64px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-top: 6px;
}
.cookie-banner button {
  padding: 10px 26px;
  border-radius: 32px;
  border: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 0;
  margin-bottom: 0;
  box-shadow: 0 2px 12px #FFB30022;
  transition: background 0.16s, color 0.17s;
}
.cookie-banner .accept {
  background: var(--clr-secondary);
  color: var(--clr-primary);
}
.cookie-banner .reject {
  background: #283556;
  color: #FFB300;
  border: 1.5px solid #FFB300;
}
.cookie-banner .settings {
  background: #fff;
  color: #203864;
  border: 1.5px solid #FFB300;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #F2F2F2;
  color: #203864;
}

/* Cookie modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2200;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(28,37,61,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  transition: opacity 0.35s;
}
.cookie-modal-overlay.open {
  display: flex;
  animation: fadeInModal 0.32s cubic-bezier(.5,0,.5,1);
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #1b253b;
  border-radius: 20px;
  max-width: 430px;
  width: 90vw;
  padding: 36px 30px 30px 30px;
  box-shadow: 0 8px 40px #20386455, 0 1px 4px #FFB30022;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  animation: popInModal 0.21s cubic-bezier(.6,0,.6,1);
}
@keyframes popInModal {
  from { transform: scale(0.95); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  color: #FFB300;
  font-size: 1.28rem;
  margin-bottom: 12px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.cookie-category-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #232d47;
  padding: 10px 14px;
  border-radius: 10px;
  color: #F2F2F2;
  font-size: 1.01rem;
}
.cookie-category-row .desc {
  font-size: 0.96rem;
  color: #FFD875;
  padding-left: 4px;
}
.cookie-category-row input[type=checkbox]:not(:disabled) {
  accent-color: #FFB300;
  width: 22px; height: 22px;
  cursor: pointer;
}
.cookie-category-row input[type=checkbox][disabled] {
  accent-color: #203864;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  width: 100%;
  gap: 18px;
  margin-top: 15px;
  justify-content: flex-end;
}
.cookie-modal .cookie-modal-actions button {
  padding: 10px 22px;
  border-radius: 26px;
  background: #ffb300;
  color: #203864;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  transition: background 0.17s, color 0.14s;
}
.cookie-modal .cookie-modal-actions button.cancel {
  background: #232d47;
  color: #FFB300;
  border: 1.5px solid #FFB300;
}
.cookie-modal .cookie-modal-actions button:hover {
  background: #fff;
  color: #203864;
}

/* ================
    RESPONSIVE
   ================ */
@media (max-width: 1200px) {
  .container { max-width: 1000px; }
}
@media (max-width: 992px) {
  .container { max-width: 740px; }
  .feature-grid { gap: 18px; }
  .footer-newsletter { max-width: 260px; }
  .footer-contact { max-width: 300px; }
}
@media (max-width: 900px) {
  footer .content-wrapper {
    gap: 24px;
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-newsletter {
    max-width: 100%;
  }
}
@media (max-width: 850px) {
  .feature-grid, .card-container, .content-grid {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  header .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .hero {
    padding: 40px 0;
    min-height: 220px;
  }
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .feature-item, .card {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    padding: 18px 14px 18px 12px;
  }
  .services-list li {
    flex-direction: column;
    gap: 6px;
    padding: 7px 0;
    font-size: 1rem;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px;
  }
  .section, section {
    padding: 24px 8px;
    margin-bottom: 38px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
@media (max-width: 640px) {
  html { font-size: 14px; }
  body { padding-bottom: 58px; }
  .footer-brand img,
  header img {
    height: 38px;
  }
  .map {
    max-width: 90vw;
    margin-left: -6px;
  }
  .usp-list {
    gap: 8px;
  }
}
@media (max-width: 540px) {
  .hero .container, .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .cookie-modal {
    padding: 18px 9px 18px 9px;
  }
}
/* Show mobile burger icon and hide desktop nav on small screens */
@media (max-width: 1000px) {
  nav { display: none !important; }
  .mobile-menu-toggle { display: flex; }
}
@media (min-width: 1001px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
  nav { display: flex !important; }
}

/* Invert testimonial text to dark on light background for contrast */
.testimonial-card, .testimonial-card blockquote, .testimonial-card strong {
  color: #203864 !important;
}
.testimonial-card blockquote {
  background: transparent !important;
}

/* Highlight for table rows on hover */
tbody tr:hover {
  background: #20386433;
}

/* Miscellaneous Fixes for Card, List, Buttons */
.savings-highlight strong { color: #FFB300; }

/* Accessibility: Focus Visible Outline */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2.5px solid #FFB300;
  outline-offset: 2px;
}

/* Subtle Neon Glow for Tech_Futuristic Flavor */
.cta-button, .cookie-banner .accept, .cookie-banner .reject, .cookie-banner .settings {
  box-shadow: 0 0 12px 1px #FFB30033, 0 1px 8px #FFB30022;
}
.feature-item:hover, .cta-button:focus, .card:hover, .testimonial-card:hover {
  box-shadow: 0 0 14px 2px #FFB30044, 0 6px 32px 0 #28355611;
  border-color: #FFB300;
}

/* Micro-interactions for Buttons */
.cta-button:active, .cookie-banner button:active {
  transform: scale(0.98);
}

/* Select Disabled Styles */
input[disabled], button[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Table cells on Preistabelle */
.table th, .table td {
  text-align: left;
  border-bottom: 1px solid #283556;
}

/* Hide overflow on mobile for mobile menu only */
body.menu-open {
  overflow: hidden;
}
