/* ================= 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%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #fff;
  color: #174058;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
button {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  outline: none;
}
input, textarea, select {
  font: inherit;
}

/* ================= BRAND TYPOGRAPHY ==================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  color: #174058;
}
h1 {
  font-size: 2.25rem;
  letter-spacing: -1px;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1rem;
}
p, ul li, ol li {
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #174058;
  margin-bottom: 12px;
}
strong, b {
  font-weight: 700;
}

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

/* =================== SECTION SPACING =================== */
section {
  background: #fff;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .section, section {
    padding: 28px 8px;
    margin-bottom: 36px;
  }
}

/* ===================== HEADER ======================= */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 12px rgba(23,64,88,0.04);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 24px;
}
header img[alt="Freizeitzauber Bochum"] {
  height: 38px;
  margin-right: 30px;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  padding: 6px 0;
  font-size: 1rem;
  font-weight: 500;
  color: #174058;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #F8DF40;
  border-bottom-color: #F8DF40;
}
.cta.primary {
  background: #174058;
  color: #fff;
  border-radius: 26px;
  padding: 10px 28px;
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(23,64,88,0.10);
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
  border: none;
  outline: none;
  margin-left: 14px;
  letter-spacing: 0.5px;
  display: inline-block;
}
.cta.primary:hover, .cta.primary:focus {
  background: #F8DF40;
  color: #174058;
  box-shadow: 0 4px 20px rgba(23,64,88,0.13);
}
.cta.secondary {
  background: #fff;
  color: #174058;
  border: 2px solid #174058;
  border-radius: 24px;
  padding: 10px 26px;
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 1.06rem;
  transition: background 0.2s, color 0.2s, border 0.2s;
  box-shadow: 0 1px 6px rgba(23,64,88,0.05);
  letter-spacing: 0.5px;
  margin-top: 10px;
  display: inline-block;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #F8DF40;
  color: #174058;
  border-color: #F8DF40;
}

/* ===================== MOBILE MENU ======================= */
.mobile-menu-toggle {
  display: none;
  background: none;
  color: #174058;
  font-size: 2rem;
  border: none;
  margin-left: auto;
  padding: 8px 12px;
  z-index: 110;
  transition: background 0.2s, color 0.2s;
  border-radius: 10px;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #f7f7f7;
  color: #F8DF40;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #fff;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(.85,.01,.35,1);
  z-index: 999;
  box-shadow: 0 6px 36px rgba(23,64,88,0.12);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  color: #174058;
  background: none;
  margin: 20px 22px 0 0;
  padding: 4px 10px;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #f2f2f2;
  color: #F8DF40;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 40px 32px;
  margin-top: 20px;
}
.mobile-nav a {
  color: #174058;
  font-size: 1.15rem;
  padding: 12px 0;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #F8DF40;
  border-bottom-color: #F8DF40;
}

@media (max-width: 990px) {
  .main-nav, .cta.primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 991px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ==================== SECTIONS & GRIDS ==================== */
.feature-grid, .category-grid, .seasonal-ideas, .event-list, .team-list, .activity-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
  margin-bottom: 16px;
  justify-content: space-between;
}
.team-list, .faq-list {
  gap: 20px;
}
.feature-grid > div, .category-grid > div, .seasonal-ideas > div, .team-member, .event-list > div, .activity-cards > div, .faq-list > div {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 18px rgba(23,64,88,0.07);
  padding: 28px 22px;
  flex: 1 1 220px;
  min-width: 240px;
  max-width: 315px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  transition: box-shadow 0.18s, transform .14s;
}
.feature-grid > div:hover, .category-grid > div:hover, .seasonal-ideas > div:hover, .team-member:hover, .event-list > div:hover, .activity-cards > div:hover {
  box-shadow: 0 8px 34px rgba(23,64,88,0.18);
  transform: translateY(-3px) scale(1.014);
}
.team-member {
  min-width: 200px;
}

/* Three in a row on desktop for team/event/faq lists */
@media (min-width: 900px) {
  .feature-grid, .category-grid, .seasonal-ideas, .event-list, .team-list, .activity-cards, .faq-list {
    flex-direction: row;
  }
}
@media (max-width: 899px) {
  .feature-grid, .category-grid, .seasonal-ideas, .event-list, .team-list, .activity-cards, .faq-list {
    flex-direction: column;
  }
}
@media (max-width: 650px) {
  .feature-grid > div, .category-grid > div, .seasonal-ideas > div, .event-list > div, .activity-cards > div, .team-member {
    min-width: 100%;
    max-width: 100%;
    padding: 20px 8px;
  }
}
/* custom: <ul> styled family-favorites, feature-list, etc. */
.family-favorites, .feature-list, .indoor-activities-list, .additional-options {
  margin-top: 10px;
  margin-bottom: 18px;
  padding-left: 1.2em;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.family-favorites li, .feature-list li, .indoor-activities-list li, .additional-options li {
  position: relative;
  padding-left: 18px;
}
.family-favorites li::before,
.feature-list li::before,
.indoor-activities-list li::before,
.additional-options li::before {
  content: "\2022";
  position: absolute;
  left: 0;
  color: #F8DF40;
  font-size: 1.1em;
  top: 0.2em;
}

/*************** Section-specific Patterns **************/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 18px rgba(23,64,88,0.08);
  padding: 20px 18px;
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 275px;
  min-width: 230px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.18s, transform 0.14s;
}
.card:hover {
  box-shadow: 0 8px 34px rgba(23,64,88,0.14);
  transform: translateY(-4px) scale(1.0123);
}
.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) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  .content-grid {
    flex-direction: column;
  }
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 18px 0;
}
.testimonial-card {
  background: #f8fafd;
  border-radius: 24px;
  box-shadow: 0 2px 22px rgba(23,64,88,0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 28px;
  max-width: 340px;
  min-width: 220px;
  color: #174058;
  font-size: 1rem;
  margin-bottom: 20px;
  transition: box-shadow 0.22s, transform 0.13s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 36px rgba(23,64,88,0.13);
  transform: translateY(-2px) scale(1.013);
}
.testimonial-card p {
  margin-bottom: 10px;
  color: #174058;
  font-style: italic;
  font-size: 1.07rem;
}
.testimonial-card span {
  color: #174058;
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 0.97rem;
}
.trust-signals ul {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.trust-signals li {
  font-weight: 500;
  color: #174058;
  background: #F8DF40;
  padding: 10px 18px;
  border-radius: 16px;
  font-size: 1rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 0;
}

/******************** Special Boxes ********************/
.weather-widget, .notice, .weather-resilient-ideas, .seasonal-recommendations, .quick-tips, .insider-tips, .event-calendar, .newsletter-signup {
  background: #f8fafd;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(23,64,88,0.05);
  color: #174058;
  padding: 18px 20px;
  margin-top: 18px;
}
.quick-links {
  margin-top: 14px;
}

/******************** Footer ********************/
footer {
  background: #fff;
  border-top: 1px solid #ededed;
  margin-top: 50px;
  width: 100%;
}
footer .container {
  padding-top: 36px;
  padding-bottom: 18px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 30px;
}
.footer-contact, .footer-links, .footer-social {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-contact h3 {
  margin-bottom: 3px;
  font-size: 1.1rem;
}
.footer-social {
  flex-direction: row;
  gap: 20px;
}
.footer-social img {
  width: 28px;
  height: 28px;
  transition: filter 0.2s, transform .17s;
}
.footer-social a:hover img {
  filter: brightness(1.3) hue-rotate(10deg);
  transform: scale(1.10) rotate(-2deg);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-bottom: 8px;
}
.footer-links a {
  color: #174058;
  font-size: 1rem;
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  font-weight: 600;
  opacity: 0.92;
  transition: color 0.17s, opacity 0.19s;
}
.footer-links a:hover, .footer-links a:focus {
  color: #F8DF40;
  opacity: 1;
}
.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px 0 0 0;
  border-top: 1px solid #f3f3f3;
  font-size: 0.98rem;
  color: #777;
  opacity: .97;
}
@media (max-width: 820px) {
  .footer-top {
    flex-direction: column;
    gap: 26px;
    align-items: flex-start;
  }
}
footer img[alt="Freizeitzauber Bochum"] {
  height: 38px;
  margin-bottom: 12px;
  margin-right: 0;
}

/******************** Legal Text Style ********************/
.legal-text {
  font-size: 1.03rem;
  line-height: 1.7;
  color: #174058;
  background: #f7f9fb;
  border-radius: 16px;
  padding: 18px 22px;
  margin-top: 12px;
}
.legal-text h2 {
  margin-top: 18px;
  margin-bottom: 8px;
  font-size: 1.15rem;
}
.legal-text ul {
  margin-bottom: 13px;
  gap: 6px;
}
.legal-text li {
  margin-bottom: 2px;
  padding-left: 12px;
  position: relative;
}
.legal-text li::before {
  content: "\2022";
  color: #174058;
  position: absolute;
  left: 0;
  font-size: 1em;
  top: 0.13em;
}

/****************** Contact Page Blocks ******************/
.contact-details {
  background: #f8fafd;
  border-radius: 18px;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
  color: #174058;
}
.contact-details img {
  width: 21px;
  vertical-align: middle;
  margin-right: 7px;
  margin-bottom: 3px;
}
.notice {
  font-size: 1.03rem;
}

/****************** Special Responsive Breakpoints ******************/
@media (max-width: 600px) {
  .container {
    padding-left: 6px;
    padding-right: 6px;
  }
  h1 {
    font-size: 1.45rem;
  }
  h2 {
    font-size: 1.13rem;
  }
  .feature-grid > div, .category-grid > div, .seasonal-ideas > div, .team-member, .event-list > div, .activity-cards > div, .card {
    padding: 14px 6px;
  }
  .testimonial-card {
    padding: 13px 7px;
    font-size: 0.97rem;
  }
}

/****************** Micro-interactions & Transitions ******************/
a, .cta.primary, .cta.secondary, .main-nav a, .footer-links a, .mobile-nav a, button {
  transition: color 0.17s, border-color 0.17s, background 0.18s, box-shadow 0.17s;
}

/****************** Utilities ******************/
.gap-24 { gap: 24px; }
.gap-20 { gap: 20px; }
.gap-16 { gap: 16px; }
.mb-40 { margin-bottom: 40px; }
.mt-32 { margin-top: 32px; }

/****************** Card and FAQ-spacing fix ******************/
.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.faq-list > div {
  background: #fff;
  box-shadow: 0 2px 14px rgba(23,64,88,0.07);
  border-radius: 20px;
  padding: 22px 18px;
  flex: 1 1 230px;
  min-width: 200px;
  max-width: 335px;
  margin-bottom: 20px;
}

/****************** THANK YOU Message special ******************/
.thank_you_message p {
  margin-bottom: 10px;
  color: #174058;
  font-size: 1.08rem;
}

/************** Cookie Consent Banner & Modal ****************/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fffbe2;
  color: #174058;
  box-shadow: 0 -2px 18px rgba(23,64,88,0.11);
  padding: 28px 10px 18px 10px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-radius: 18px 18px 0 0;
  border-top: 1px solid #f5e46b;
  animation: banner-fade-in 0.38s cubic-bezier(.83,-0.01,.53,1.005);
}
@keyframes banner-fade-in {
  from { transform: translateY(70px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 18px;
  margin-top: 4px;
}
.cookie-banner button {
  padding: 8px 20px;
  border-radius: 20px;
  border: none;
  font-size: 1rem;
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  font-weight: 600;
  outline: none;
  cursor: pointer;
  transition: background 0.18s, color 0.16s;
}
.cookie-banner .accept {
  background: #174058;
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #235273;
}
.cookie-banner .reject {
  background: #fff;
  color: #174058;
  border: 2px solid #174058;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #F8DF40;
  color: #174058;
  border-color: #F8DF40;
}
.cookie-banner .settings {
  background: #F8DF40;
  color: #174058;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #174058;
  color: #F8DF40;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right:0; bottom:0;
  width: 100vw; height: 100vh;
  background: rgba(23,64,88,0.19);
  backdrop-filter: blur(1.5px);
  z-index: 1800;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fade-in-modal 0.31s cubic-bezier(.84,0,.38,1);
}
@keyframes fade-in-modal {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 20px;
  padding: 36px 38px 22px 38px;
  max-width: 410px;
  width: 85vw;
  box-shadow: 0 10px 50px rgba(23,64,88,0.22);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: modal-bounce-in 0.4s cubic-bezier(.64,1.78,.5,1.07);
}
@keyframes modal-bounce-in {
  0% { transform: scale(.90) translateY(50px); opacity: 0; }
  70% { transform: scale(1.04) translateY(-7px); opacity: .96; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal .modal-close {
  position: absolute;
  right: 20px;
  top: 14px;
  background: none;
  color: #174058;
  font-size: 1.65rem;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  padding: 2px 7px;
  transition: background 0.17s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  background: #f9f9f9;
}
.cookie-modal h2 {
  margin-bottom: 6px;
  font-size: 1.20rem;
}
.cookie-modal .category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.cookie-modal .category label {
  font-family: 'Montserrat',sans-serif;
  font-size: 1rem;
}
.cookie-modal .cookie-modal-buttons {
  display: flex;
  gap: 16px;
  margin-top: 10px;
}
/* Cookie toggle switches */
.cookie-toggle {
  width: 44px; height: 24px;
  background: #f0f1f4;
  border-radius: 20px;
  position: relative;
  transition: background 0.16s;
  cursor: pointer;
  display: inline-block;
}
.cookie-toggle input {
  opacity: 0;
  width: 0; height: 0;
  position: absolute;
}
.cookie-toggle .slider {
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  background: #ccc;
  border-radius: 50%;
  transition: left 0.18s, background 0.18s;
}
.cookie-toggle input:checked + .slider {
  left: 23px;
  background: #F8DF40;
}
/* 'Always enabled' for essentials */
.category .essential {
  opacity: 0.7;
  font-weight: 400;
  font-size: 0.98em;
}

/*********** Accessibility: focus styles ***********/
a:focus, button:focus, .cta.primary:focus, .cta.secondary:focus,
.mobile-menu-close:focus, .mobile-menu-toggle:focus {
  outline: 2px solid #F8DF40 !important;
  outline-offset: 2px;
}

/******* Hide scroll when menu/modal open - add .noscroll to body *****/
body.noscroll {
  overflow: hidden !important;
  height: 100vh;
}

/* ===================== END ===================== */
