/* ==================== 
   CSS RESET & BASELINE
   ==================== */
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: #F4ECE3;
  color: #263159;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
}
input, button, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #263159;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #9F8767;
}

/* ===== BRANDS & COLORS ===== */
:root {
  --primary: #263159;
  --secondary: #9F8767;
  --accent: #F4ECE3;
  --highlight: #FFE5B4; /* Soft warm accent for highlights */
  --danger: #A14B2E;
  --success: #70A36E;
  --shadow: 0 4px 32px 0 rgba(38,49,89,0.04), 0 1.5px 5px 0 rgba(159,135,103,0.10);
  --radius: 16px;
  --radius-sm: 10px;
}

/* === TYPOGRAPHY === */
h1, .h1 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1.15;
  margin-bottom: 18px;
  color: var(--primary);
  letter-spacing: -1px;
}
h2, .h2 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--primary);
}
h3, .h3 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.35rem;
  line-height: 1.25;
  margin-bottom: 12px;
  color: var(--primary);
}
h4, .h4 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--primary);
}
p, ul, ol {
  color: var(--primary);
  margin-bottom: 12px;
  font-size: 1rem;
}
ul, ol {
  padding-left: 22px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 9px;
}
strong, b {
  font-weight: 600;
}

/* === CONTAINER & SPACING === */
.container {
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0; /* For header/footer inner layout use flex children with gap */
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: var(--radius);
}
@media (max-width: 768px) {
  .section {
    padding: 24px 8px;
    margin-bottom: 42px;
  }
}

/* === HEADER & NAVIGATION === */
header {
  width: 100%;
  background-color: #fff;
  box-shadow: 0 2px 16px rgba(159, 135, 103, 0.10);
  position: relative;
  z-index: 30;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  min-height: 74px;
  gap: 0;
}
.logo img {
  height: 48px;
  width: auto;
}
nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.2px;
  color: var(--primary);
  position: relative;
  padding: 5px 0;
  transition: color 0.2s;
  border-radius: var(--radius-sm);
}
nav a:hover, nav a:focus {
  color: var(--secondary);
  background-color: var(--accent);
}
.btn-primary {
  background: var(--secondary);
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: var(--radius);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.09rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 3px 14px rgba(159,135,103,0.11);
  transition: background 0.23s, box-shadow 0.23s, color 0.15s, transform 0.07s;
  margin-left: 24px;
  display: inline-block;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--primary);
  color: var(--accent);
  box-shadow: 0 6px 20px rgba(159,135,103,0.16);
  transform: translateY(-2px) scale(1.03);
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--primary);
  margin-left: 26px;
  cursor: pointer;
  transition: color 0.2s, background 0.18s;
  border-radius: var(--radius-sm);
  padding: 6px 10px;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--highlight);
  color: var(--secondary);
}
@media (max-width: 990px) {
  nav {
    display: none;
  }
  .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
/* === MOBILE MENU === */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background-color: rgba(38,49,89,0.95);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.32s cubic-bezier(0.52,0.02,0.51,1.14), opacity 0.22s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  position: absolute;
  top: 24px;
  right: 27px;
  cursor: pointer;
  z-index: 1002;
  padding: 6px 10px;
  border-radius: 50%;
  transition: background 0.18s, color 0.19s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--highlight);
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 100px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.32rem;
  color: #fff;
  letter-spacing: 0.5px;
  padding: 16px 48px;
  border-radius: var(--radius);
  width: fit-content;
  transition: background 0.16s, color 0.16s, box-shadow 0.15s;
  box-shadow: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(220,168,110,0.11);
}

/* === HERO & SECTION 1 === */
.content-wrapper > h1, .content-wrapper > h2 {
  margin-top: 0;
}
section > .container > .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 19px;
}

@media (max-width: 600px) {
  section > .container > .content-wrapper {
    gap: 13px;
  }
}

/* === FEATURES & CARDS === */
.features-grid, .services-list, .highlighted-locations {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 16px;
}
.features-grid {
  justify-content: flex-start;
}
.feature-card, .service-card, .location-card {
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 32px 26px 22px 26px;
  min-width: 220px;
  max-width: 330px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  gap: 12px;
  transition: box-shadow 0.22s, transform 0.12s, background 0.2s;
  position: relative;
}
.feature-card img {
  height: 48px;
  width: 48px;
  margin-bottom: 12px;
}
.feature-card:hover, .service-card:hover, .location-card:hover {
  box-shadow: 0 4px 28px rgba(159,135,103,0.15);
  background: var(--highlight);
  transform: translateY(-4px) scale(1.025);
}
.price {
  margin-top: 14px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--secondary);
  background: var(--accent);
  border-radius: var(--radius-sm);
  padding: 4px 15px;
  letter-spacing: 0.25px;
}
@media (max-width: 1020px) {
  .features-grid, .services-list, .highlighted-locations {
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
  }
}
@media (max-width: 760px) {
  .features-grid, .services-list, .highlighted-locations {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .feature-card, .service-card, .location-card {
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }
}

/* === LISTS INSIDE CARDS/SECTIONS === */
.text-section ul, .spielideen ul {
  margin-bottom: 12px;
  color: var(--primary);
}
.text-section li, .spielideen li {
  font-size: 1rem;
  line-height: 1.65;
}

/* === TEXT-IMAGE SECTIONS (About, Home etc.) === */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
}

/* === TESTIMONIALS === */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 28px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fffceb;
  border-radius: var(--radius);
  box-shadow: 0 2px 14px rgba(159,135,103,0.13);
  min-width: 230px;
  max-width: 350px;
  flex: 1 1 230px;
  margin-bottom: 20px;
  font-size: 1.13rem;
  position: relative;
  color: #40382d;
  border-left: 6px solid var(--secondary);
  transition: box-shadow 0.18s, background 0.15s;
}
.testimonial-card:hover {
  background: #fff9e2;
  box-shadow: 0 6px 26px rgba(159,135,103,0.19);
}
.testimonial-card p {
  margin-bottom: 5px;
  color: #40382d;
  font-size: 1.06rem;
}
.testimonial-card .stars {
  color: var(--secondary);
  letter-spacing: 0.12em;
  font-size: 1.24rem;
  margin-top: 1px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.testimonial-card strong {
  color: var(--primary);
  font-size: 1rem;
}

@media (max-width: 790px) {
  .testimonials {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
  .testimonial-card {
    max-width: 100%;
  }
}

/* === FOOTER === */
footer {
  background: var(--primary);
  color: #fff;
  width: 100%;
  padding: 0 0 0 0;
}
footer .container {
  flex-direction: column;
  align-items: center;
  padding: 30px 18px 20px 18px;
  gap: 25px;
}
.footer-logo img {
  height: 40px;
}
footer nav {
  display: flex;
  gap: 20px;
  margin-bottom: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
footer nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  transition: background 0.17s, color 0.16s;
}
footer nav a:hover, footer nav a:focus {
  background: var(--secondary);
  color: #fff;
}
.footer-contact {
  text-align: center;
  color: #fff;
  font-size: 0.99rem;
  letter-spacing: 0.15px;
  opacity: 0.92;
}

/* === FORMS & BUTTONS (if present in future) === */
button, .btn-primary {
  outline: none;
}
button:focus-visible, .btn-primary:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}
::-webkit-input-placeholder { color: #968A79; }
::-moz-placeholder { color: #968A79; }
:-ms-input-placeholder { color: #968A79; }
::placeholder { color: #968A79; }

/* === SPECIAL LAYOUT PATTERNS === */
.card-container, .content-grid, .features {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.content-grid {
  gap: 20px;
  justify-content: space-between;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === SPIELIDEEN (FAMILIES) === */
.spielideen {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 19px 18px 19px;
  margin-bottom: 20px;
  margin-top: 13px;
}
.spielideen h3 {
  color: var(--secondary);
  font-size: 1.16rem;
  margin-bottom: 6px;
}

/* === TEXT SECTIONS === */
.text-section {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px 20px 20px 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(159,135,103,0.07);
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  background: #fffceb;
  box-shadow: 0 -2px 16px rgba(159,135,103,0.12);
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
  z-index: 1200;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 24px 18px;
  transition: transform 0.23s, opacity 0.19s;
  opacity: 1;
  font-size: 1rem;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner p {
  margin: 0 0 0 0;
  color: var(--primary);
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-btn {
  margin-left: 11px;
  background: var(--secondary);
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  box-shadow: 0 2px 7px rgba(159,135,103,0.11);
}
.cookie-btn.settings {
  background: #fff9e6;
  color: var(--secondary);
  border: 1.5px solid var(--secondary);
   margin-left: 0;
}
.cookie-btn.deny {
  background: #e2be9e;
  color: #fff;
}
.cookie-btn:hover {
  background: var(--primary);
  color: var(--accent);
}
.cookie-btn.settings:hover {
  background: var(--highlight);
  color: var(--primary);
  border-color: var(--primary);
}
.cookie-btn.deny:hover {
  background: var(--primary);
  color: var(--accent);
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
    padding: 24px 9px 18px 9px;
    font-size: 0.97rem;
  }
  .cookie-btn {
    width: 100%;
    margin: 0 0 9px 0;
  }
}

/* === COOKIE MODAL === */
.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(38,49,89,0.40);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2200;
  transition: opacity 0.2s;
  opacity: 1;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 6px 32px rgba(159,135,103,0.22);
  padding: 32px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 410px;
  width: 90vw;
  position: relative;
}
.cookie-modal-content h3 {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.36rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.cookie-modal-content p {
  color: var(--primary);
  margin-bottom: 15px;
}
.cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 18px;
  background: none;
  border: none;
  color: var(--secondary);
  font-size: 2rem;
  cursor: pointer;
  border-radius: 50%;
  padding: 5px 8px;
  transition: background 0.19s, color 0.18s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--accent);
  color: var(--primary);
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  margin-bottom: 13px;
  font-size: 1rem;
}
.cookie-category label {
  font-weight: 500;
  color: var(--primary);
}
.cookie-toggle {
  accent-color: var(--secondary);
  width: 18px;
  height: 18px;
}
.cookie-category .always-on {
  color: #aaa;
  font-size: 15px;
  margin-left: 8px;
}
.cookie-modal-footer {
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 18px;
}
@media (max-width: 560px) {
  .cookie-modal-content {
    padding: 18px 7vw 18px 7vw;
    max-width: 98vw;
  }
}


/* === RESPONSIVE LAYOUTS === */
@media (max-width: 840px) {
  .container {
    max-width: 99vw;
    padding: 0 8px;
  }
  .footer-logo img {
    height: 34px;
  }
}
@media (max-width: 640px) {
  h1, .h1 {font-size: 1.6rem;}
  h2, .h2 {font-size: 1.18rem;}
  .btn-primary { font-size: 1rem; padding: 11px 18px; }
  .footer-logo img { height: 28px; }
}

/* === TRANSITIONS & MICRO-INTERACTIONS === */
button, .btn-primary, a, .feature-card, .service-card, .location-card, .testimonial-card, .cookie-btn {
  transition: 
    background 0.22s, 
    box-shadow 0.17s, 
    color 0.19s, 
    border-color 0.17s,
    transform 0.11s;
}

/* === MISCELLANEOUS === */
::-webkit-scrollbar {
  width: 9px;
  background: #ece6e3;
  border-radius: var(--radius-sm);
}
::-webkit-scrollbar-thumb {
  background: #d7c3b1;
  border-radius: var(--radius-sm);
}

/* === ACCESSIBILITY / FOCUS === */
:focus:not(:focus-visible) {
  outline: none;
}
:focus-visible {
  outline: 2px dashed var(--secondary);
  outline-offset: 2px;
}

/* === PRINT SUPPORT (simple, optional) === */
@media print {
  header, .mobile-menu, .cookie-banner, .cookie-modal, footer { display: none !important; }
  body { color: #111; background: #fff; }
}
