/* style.css - Leafy Hill Akademie - playful_dynamic style */

/* === RESET & NORMALIZATION === */
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: #F8F5F0;
  color: #245536;
  font-size: 16px;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  transition: background 0.2s;
}
a {
  color: #2196B3;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #005c7a;
  text-decoration: underline;
}
ul, ol {
  padding-left: 24px;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
  box-shadow: none;
}
button {
  font-family: inherit;
  font-size: 1em;
  background: none;
  border: none;
  cursor: pointer;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #245536;
  font-weight: bold;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 18px;
  line-height: 1.2;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  line-height: 1.3;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  line-height: 1.3;
}
.subheadline, .contact-intro {
  color: #005c7a;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  margin-bottom: 24px;
}

p, li {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #245536;
}

strong, b {
  color: #2196B3;
  font-weight: bold;
}

/* === BRAND COLORS === */
:root {
  --primary: #245536;
  --secondary: #F8F5F0;
  --accent: #2196B3;
  --accent-dark: #005c7a;
  --accent-bright: #32D182;
  --warn: #E94E77;
  --bg-content: #fff;
  --card-shadow: 0 4px 24px rgba(9,65,43,0.11);
}

/* === LAYOUT: CONTAINER & SECTIONS (Flexbox only) === */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
}

.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* === HEADER & NAVIGATION === */
header {
  background: var(--primary);
  color: #fff;
  position: relative;
  box-shadow: 0 1px 12px 0 rgba(36,85,54,0.07);
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px 12px 18px;
}
.logo img {
  height: 48px;
  width: auto;
}
nav.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
nav.main-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 7px 10px;
  border-radius: 8px;
  transition: background .2s, color .2s;
}
nav.main-nav a:hover, nav.main-nav a:focus {
  background: var(--accent);
  color: #fff;
}

.cta {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.05em;
  display: inline-block;
  padding: 12px 28px;
  border-radius: 22px;
  box-shadow: 0 4px 16px 0 rgba(49,170,116,0.08);
  margin-left: 20px;
  transition: background .2s, transform .2s, color .2s;
  text-align: center;
  position: relative;
}
.cta.primary {
  background: linear-gradient(90deg, #32D182 0%, var(--accent) 80%);
  color: #fff;
  border: none;
}
.cta.secondary {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--accent);
}
.cta:hover, .cta:focus {
  transform: translateY(-3px) scale(1.04) rotate(-2deg);
  box-shadow: 0 6px 28px rgba(50,209,130,0.16);
  opacity: 0.95;
}

/* === MOBILE NAVIGATION === */
.mobile-menu-toggle {
  display: none;
  background: #fff;
  color: var(--primary);
  font-size: 2rem;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  z-index: 205;
  margin-left: 12px;
  transition: background .2s, color .2s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--accent);
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 92vw;
  max-width: 340px;
  height: 100vh;
  background: #fff;
  box-shadow: -6px 0 32px rgba(36,85,54,0.16);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(0.7,0,0.3,1);
  display: flex;
  flex-direction: column;
  padding: 36px 22px 22px 22px;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.3rem;
  color: var(--primary);
  margin-bottom: 14px;
  margin-right: -6px;
  transition: color .2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mobile-nav a {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13em;
  font-weight: 500;
  padding: 12px 0 12px 2px;
  border-bottom: 1px solid #e3e9e3;
  border-radius: 0;
  margin-bottom: 0;
  transition: background .2s, color .2s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  padding-left: 8px;
}

/* Desktop nav hides mobile menu */
@media (min-width: 1024px) {
  .mobile-menu-toggle, .mobile-menu {
    display: none !important;
  }
}
/* Hide desktop nav on mobile */
@media (max-width: 1023px) {
  .main-nav, .cta.primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* === HERO BANNER === */
.hero {
  background: linear-gradient(110deg, #2196B3 0%, #32D182 70%, #fff 100%);
  background-size: 200% 100%;
  animation: playfulHeroBg 8s linear infinite alternate;
  padding-top: 56px;
  padding-bottom: 56px;
  margin-bottom: 0;
}
@keyframes playfulHeroBg {
  0% { background-position: 0% 0; }
  100% { background-position: 100% 0; }
}
.hero h1, .hero .subheadline, .hero .cta {
  color: #fff;
  text-shadow: 0 4px 14px rgba(33,150,179,0.14);
}
.hero h1 {
  font-size: 2.3rem;
  font-family: 'Montserrat', Arial, sans-serif;
  line-height: 1.13;
  font-weight: 800;
}

/* === FLEXBOX LAYOUTS === */
/* Card containers & grids */
.card-container, .feature-grid, .service-cards-grid, .topic-overview-grid, 
.content-grid, .testimonial-list, .program-list, .case-study-snippets ul, .customer-logos, .trust-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
  justify-content: flex-start;
}
.feature-grid, .service-cards-grid, .topic-overview-grid {
  gap: 28px;
  margin-bottom: 30px;
}

.card, .feature-item, .service-card, .topic-item, .program-item {
  background: var(--bg-content);
  border-radius: 24px;
  box-shadow: var(--card-shadow);
  padding: 30px 22px 24px 22px;
  margin-bottom: 20px;
  transition: transform .22s, box-shadow .22s;
  position: relative;
  min-width: 220px;
  flex: 1 1 210px;
  max-width: 370px;
}
.card:hover, .feature-item:hover, .service-card:hover, .topic-item:hover, .program-item:hover  {
  transform: translateY(-6px) scale(1.03) rotate(-1.5deg);
  box-shadow: 0 10px 54px 0 rgba(50,209,130,0.13);
}

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

.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: 18px;
  }
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 22px;
  border-radius: 22px;
  background: #fffceb;
  box-shadow: 0 2px 12px rgba(33,150,179,0.07);
  font-size: 1.07em;
  min-width: 220px;
  color: #245536;
  margin-bottom: 20px;
  flex: 1 1 260px;
}
.testimonial-card .author {
  color: var(--accent-dark);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1em;
  font-weight: 600;
  margin-left: auto;
}

/* Testimonials Slider/Lists */
.testimonial-slider, .testimonial-list {
  display: flex;
  flex-direction: row;
  gap: 24px;
  flex-wrap: wrap;
}
.customer-logos, .trust-signals {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 24px;
  margin-bottom: 0;
}

/* Feature/Service/Topic Items */
.feature-item, .service-card, .topic-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  justify-content: flex-start;
  text-align: left;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--card-shadow);
  min-width: 200px;
  max-width: 360px;
  transition: transform .18s, box-shadow .18s;
}
.feature-item img, .service-card img, .topic-item img {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
  filter: drop-shadow(1px 2px 2px #32D18255);
}

/* USP/Values/Benefit Lists */
.usp-list, .values-list, .benefit-list, .success-factors ul, .development-steps ol, .coaching-highlights ul, .benefits ul, .approach-points ul, .cookie-categories ul, .privacy-principles ul, .acceptance-clauses ul {
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.key-values, .policy-text, .general-info-text, .settings-info, .thankyou-message, .next-steps-info {
  background: #ECFAF3;
  box-shadow: 0 1px 8px 0 #32D18233;
  border-radius: 18px;
  padding: 24px 18px 18px 18px;
  font-size: 1.07em;
}

/* About Section / Values Section */
.about-section, .values-section {
  background: #E9F9F2;
  border-radius: 22px;
  margin-bottom: 60px;
  padding: 42px 20px;
}
.values-list li {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: var(--accent-dark);
  font-size: 1rem;
}

/* === CTA Section === */
.cta-section {
  background: linear-gradient(90deg, #fff 60%, #32D182 100%);
  border-radius: 22px;
  box-shadow: 0 6px 40px -12px #32D18266;
  padding: 46px 24px;
  text-align: center;
  margin-bottom: 64px;
}
.cta-section h2 {
  color: var(--primary);
}
.cta-section .cta {
  margin-top: 16px;
}

/* === Contact & Info Blocks === */
.contact-details-section .address-block, .phone-email-details, .opening-hours {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
  gap: 15px;
}
.phone-email-details img, .address-block img, .opening-hours img {
  width: 30px;
  height: 30px;
  margin-right: 8px;
}

/* === Footer === */
footer {
  background: var(--primary);
  color: #fff;
  padding: 32px 0 20px 0;
  border-radius: 26px 26px 0 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  justify-content: flex-start;
}
.footer-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #fff;
  opacity: 0.87;
  font-size: 1.02em;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 400;
  transition: opacity .18s, color .15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--accent-bright);
  opacity: 1;
}
.footer-contact {
  font-size: .9em;
  opacity: 0.8;
  margin-bottom: 6px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 0.92em;
  opacity: 0.9;
  margin-top: 6px;
}
.footer-brand img {
  width: 40px;
  height: auto;
  border-radius: 50%;
  background: #fff;
  padding: 5px;
  filter: drop-shadow(0 1px 3px #9cc3b033);
}

/* === POLICY & THANK YOU PAGES === */
.policy-section, .thankyou-section {
  background: #fff;
  border-radius: 22px;
  margin-top: 28px;
  margin-bottom: 60px;
  padding: 40px 24px 30px 24px;
  box-shadow: 0 2px 24px 0 #32D18218;
}
.policy-section h1, .thankyou-section h1 {
  color: var(--primary);
}
.policy-section h2 {
  color: var(--accent);
}

/* ==================== COOKIE CONSENT BANNER ==================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 222222;
  background: #fffceb;
  color: #245536;
  box-shadow: 0 -2px 24px rgba(33,150,179,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 16px 20px 16px 20px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1em;
  animation: slideInBottom 0.35s ease;
}
@keyframes slideInBottom {
  0% {opacity: 0; transform: translateY(100%);}
  100% {opacity: 1; transform: translateY(0);}
}
.cookie-banner .cookie-text {
  max-width: 520px;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 14px;
}
.cookie-banner .cookie-btn {
  border: none;
  border-radius: 16px;
  padding: 10px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  background: #32D182;
  color: #fff;
  cursor: pointer;
  font-size: 0.99em;
  box-shadow: 0 3px 12px 0 #32D18222;
  transition: background .18s, color .15s, box-shadow .18s;
}
.cookie-banner .cookie-btn.reject {
  background: #E94E77;
  color: #fff;
}
.cookie-banner .cookie-btn.settings {
  background: #2196B3;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #245536;
  color: #fffceb;
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(36,85,54,0.16);
  z-index: 299999;
  animation: fadeIn .28s;
}
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 8px 40px #32D18233;
  padding: 34px 30px 28px 30px;
  min-width: 310px;
  max-width: 98vw;
  min-height: 220px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 24px;
  font-size: 2.2em;
  color: var(--primary);
  background: none;
  border: none;
  transition: color .2s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #2196B3;
}
.cookie-modal-content h2 {
  color: var(--primary);
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 6px 0 16px 0;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.05em;
}
.cookie-modal-category input[type="checkbox"] {
  accent-color: #32D182;
  width: 22px;
  height: 22px;
}
.cookie-modal-category.essential input[type="checkbox"] {
  accent-color: #bcbcbc;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  justify-content: flex-end;
}

/* ==================== ANIMATIONS & MICRO-INTERACTIONS ==================== */
.card, .feature-item, .service-card, .topic-item, .program-item {
  animation: popAppear 0.54s cubic-bezier(0.65,0,0.35,1) both;
}
@keyframes popAppear {
  0% {transform: scale(.68) translateY(38px) rotate(-8deg); opacity: 0;}
  70% {transform: scale(1.07) translateY(-8px) rotate(1deg);opacity: 1;}
  100% {transform: scale(1) translateY(0) rotate(0deg);}
}
.testimonial-card {
  animation: cardAppear 0.73s cubic-bezier(0.57,0,0.43,1);
}
@keyframes cardAppear {
  0% { opacity: 0; transform: scale(.72) translateX(25px); }
  100% { opacity: 1; transform: scale(1) translateX(0); }
}
.cta, .cookie-btn {
  transition: background .18s, color .15s, box-shadow .2s, transform .20s;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 1200px) {
  .container { max-width: 95vw; }
}
@media (max-width: 991px) {
  .feature-grid, .service-cards-grid, .topic-overview-grid, .testimonial-list,
  .content-grid, .customer-logos, .trust-signals {
    gap: 18px;
  }
  .feature-item, .service-card, .topic-item, .testimonial-card {
    max-width: 94vw;
    min-width: 70vw;
  }
}
@media (max-width: 860px) {
  .container {
    padding: 0 8px;
  }
  .policy-section, .thankyou-section, .section, .cta-section, .about-section, .values-section {
    padding-left: 12px;
    padding-right: 12px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.26rem; }
  h3 { font-size: 1.1rem; }
  .section, .cta-section, .about-section, .values-section {
    padding: 25px 8px;
    margin-bottom: 42px;
  }
  .feature-grid, .service-cards-grid, .topic-overview-grid, .testimonial-list, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .feature-item, .service-card, .topic-item, .testimonial-card {
    min-width: 90vw;
    max-width: 98vw;
    padding: 20px 10px 16px 10px;
  }
  .footer-brand img { width: 34px; }
}
@media (max-width: 520px) {
  .hero { padding-top: 24px; padding-bottom: 24px; }
  h1 { font-size: 1.19rem; }
  .cookie-banner { flex-direction: column; gap: 20px; padding: 18px 5px 20px 7px; font-size: 0.97em; }
  .cookie-banner .cookie-buttons { flex-direction: column; align-items: flex-stretch; gap: 10px; }
  footer .footer-contact { font-size: 0.83em; }
}

/* ==================== PLAYFUL/ENERGETIC DECORATIVE TOUCHES ==================== */
h1:after, h2:after {
  content: '';
  display: inline-block;
  margin-left: 18px;
  vertical-align: middle;
  height: 13px;
  width: 40px;
  border-radius: 12px;
  background: linear-gradient(90deg, #32D182 0%, #2196B3 100%);
  opacity: 0.37;
  animation: wavy-underline 2.6s infinite alternate cubic-bezier(0.67,0,0.33,1);
}
@keyframes wavy-underline {
  0%{transform: scaleX(1) rotate(-2deg);}
  100%{transform: scaleX(1.19) rotate(2deg);}
}

.feature-item img, .service-card img, .topic-item img, .footer-brand img, .customer-logos img, .trust-signals img {
  transition: filter 0.18s, transform 0.17s;
}
.feature-item img:hover, .service-card img:hover, .topic-item img:hover, .customer-logos img:hover, .trust-signals img:hover {
  filter: brightness(1.3) drop-shadow(0 6px 8px #2196b366);
  transform: rotate(-8deg) scale(1.09);
}

/* Highlight for tick/verify/award icons in lists */
li::marker, .usp-list li::before, .benefit-list li::before, .success-factors ul li::before {
  color: #32D182;
  font-size: 1.1em;
}

/* Microanimation for cta-section and cards when they come into view */
.cta-section, .about-section, .values-section, .thankyou-section, .policy-section {
  animation: fadePop .7s cubic-bezier(0.55,0,0.35,1) both;
}
@keyframes fadePop {
  0% {opacity: 0; transform: scale(.93) translateY(18px);}
  100% {opacity: 1; transform: scale(1) translateY(0);}
}

/* ==================== MISC & UTILITIES ==================== */
.hide { display: none !important; }

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