/* ========================================================= */
/*                    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;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  appearance: none;
  box-shadow: none;
}
button {
  cursor: pointer;
  background: transparent;
}

/* ========================================================= */
/*                    BRAND VARIABLES                        */
/* ========================================================= */

:root {
  --color-primary: #243949;
  --color-secondary: #638a5c;
  --color-accent: #ffd466;
  --color-bg: #f7f5f0;
  --color-card-bg: #fffdf7;
  --color-muted-bg: #edf2e4;
  --color-text: #243949;
  --color-text-muted: #4a5c50;
  --color-nature-green: #788a6b;
  --color-earth-brown: #8a7860;
  --color-error: #bd4545;
  --shadow-main: 0 4px 24px rgba(60,85,60,0.07);
  --shadow-card: 0 2px 12px rgba(100,140,96,0.08);
  --border-radius-lg: 26px;
  --border-radius-md: 16px;
  --border-radius-sm: 8px;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
  --transition-main: 0.25s cubic-bezier(.68,-0.55,.27,1.55);
}

/* ========================================================= */
/*                   BODY/NATURE ORGANIC BG                   */
/* ========================================================= */

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: .02em;
}

/* Spacing helpers for main containers */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

@media (min-width: 992px) {
  .content-wrapper {
    gap: 36px;
  }
}

/* ORGANIC SHAPES (decorative, e.g. blob backgrounds) */
.hero,
.features,
.services,
.testimonials,
.contact,
.cta,
.legal,
.thank-you-section {
  border-radius: var(--border-radius-lg) var(--border-radius-sm) var(--border-radius-md) var(--border-radius-sm);
  background: var(--color-card-bg);
  box-shadow: var(--shadow-main);
}

/* 1. SECTION SPACING */
.section,
.hero,
.features,
.services,
.testimonials,
.contact,
.cta,
.legal,
.thank-you-section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* CARDS & GRIDS LAYOUT */
.card-container,
.feature-grid,
.service-overview,
.team-profiles,
.event-calendar,
.community-features,
.course-benefits,
.text-image-section {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-muted-bg);
  border-radius: var(--border-radius-md);
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  transition: box-shadow var(--transition-main), transform var(--transition-main);
}
.card:hover {
  box-shadow: 0 6px 18px rgba(100,130,96,0.16);
  transform: translateY(-2px) scale(1.01);
}
.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;
    align-items: flex-start;
    gap: 20px;
  }
}

.testimonial-card {
  background: var(--color-muted-bg);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: var(--border-radius-md);
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
  color: var(--color-text);
  transition: box-shadow var(--transition-main);
}
.testimonial-card:hover {
  box-shadow: 0 6px 15px rgba(60,85,60,0.09);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

/* NAVIGATION ========================= */
header {
  background: transparent;
  box-shadow: none;
  position: relative;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0 12px 0;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
header nav a {
  font-family: var(--font-display);
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--border-radius-sm);
  color: var(--color-primary);
  transition: background var(--transition-main), color var(--transition-main);
  font-size: 1rem;
}
header nav a:hover,
header nav a:focus {
  background: var(--color-accent);
  color: var(--color-secondary);
}
header img[alt="FreizeitSchatz"] {
  max-height: 48px;
}

/* Mobile burger menu button */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  padding: 6px 16px;
  color: var(--color-secondary);
  background: var(--color-card-bg);
  border-radius: 50%;
  border: none;
  margin-left: 10px;
  box-shadow: var(--shadow-card);
  z-index: 101;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  outline: none;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--color-accent);
  color: var(--color-primary);
  box-shadow: 0 2px 12px var(--color-secondary, #638a5c, 0.14);
}

@media (min-width: 900px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* Hide desktop nav on mobile */
@media (max-width: 899px) {
  header nav {
    display: none;
  }
}
/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(95,122,90,0.95);
  backdrop-filter: blur(4px);
  z-index: 200;
  transform: translateX(100%);
  transition: transform var(--transition-main);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  margin: 36px 28px 0 0;
  background: var(--color-accent);
  color: var(--color-primary);
  border: none;
  border-radius: 50%;
  padding: 8px 14px;
  box-shadow: var(--shadow-main);
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--color-secondary);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin: 40px 0 0 32px;
  width: 88vw;
  max-width: 390px;
  padding: 20px 0 0 0;
}
.mobile-nav a {
  display: block;
  padding: 14px 12px 14px 10px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  border-radius: var(--border-radius-sm);
  width: 100%;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--color-accent);
  color: var(--color-secondary);
}


/* HERO SECTION */
.hero {
  background: linear-gradient(115deg, var(--color-muted-bg) 70%, var(--color-accent) 100%);
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: 2.15rem;
  margin-bottom: 16px;
  color: var(--color-primary);
  line-height: 1.18;
  letter-spacing: -.01em;
}
.hero p {
  font-size: 1.14rem;
  color: var(--color-nature-green);
}
.hero .cta {
  margin-top: 24px;
}
@media (min-width: 640px) {
  .hero h1 {
    font-size: 2.7rem;
  }
}
@media (min-width: 1200px) {
  .hero h1 {
    font-size: 3rem;
  }
}

/* Feature Grid, Service Overviews, Event Lists */
.feature-grid, .service-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 16px 0 0 0;
}
.feature-grid > div,
.service-overview > div {
  background: var(--color-muted-bg);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-card);
  flex: 1 1 240px;
  min-width: 220px;
  padding: 24px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow var(--transition-main), transform var(--transition-main);
}
.feature-grid > div:hover, .service-overview > div:hover {
  box-shadow: 0 8px 24px rgba(60,86,60,0.11);
  transform: translateY(-5px) scale(1.025);
}
.feature-grid img, .service-overview img {
  height: 38px;
  margin-bottom: 10px;
}

/* Event Calendar card */
.event-calendar {
  background: var(--color-muted-bg);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-card);
  padding: 22px;
  flex: 1 1 300px;
  margin-bottom: 20px;
}
.event-calendar ul {
  list-style: disc inside;
  color: var(--color-earth-brown);
}
.event-calendar li {
  margin-bottom: 12px;
  color: var(--color-primary);
  font-size: 1.07rem;
}

/* Team/Features Lists */
.team-profiles {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.team-profiles > .text-section {
  flex: 1 1 220px;
  min-width: 220px;
}

/* Social Icons */
.social-links {
  display: flex;
  flex-direction: row;
  gap: 24px;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 7px;
  border-radius: 50%;
  background: var(--color-accent);
  transition: background .18s, box-shadow .18s, transform .15s;
  box-shadow: var(--shadow-card);
}
.social-links a:hover,
.social-links a:focus {
  background: var(--color-secondary);
  transform: scale(1.08);
}
.social-links img {
  width: 22px;
  height: 22px;
}

/* Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 0 0 16px 0;
}
.contact-info p,
.contact-info a {
  font-size: 1.04rem;
  color: var(--color-primary);
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 11px;
}
.contact-info img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.map {
  margin-top: 18px;
  /* decorative leaf-green organic blob */
  border-radius: 34% 66% 56% 44% / 66% 37% 63% 34%;
  overflow: hidden;
  box-shadow: var(--shadow-main);
  background: var(--color-muted-bg);
  max-width: 260px;
  margin-bottom: 18px;
}

/* ======================== BUTTONS  ======================= */
.cta, .primary {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.17rem;
  letter-spacing: 0.03em;
  color: var(--color-primary);
  background: var(--color-accent);
  border-radius: 21px;
  padding: 13px 28px;
  box-shadow: var(--shadow-main);
  border: none;
  transition: background var(--transition-main), color var(--transition-main), transform 0.2s;
  cursor: pointer;
  margin-bottom: 8px;
}
.cta.primary {
  background: var(--color-secondary);
  color: #fff;
}
.cta:hover, .cta.primary:hover {
  background: var(--color-earth-brown);
  color: #fff;
  transform: translateY(-2px) scale(1.045);
}
.cta:active, .cta.primary:active {
  background: var(--color-nature-green);
  color: var(--color-accent);
}

/* Inline nav cta */
nav .cta.primary {
  margin-left: 12px;
}

/* ======================= TYPOGRAPHY ====================== */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 10px;
}
h1 { font-size: 2rem; }
h2 { font-size: 1.45rem; }
h3 { font-size: 1.19rem; }
h4 { font-size: 1.08rem; }
h5 { font-size: 0.98rem; }
p, ul, ol, li { font-size: 1.02rem; }
@media (min-width: 760px) {
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2.0rem; }
  h3 { font-size: 1.31rem; }
}
strong { font-weight: bold; color: var(--color-secondary); }
em { font-style: italic; }
.text-section ul, .text-section ol {
  margin: 12px 0 0 14px;
  color: var(--color-text-muted);
  list-style: disc inside;
  font-size: 1.01rem;
  line-height: 1.55;
}
ul li, ol li {
  margin-bottom: 7px;
  padding-left: 0;
}

.text-section {
  padding: 0 0 8px 0;
}

hr {
  margin: 32px 0;
  border: 0;
  border-top: 1px solid #d8e3ce;
}

/* ======================= TESTIMONIALS ====================== */
.testimonials h2,
.testimonials h3 {
  color: var(--color-secondary);
}
.testimonial-card p {
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 1.11rem;
}
.testimonial-card span {
  color: var(--color-secondary);
  font-size: 0.99rem;
  font-weight: 500;
}

/* ======================== FOOTER ======================== */
footer {
  background: var(--color-card-bg);
  padding: 10px 0 0 0;
  border-top: 1px solid #dae5ca;
  font-size: 0.97rem;
}
footer .container {
  padding: 0 20px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 8px;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  flex-wrap: wrap;
}
footer nav a {
  color: var(--color-nature-green);
  padding: 3px 8px;
  border-radius: var(--border-radius-sm);
  font-weight: 500;
  font-family: var(--font-display);
  transition: background 0.18s, color 0.18s;
  font-size: 1rem;
}
footer nav a:hover {
  background: var(--color-accent);
  color: var(--color-primary);
}
footer .contact {
  margin: 0 0 4px 0;
  color: var(--color-text-muted);
  font-size: 0.97rem;
}
footer .legal-info p {
  color: var(--color-earth-brown);
  font-size: 0.95rem;
  margin-top: 6px;
}

@media (min-width: 800px) {
  footer .content-wrapper {
    flex-direction: row;
    align-items: flex-start;
    gap: 30px;
  }
  footer nav {
    gap: 28px;
  }
}

/* ======================== LEGAL PAGES ====================== */
.legal {
  background: var(--color-card-bg);
  font-size: 1rem;
  color: var(--color-primary);
}
.legal h2 {
  color: var(--color-secondary);
  font-size: 1.3rem;
  margin-top: 22px;
}

/* ======================== THANK YOU PAGES ====================== */
.thank-you-section {
  background: var(--color-muted-bg);
}
.thank-you-section nav {
  margin-top: 24px;
  font-size: 1.1rem;
}
.thank-you-section nav a {
  color: var(--color-secondary);
  margin-right: 11px;
  font-family: var(--font-display);
}
.thank-you-section nav a:hover {
  color: var(--color-accent);
}

/* ==================== ACCREDITATIONS/BADGES =================== */
.accreditation-badges {
  display: flex;
  gap: 16px;
  margin-top: 10px;
}
.accreditation-badges img {
  height: 36px;
}

/* ==================== MISC UTILS & ACCENTS ==================== */
[data-accent] {
  color: var(--color-accent) !important;
}
[data-secondary] {
  color: var(--color-secondary) !important;
}

strong {
  font-weight: bold;
  color: var(--color-secondary);
}

[data-mute], .text-muted {
  color: var(--color-earth-brown) !important;
}

/* Feature icons, service icons */
.feature-grid img, .service-overview img, .contact-info img {
  filter: grayscale(15%) saturate(0.7) opacity(0.95);
}


/* =================== RESPONSIVE LAYOUT =================== */
@media (max-width: 1100px) {
  .container { max-width: 95vw; }
}
@media (max-width: 900px) {
  .feature-grid, .service-overview, .team-profiles {
    flex-direction: column;
    gap: 22px;
  }
}
@media (max-width: 768px) {
  .section,
  .hero,
  .features,
  .services,
  .testimonials,
  .contact,
  .cta,
  .thank-you-section {
    padding: 27px 7vw;
    margin-bottom: 36px;
    border-radius: var(--border-radius-md);
  }
  .container {
    padding: 0 6vw;
  }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.10rem; }
  .feature-grid>div, .service-overview>div {
    min-width: unset;
    padding: 14px 10px;
    font-size: 0.98rem;
  }
}

/* =================== COOKIE CONSENT BANNER =================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  z-index: 9999;
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 -3px 24px rgba(30,48,39,.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 22px;
  padding: 28px 18px 24px 18px;
  font-size: 0.995rem;
  animation: fadeInUp 0.45s ease;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(80px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner p {
  flex: 1 1 240px;
  margin-bottom: 8px;
  color: #fff;
}
.cookie-btn {
  background: var(--color-accent);
  color: var(--color-primary);
  border-radius: 16px;
  padding: 10px 22px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-right: 10px;
  border: none;
  transition: background 0.2s, color 0.2s, transform .18s;
  box-shadow: var(--shadow-main);
}
.cookie-btn:focus, .cookie-btn:hover {
  background: var(--color-secondary);
  color: #fff;
  transform: scale(1.04);
}
.cookie-btn.reject {
  background: var(--color-earth-brown);
  color: #fff;
}
.cookie-btn.reject:hover {
  background: #948057;
}
.cookie-btn.settings {
  background: transparent;
  border: 1.5px solid var(--color-accent);
  color: var(--color-accent);
  transition: background 0.2s, color 0.2s;
}
.cookie-btn.settings:hover {
  background: var(--color-accent);
  color: var(--color-primary);
}

/* =================== COOKIE MODAL =================== */
.cookie-modal-overlay {
  position: fixed;
  z-index: 10001;
  left: 0;right:0;top:0;bottom:0;
  width: 100vw; height: 100vh;
  background: rgba(36,57,73, 0.72);
  display: flex;
  align-items: center; justify-content: center;
  animation: fadeIn .2s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: var(--color-card-bg);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-main);
  padding: 38px 27px 32px 27px;
  width: 100%;
  max-width: 420px;
  color: var(--color-primary);
  font-size: 1.06rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: slideDown 0.36s cubic-bezier(.48,.3,0,1.1);
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-38px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-modal-title {
  font-family: var(--font-display);
  font-size: 1.38rem;
  font-weight: 700;
  letter-spacing: -.01em;
  margin-bottom: 9px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 12px 0;
  padding: 8px 0;
  border-bottom: 1px solid #eef1e7;
  font-size: 1.01rem;
}
.cookie-category label {
  font-weight: 500;
  color: var(--color-primary);
}
.cookie-toggle {
  margin-left: 14px;
  accent-color: var(--color-secondary);
  height: 19px; width: 36px;
}
.cookie-modal-actions {
  display: flex;
  gap: 18px;
  margin-top: 14px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute; top: 14px; right: 16px;
  background: transparent;
  color: var(--color-secondary);
  font-size: 1.28rem;
  padding: 2px 7px;
  border-radius: 50%;
  transition: background .18s, color .18s;
}
.cookie-modal-close:hover {
  background: var(--color-accent);
  color: var(--color-primary);
}

/* ============== ANIMATIONS & EFFECTS ============== */
a, button, .cta, .cta.primary, .mobile-menu-toggle, .mobile-menu-close {
  transition: background var(--transition-main), color var(--transition-main), box-shadow var(--transition-main), transform .15s;
}

section, .card, .testimonial-card, .feature-grid>div, .service-overview>div {
  /* reveal on scroll animation - optional class */
  opacity: 1;
  transform: none;
  transition: box-shadow .22s, background .18s, transform .2s;
}

/* ============ ACCESSIBILITY/FOCUS ============ */
a:focus-visible, button:focus-visible, .cta:focus-visible, .mobile-menu-toggle:focus-visible, .mobile-menu-close:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  z-index: 5;
}

/* ============ UTILS ============ */
.hide {
  display: none!important;
}

/* ============== OVERRIDES FOR WORD BREAK/LONG TEXT ============== */
.text-section, p, ul, ol, li {
  word-break: break-word;
}

/**** END OF CSS ****/
