/* ========================================================== */
/*                 CLARITY LANE FAMILIENZEIT                 */
/*           Scandinavian Clean Responsive Style.css          */
/* ========================================================== */

/* ------------------- CSS RESET/BASE ---------------------- */
html {
  box-sizing: border-box;
  font-size: 16px;
  height: 100%;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  background: #F6FAFC;
  color: #21374b;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  line-height: 1.6;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
input, button, textarea, select {
  font: inherit;
  color: inherit;
}
a {
  color: #225296;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus-visible {
  outline: 2px solid #FDBB37;
  outline-offset: 2px;
}
ul, ol {
  margin: 0 0 1.5rem 1.5rem;
  padding-left: 1.5rem;
}

/* ------------------ TYPOGRAPHY SCALE --------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1d3343;
  margin-bottom: 16px;
  font-weight: 700;
  line-height: 1.15;
}
h1 {
  font-size: 2.5rem;
  margin-top: 0;
  letter-spacing: -0.02em;
}
h2 {
  font-size: 2rem;
  margin-top: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-top: 8px;
  font-weight: 600;
}
p, li, label {
  font-size: 1rem;
  color: #21374b;
}
strong {
  font-weight: 700;
  color: #225296;
}

/* ----------------- LAYOUT CONTAINERS --------------------- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(34, 82, 150, 0.06);
}

/* -------- FLEXBOX PATTERNS FROM SPECIFICATION ----------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(34,82,150,0.08);
  position: relative;
  min-width: 260px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 4px 18px rgba(34, 82, 150, 0.16);
  transform: translateY(-2px) scale(1.012);
}
.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;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 12px;
  background: #E4F0F6;
  box-shadow: 0 1px 6px rgba(34,82,150,0.05);
  margin-bottom: 20px;
  transition: box-shadow 0.2s;
}
.testimonial-card p {
  color: #1d3343;
  font-size: 1.1rem;
  line-height: 1.5;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* -------------- HEADER & NAVIGATION --------------------- */
header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(34,82,150,0.05);
  position: relative;
  z-index: 200;
}
header .container {
  height: 80px;
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: space-between;
  gap: 20px;
}
header img {
  height: 48px;
  width: auto;
  max-width: 160px;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-left: 24px;
}
.main-nav a {
  padding: 10px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #225296;
  font-size: 1rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #FDBB37;
  border-bottom: 2px solid #FDBB37;
}
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #225296;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 24px;
  padding: 12px 28px;
  box-shadow: 0 2px 8px rgba(34,82,150,0.09);
  border: none;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.13s;
  text-decoration: none;
}
.cta-button:hover, .cta-button:focus {
  background: #174173;
  color: #FDBB37;
  box-shadow: 0 4px 18px rgba(34,82,150,0.18);
  transform: translateY(-1px) scale(1.01);
}

/* --------------- MOBILE NAVIGATION ---------------------- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #225296;
  cursor: pointer;
  margin-left: 12px;
  z-index: 220;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 4px 32px rgba(34,82,150,0.10);
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(.68,-0.55,.27,1.55);
  z-index: 300;
  display: flex;
  flex-direction: column;
  padding: 0 32px 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #225296;
  margin: 28px 8px 8px 0;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #FDBB37;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 40px;
  align-items: flex-start;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #225296;
  font-size: 1.25rem;
  font-weight: 500;
  padding: 16px 0 10px 18px;
  width: 100%;
  border-radius: 8px;
  text-align: left;
  background: none;
  transition: background 0.18s, color 0.18s;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #FDBB37;
  background: #EEF7FB;
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 15px;
  }
  .cta-button {
    font-size: 1rem;
    padding: 10px 18px;
  }
}
@media (max-width: 900px) {
  header .container {
    max-width: 95vw;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    height: 64px;
    gap: 12px;
  }
  .main-nav {
    display: none;
  }
  .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .mobile-menu {
    padding-top: 0;
  }
}
@media (min-width: 769px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* --------------- HERO & HIGHLIGHTS ---------------------- */
.hero {
  margin-bottom: 60px;
  background: linear-gradient(90deg, #E4F0F6 40%, #F6FAFC 100%);
  border-radius: 0 0 32px 32px;
  box-shadow: 0 6px 32px rgba(34,82,150,0.09);
  padding: 48px 0 36px 0;
  min-height: 320px;
  display: flex;
  align-items: center;
}
.hero .container {
  justify-content: center;
  flex-direction: column;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 28px;
  max-width: 560px;
}
.highlights ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ------------ FEATURES & ADVANTAGES LIST ---------------- */
.features ul, .planning-tips ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0 0 0;
  padding-left: 0;
  list-style: none;
}
.features ul li, .planning-tips ul li {
  display: flex;
  flex-direction: row;
  align-items: center;
  background: #F6FAFC;
  border-radius: 10px;
  padding: 14px 18px;
  gap: 12px;
  min-height: 44px;
  font-size: 1.08rem;
  color: #1d3343;
  margin-bottom: 0;
  box-shadow: 0 1px 4px rgba(34,82,150,0.03);
}
.features ul li img, .planning-tips ul li img {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

/* ---------- NEWSLETTER & CTA CALLOUT SECTIONS ---------- */
.newsletter-callout, .newsletter-cta, .cta-section {
  margin-bottom: 60px;
  background: #E4F0F6;
  border-radius: 24px;
  box-shadow: 0 2px 10px rgba(34, 82, 150, 0.07);
}
.newsletter-callout .cta-button, .newsletter-cta .cta-button, .cta-section .cta-button {
  margin-top: 12px;
}
.cta-section .content-wrapper {align-items: flex-start;}

/* ------------------- TESTIMONIALS ---------------------- */
.testimonials .testimonial-card {
  background: #E4F0F6;
  color: #1d3343;
  margin-bottom: 20px;
  box-shadow: 0 1px 8px rgba(34,82,150,0.08);
  border-left: 5px solid #FDBB37;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}
.testimonials h2 {
  color: #1d3343;
  margin-bottom: 24px;
}

/* -------------------- FOOTER ----------------------------*/
footer {
  background: #fff;
  border-top: 1px solid #E4F0F6;
  padding: 32px 0 12px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: center;
  font-size: 0.97rem;
}
.footer-links a {
  color: #225296;
  margin: 0 4px;
  transition: color 0.18s;
}
.footer-links a:hover, .footer-links a:focus {
  color: #FDBB37;
}
.footer-links span {
  color: #9CA6B0;
  margin-left: 8px;
  font-size: 0.95rem;
}
.footer-contact {
  display: flex;
  gap: 18px;
  align-items: center;
  color: #1d3343;
  font-size: 0.99rem;
}
.footer-contact img {
  margin-right: 6px;
  vertical-align: middle;
  height: 18px;
  width: 18px;
}

/* ----------------- MAP & EMBEDDED SECTIONS --------------*/
.map-section .embedded-map {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
  padding: 20px;
  background: #F6FAFC;
  border-radius: 16px;
}

/* --------------- TEXT IMAGE SECTION ---------------------*/
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ----------------- INFO/CALLOUT BOX -------------------- */
.info-box {
  background: #fff3df;
  border-left: 5px solid #FDBB37;
  border-radius: 8px;
  padding: 18px;
  margin-top: 12px;
  color: #225296;
}

/* --------------- SELECT/INPUTS STYLE ------------------- */
label {
  display: block;
  margin-bottom: 8px;
  color: #225296;
  font-weight: 600;
}
select {
  background: #F6FAFC;
  border: 1px solid #B3D0E3;
  border-radius: 6px;
  height: 36px;
  padding: 4px 12px;
  color: #1d3343;
  font-size: 1rem;
  transition: border 0.17s;
}
select:focus {
  border-color: #FDBB37;
  outline: none;
}

/* ------------------- BUTTONS & INTERACTIONS ------------ */
button:not(.mobile-menu-toggle):not(.mobile-menu-close), .cta-button, .cookie-banner button {
  cursor: pointer;
  border: none;
  outline: none;
  box-shadow: none;
  transition: box-shadow 0.16s, background 0.17s, color 0.17s, transform 0.16s;
}

/* --------------- CARDS & LISTS (ACTIVITIES) ------------ */
.activity-list ul, .tips ul, .featured-activities ul, .family-games ul {
  display: flex;
  flex-direction: column;
  gap: 13px;
  list-style: none;
  margin: 18px 0 0 0;
  padding-left: 0;
}
.activity-list ul li, .tips ul li, .featured-activities ul li, .family-games ul li {
  background: #F6FAFC;
  padding: 13px 16px;
  border-radius: 9px;
  color: #1d3343;
  line-height: 1.55;
  box-shadow: 0 1px 6px rgb(34 82 150 / 5%);
  margin-bottom: 0;
}
.activity-list ul li strong, .featured-activities ul li strong {
  color: #225296;
}

/* ------------ SPECIAL: WEATHER TEASER BAR --------------- */
.weather-teaser {
  margin-top: 16px;
  background: #E4F0F6;
  border-radius: 10px;
  padding: 14px 18px;
  color: #174173;
  font-weight: 500;
  box-shadow: 0 1px 6px rgba(34,82,150,0.03);
}

/* --------------- RESPONSIVENESS ------------------------- */
@media (max-width: 1100px) {
  .container {
    max-width: 95vw;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 100vw;
    padding: 0 10px;
  }
  .section, .newsletter-callout, .newsletter-cta, .cta-section {
    padding: 30px 8px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 1.75rem;
  }
  h2 {
    font-size: 1.3rem;
  }
  .hero, .newsletter-callout, .newsletter-cta, .cta-section {
    border-radius: 0 0 16px 16px;
    padding: 32px 0 24px 0;
  }
  .content-wrapper, .text-section {
    gap: 15px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .card {
    padding: 18px 12px;
    margin-bottom: 16px;
    min-width: 0;
  }
  .testimonial-card {
    padding: 16px;
    gap: 10px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 15px;
  }
  .map-section .embedded-map {
    flex-direction: column;
    gap: 10px;
    padding: 14px;
  }
  footer .container, .footer-links, .footer-contact {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
}
@media (max-width: 480px) {
  h1 {
    font-size: 1.3rem;
  }
  .section, .newsletter-callout, .newsletter-cta, .cta-section {
    padding: 18px 2px;
    margin-bottom: 32px;
    border-radius: 0;
  }
}

/* ================= COOKIE CONSENT BANNER ================ */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #F6FAFC;
  box-shadow: 0 -2px 10px rgba(34, 82, 150, 0.10);
  padding: 24px 14px;
  z-index: 9000;
  min-height: 56px;
  animation: cookieSlideIn 0.65s cubic-bezier(.23,1.05,.21,1) 1;
}
@keyframes cookieSlideIn {
  from { transform: translateY(140px); opacity: 0; }
  to   { transform: translateY(0);   opacity: 1; }
}
.cookie-banner__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  max-width: 640px;
}
.cookie-banner__actions {
  display: flex;
  gap: 16px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.cookie-banner button {
  padding: 8px 18px;
  border-radius: 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  background: #E4F0F6;
  color: #225296;
  border: 1px solid #B3D0E3;
}
.cookie-banner button.accept {
  background: #225296;
  color: #fff;
  border: 1px solid #225296;
}
.cookie-banner button.accept:hover,
.cookie-banner button.accept:focus {
  background: #174173;
  color: #FDBB37;
}
.cookie-banner button.settings {
  background: #FDBB37;
  color: #1d3343;
  border: 1px solid #f6e1b6;
}
.cookie-banner button.settings:hover,
.cookie-banner button.settings:focus {
  background: #fff3df;
  color: #225296;
}
.cookie-banner button.reject {
  background: #fff;
  color: #225296;
  border: 1px solid #B3D0E3;
}
.cookie-banner button.reject:hover,
.cookie-banner button.reject:focus {
  background: #E4F0F6;
  color: #174173;
}

@media (max-width: 740px) {
  .cookie-banner__content {
    padding-left: 0;
    max-width: 95vw;
  }
}

/* ================ COOKIE PREFERENCES MODAL ============== */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(33,55,75, 0.30);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.3s;
}
@keyframes fadeIn {
  from { opacity: 0.2; }
  to { opacity: 1; }
}
.cookie-modal__box {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(34, 82, 150, 0.18);
  padding: 36px 28px 28px 28px;
  max-width: 410px;
  width: 90vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: scaleIn 0.25s cubic-bezier(.62,-0.49,.47,1.43);
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
.cookie-modal__close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #225296;
  cursor: pointer;
  transition: color 0.16s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  color: #FDBB37;
}
.cookie-modal__title {
  font-size: 1.3rem;
  color: #225296;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 8px;
}
.cookie-modal__categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-modal__category {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-modal__category input[type="checkbox"] {
  accent-color: #225296;
  width: 20px; height: 20px;
  flex-shrink: 0;
}
.cookie-modal__desc {
  font-size: 0.99rem;
  color: #444;
}
.cookie-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 18px;
}
.cookie-modal button {
  padding: 8px 22px;
  border-radius: 18px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  background: #E4F0F6;
  color: #225296;
  border: 1px solid #B3D0E3;
}
.cookie-modal button.save {
  background: #225296;
  color: #fff;
  border: 1px solid #225296;
}
.cookie-modal button.save:hover, .cookie-modal button.save:focus {
  background: #174173;
  color: #FDBB37;
}
.cookie-modal button.cancel {
  background: #fff;
  color: #225296;
  border: 1px solid #B3D0E3;
}
.cookie-modal button.cancel:hover, .cookie-modal button.cancel:focus {
  background: #E4F0F6;
  color: #174173;
}

@media (max-width: 540px) {
  .cookie-modal__box {
    padding: 22px 8px 8px 8px;
    min-width: 0;
  }
}

/* =============== MICRO-INTERACTIONS & EFFECTS ============= */
.card, .testimonial-card, .info-box, .cta-button, .cookie-banner button, .cookie-modal button {
  transition: box-shadow 0.19s, background 0.18s, color 0.18s, transform 0.14s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 18px rgba(34, 82, 150, 0.16);
  background: #DEF1FC;
  transform: translateY(-2px) scale(1.01);
}
footer .footer-links a, footer .footer-links span {
  transition: color 0.15s;
}
input[type="checkbox"] {
  accent-color: #225296;
}

/* ==== Utility: Hide elements accessibly (for JS) ==== */
.u-hidden {
  display: none !important;
  visibility: hidden !important;
}

/* =============== ENSURE NO ABSOLUTE GRID STYLES ============= */
/* (This area intentionally left blank, see code audit) */
