/* ----------------------------
   CSS RESET & NORMALIZE RULES
----------------------------- */
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;
}
/* HTML5 display-role reset */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F5E9DA;
  color: #254C77;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
  font-size: 16px;
}
img, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
a {
  color: #1580e5;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #254C77;
  text-decoration: underline;
  outline: none;
}
button, input, textarea, select {
  font: inherit;
  outline: none;
  background: none;
  border: none;
}
button {
  cursor: pointer;
  background: none;
}

/* FONT-FACE (GOOGLE FONTS or CDN) ASSUMED PRESENT */
body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
}
h1, h2, h3, .cta, nav a, .mobile-menu-toggle {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* Basic playful colors & energy */
:root {
  --color-primary: #254C77;
  --color-secondary: #7F8F9A;
  --color-accent: #F5E9DA;
  --color-yellow: #FFD43B;
  --color-pink: #FF8AC6;
  --color-blue: #35BDFE;
  --color-green: #3BE2BA;
  --color-white: #fff;
  --color-dark: #222;
  --shadow-main: 0 2px 10px rgba(37, 76, 119, 0.10), 0 0.5px 1.5px #FFD43B22;
  --transition-normal: 0.2s cubic-bezier(.44,1.29,.61,1);
}

/* ----------------------------
   LAYOUT & RESPONSIVE CONTAINER
----------------------------- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* -----------------------------------
   HEADER + NAVIGATION (Desktop/Mobile)
------------------------------------ */
header {
  background: var(--color-accent);
  border-bottom: 4px solid var(--color-yellow);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 8px #ffe3a024;
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
  position: relative;
}
.header-bar nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
.header-bar nav a {
  font-size: 17px;
  color: var(--color-primary);
  padding: 7px 18px;
  border-radius: 22px;
  background: none;
  transition: background var(--transition-normal), color var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
}
.header-bar nav a:hover, .header-bar nav a.active {
  background: var(--color-yellow);
  color: var(--color-dark);
  box-shadow: 0 2px 12px #ffe3a039;
}
.primary.cta {
  background: var(--color-pink);
  color: #fff;
  font-size: 18px;
  padding: 10px 32px;
  border-radius: 30px;
  margin-left: 18px;
  box-shadow: 0 4px 20px #ff8ac6a1;
  transition: filter var(--transition-normal), background var(--transition-normal), transform var(--transition-normal);
  position: relative;
  display: inline-block;
  text-align: center;
  letter-spacing: 0.06em;
  border: 2px solid #fff0;
}
.primary.cta:hover, .primary.cta:focus {
  background: var(--color-blue);
  color: #fff;
  box-shadow: 0 8px 32px #35bdfe63;
  transform: translateY(-3px) scale(1.05) rotate(-1deg);
  filter: brightness(1.13) drop-shadow(0 0 12px #FFD43B66);
}
.header-bar img {
  height: 47px;
}
.mobile-menu-toggle {
  display: none;
  background: var(--color-pink);
  color: #fff;
  font-size: 32px;
  border-radius: 50%;
  line-height: 1;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: 0 3px 15px #ff8ac65a;
  z-index: 1011;
  transition: background var(--transition-normal), color var(--transition-normal), box-shadow var(--transition-normal), transform var(--transition-normal);
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--color-blue);
  color: #fff;
  outline: 2px solid var(--color-yellow);
}

/* --- MOBILE MENU OVERLAY --- */
.mobile-menu {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-primary);
  color: #fff;
  z-index: 2000;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(.66,0,0,.96);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 0;
  pointer-events: none;
  opacity: 0.97;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  margin: 24px 20px 10px 20px;
  align-self: flex-end;
  font-size: 28px;
  background: var(--color-yellow);
  color: var(--color-primary);
  border-radius: 50%;
  border: none;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-normal), color var(--transition-normal);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-pink);
  color: #fff;
}
.mobile-menu .mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 32px 0 0 40px;
}
.mobile-menu .mobile-nav a {
  color: #fff;
  font-size: 22px;
  padding: 15px 26px 15px 10px;
  border-radius: 22px;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu .mobile-nav a:active,
.mobile-menu .mobile-nav a:focus {
  background: var(--color-blue);
  color: #FFD43B;
}
@media (max-width: 1024px) {
  .header-bar nav {
    gap: 10px;
  }
  .primary.cta {
    padding: 9px 18px;
    font-size: 1rem;
  }
}
@media (max-width: 900px) {
  .header-bar nav {
    gap: 7px;
  }
  .primary.cta {
    margin-left: 7px;
  }
}
@media (max-width: 780px) {
  .header-bar nav {
    display: none;
  }
  .primary.cta {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* --------------
   HERO SECTION
--------------- */
.hero {
  background: linear-gradient(90deg, #FFD43B 0%, #F5E9DA 90%);
  box-shadow: 0 4px 20px #FFD43B1a;
  margin-bottom: 60px;
  padding: 40px 0 30px 0;
  position: relative;
  min-height: 290px;
  display: flex;
  align-items: center;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  max-width: 850px;
  width: 100%;
}
.hero h1 {
  font-size: 2.6rem;
  color: var(--color-primary);
  line-height: 1.18;
  text-shadow: 0 2px 10px #FFD43B38;
  word-break: break-word;
}
.hero .subheadline,
.hero p {
  color: var(--color-secondary);
  font-size: 1.22rem;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

@media (max-width: 650px) {
  .hero h1 {
    font-size: 1.8rem;
  }
}

/* ------------------
   MAIN SECTIONS AND SPACING
------------------- */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

@media (max-width: 600px) {
  .section, section {
    margin-bottom: 38px;
    padding: 24px 7px;
  }
}

/* ----------------------
   FLEX LAYOUT PATTERNS
----------------------- */
.card-container, .feature-grid, .topic-highlights, .tips-grid, .technique-grid, .practices-grid, .exercises-list, .article-list, .article-summaries, .testimonial-slider, .footer-main, .footer-contact, .content-wrapper.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  box-shadow: var(--shadow-main);
  border-radius: 18px;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ------------
   FEATURE CARDS
------------ */
.feature, .tip, .practice, .technique {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px #FFD43B33, 0 1.5px 1.5px #7F8F9A1a;
  padding: 27px 22px 26px 22px;
  flex: 1 1 225px;
  min-width: 210px;
  max-width: 320px;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: box-shadow var(--transition-normal), transform var(--transition-normal);
}
.feature img, .tip img, .practice img, .technique img {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  filter: drop-shadow(0 1.5px 3px var(--color-blue));
}
.feature h3, .tip h3, .technique h3, .practice h3 {
  font-size: 1.26rem;
  color: var(--color-primary);
  margin-bottom: 7px;
  margin-top: 5px;
}
.feature p, .tip p, .practice p, .technique p {
  color: var(--color-secondary);
  font-size: 1rem;
  margin-bottom: 0;
}
.feature:hover, .tip:hover, .practice:hover, .technique:hover {
  box-shadow: 0 8px 36px #ffd43baa, 0 4px 16px #ff8ac62b;
  transform: translateY(-5px) scale(1.03) rotate(-1.5deg);
  z-index: 2;
}

/* ARTICLE PREVIEWS & CARDS*/
.article-list, .articles-preview .article-list, .article-summaries {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.article {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 3px 16px #254C7712, 0 1.5px 1.5px #7F8F9A1a;
  padding: 23px 20px;
  flex: 1 1 230px;
  min-width: 180px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow var(--transition-normal), transform var(--transition-normal);
}
.article h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.16rem;
  color: var(--color-primary);
  margin-bottom: 5px;
}
.article p {
  color: var(--color-secondary);
  font-size: 0.98rem;
  margin-bottom: 7px;
}
.article a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--color-blue);
  text-decoration: underline;
  font-size: 0.96rem;
  padding-top: 5px;
  transition: color var(--transition-normal);
}
.article a:hover, .article a:focus {
  color: var(--color-pink);
}
.article:hover {
  box-shadow: 0 8px 36px #35bdfe77, 0 3px 12px #FFD43B33;
  transform: translateY(-7px) scale(1.04) rotate(1.4deg);
}

/* CTAs (newsletter, habit, etc) */
.cta-newsletter, .cta-habit, .cta-motivation, .cta-balance, .cta-concentration {
  background: linear-gradient(82deg, #ff8ac6 14%, #35bffe 94%);
  color: #fff;
  border-radius: 18px;
  text-align: center;
  margin-bottom: 60px;
  padding: 46px 16px 50px 16px;
  box-shadow: 0 6px 32px #35bdfe22;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.cta-newsletter h2, .cta-habit h2, .cta-motivation h2, .cta-balance h2, .cta-concentration h2 {
  color: #fff;
  font-size: 1.9rem;
  text-shadow: 0 2px 6px #FF8AC699;
  margin-bottom: 7px;
}
.cta-newsletter a.cta, .cta-habit a.cta, .cta-motivation a.cta, .cta-balance a.cta, .cta-concentration a.cta {
  background: #FFD43B;
  color: var(--color-primary);
  border-radius: 30px;
  font-size: 1.13rem;
  padding: 10px 30px;
  margin-top: 9px;
  font-weight: 700;
  box-shadow: 0 3px 12px #FFD43BAA;
  transition: filter var(--transition-normal), color var(--transition-normal), background var(--transition-normal), transform var(--transition-normal);
}
.cta-newsletter a.cta:hover, .cta-habit a.cta:hover, .cta-motivation a.cta:hover, .cta-balance a.cta:hover, .cta-concentration a.cta:hover {
  background: #fff;
  color: var(--color-blue);
  transform: scale(1.06) rotate(-1deg);
}

/* ------------------
   TESTIMONIAL CARDS
------------------- */
.testimonials {
  background: #fff7e2;
  border-radius: 18px;
  box-shadow: 0 5px 36px #FFD43B22;
  margin-bottom: 60px;
  padding: 40px 20px;
}
.testimonials h2 {
  text-align: center;
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 35px;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}
.testimonial-card {
  background: #fff;
  border-radius: 13px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 26px 27px;
  min-width: 250px;
  max-width: 340px;
  box-shadow: 0 4px 25px #7F8F9A26, 0 1px 6px #FFD43B44;
  color: var(--color-dark);
  font-size: 1.10rem;
  position: relative;
  transition: box-shadow var(--transition-normal), transform var(--transition-normal);
}
.testimonial-card p {
  color: #222;
  font-size: 1.10rem;
  margin: 0 0 8px 0;
  font-family: 'Montserrat', sans-serif;
  font-style: italic;
}
.testimonial-card span {
  color: var(--color-secondary);
  font-size: 0.95rem;
  font-style: normal;
  font-weight: 600;
  margin-top: 2px;
  letter-spacing: 0.01em;
}
.testimonial-card:hover {
  box-shadow: 0 8px 44px #FF8AC644;
  transform: translateY(-5px) scale(1.035) rotate(0.7deg);
}

/* ----------------------------------------
   CATEGORY NAVS & TAG FILTERS (ARTIKEL)
------------------------------------------ */
.category-nav {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.category-nav a {
  background: var(--color-blue);
  color: #fff;
  border-radius: 17px;
  font-size: 1rem;
  padding: 7px 20px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  box-shadow: 0 2px 8px #35bffe44;
  transition: background var(--transition-normal), color var(--transition-normal), transform var(--transition-normal);
}
.category-nav a:hover, .category-nav a:focus {
  background: var(--color-pink);
  color: #fff;
  transform: scale(1.09);
}
.tag-filters, .popular-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: 0.98rem;
  gap: 8px 14px;
  margin-bottom: 29px;
  color: var(--color-secondary);
}
.tag-filters a, .popular-tags a {
  background: #fff;
  color: var(--color-pink);
  padding: 3px 14px;
  margin-left: 5px;
  border-radius: 18px;
  font-size: 0.97rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  box-shadow: 0 1px 5px #ff8ac62d;
  transition: background var(--transition-normal), color var(--transition-normal), transform var(--transition-normal);
}
.tag-filters a:hover, .popular-tags a:hover {
  background: var(--color-pink);
  color: #fff;
  transform: scale(1.05);
}

/* -------------------
   LEGAL/TEXT PAGES
------------------ */
.legal {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 3px 14px #7F8F9A24;
  margin-bottom: 45px;
  padding: 38px 20px;
  color: var(--color-primary);
}
.legal h1 {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 22px;
}
.legal h2 {
  font-size: 1.28rem;
  margin-top: 22px;
  margin-bottom: 7px;
  color: var(--color-pink);
}
.legal ul {
  margin-left: 18px;
  margin-bottom: 17px;
  list-style-type: disc;
}
.legal li {
  margin-bottom: 8px;
}
.legal .text-section p, .legal .text-section ul {
  color: var(--color-secondary);
  font-size: 1.02rem;
  margin-bottom: 8px;
}

/* -----------------------
   FOOTER
----------------------- */
footer {
  background: var(--color-accent);
  border-top: 4px solid #FFD43B;
  margin-top: 90px;
}
footer .container {
  padding-top: 36px;
  padding-bottom: 28px;
}
.footer-main {
  display: flex;
  flex-direction: row;
  gap: 32px;
  margin-bottom: 30px;
  align-items: center;
  justify-content: flex-start;
}
.footer-main img {
  height: 36px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 13px 15px;
  align-items: center;
}
.footer-nav a {
  color: var(--color-secondary);
  font-size: 15px;
  padding: 5px 13px;
  border-radius: 14px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  background: #fbf4e8;
  transition: background var(--transition-normal), color var(--transition-normal);
}
.footer-nav a:hover {
  background: var(--color-pink);
  color: #fff;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 34px;
  margin-bottom: 12px;
  align-items: flex-start;
  color: var(--color-secondary);
  font-size: 15px;
}
.footer-contact img {
  height: 19px;
  margin-right: 7px;
  vertical-align: baseline;
}
.address, .contact-info {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.footer-legal {
  font-size: 13px;
  color: var(--color-secondary);
  text-align: left;
  margin-top: 9px;
}
.footer-legal a {
  color: var(--color-primary);
  text-decoration: underline dotted;
  margin: 0 4px;
}
.footer-legal a:hover {
  color: var(--color-pink);
}

/* ----------
   CONTACT PAGE DETAIL FLEX
---------- */
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.contact-info, .address {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.map-embed {
  margin: 23px 0 29px 0;
}
.map-embed a {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 9px;
  color: var(--color-blue);
  font-size: 1rem;
}
.map-embed a:hover {
  color: var(--color-pink);
}
.contact-cta {
  margin: 32px 0 6px 0;
}

/* ----------
   BLOCKQUOTE (Motivation/Zitate)
-------------- */
blockquote {
  font-family: 'Montserrat', sans-serif;
  font-style: italic;
  color: var(--color-pink);
  background: #FFF4F9;
  border-left: 5px solid var(--color-pink);
  margin: 25px 0 6px 0;
  padding: 12px 22px 12px 16px;
  font-size: 1.17rem;
  box-shadow: 0 2px 8px #ff8ac61c;
  border-radius: 6px 18px 18px 6px;
  max-width: 530px;
}

/* ---------------------
   MICROY-ANIMATION EFFECTS
---------------------- */
section h2, h3, .feature, .testimonial-card, .article {
  transition: box-shadow var(--transition-normal), transform var(--transition-normal), color var(--transition-normal);
}

h2, h3 {
  font-family: 'Montserrat', sans-serif;
  color: var(--color-primary);
  margin-bottom: 17px;
  font-weight: 700;
}
section h2 {
  font-size: 2rem;
  margin-bottom: 22px;
}
h3 {
  font-size: 1.21rem;
}
p, li, span, .subheadline {
  color: var(--color-secondary);
  font-size: 1.04rem;
}

/* -------------
   RESPONSIVE DESIGN
--------------- */
@media (max-width: 1080px) {
  .container {
    max-width: 970px;
    padding: 0 14px;
  }
  .feature, .tip, .practice, .technique, .article {
    min-width: 180px;
    max-width: 48%;
  }
}
@media (max-width: 750px) {
  .container {
    max-width: 100%;
    padding: 0 7px;
  }
  .feature-grid, .topic-highlights, .tips-grid, .practices-grid, .article-list, .articles-preview .article-list, .article-summaries, .testimonial-slider, .footer-contact, .footer-main, .content-wrapper.contact-details {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .feature, .tip, .practice, .technique, .article {
    min-width: 120px;
    max-width: 100%;
    margin-bottom: 14px;
  }
  .testimonial-slider {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .testimonial-card {
    max-width: 96vw;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 15px;
  }
  .hero .content-wrapper {
    padding-top: 11px;
    padding-bottom: 11px;
  }
  .footer-main {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .contact-details {
    flex-direction: column;
    gap: 12px;
  }
}
@media (max-width: 600px) {
  .hero, .testimonials, .cta-newsletter, .cta-habit, .cta-motivation, .cta-balance, .cta-concentration, .legal, .feature, .article, .testimonial-card {
    padding-left: 6px;
    padding-right: 6px;
  }
  footer .container {
    padding: 26px 3px 16px 3px;
  }
}

/* -------------------
   COOKIE CONSENT BANNER (FIXED BOTTOM)
-------------------- */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  background: #254C77;
  color: #fff;
  z-index: 50000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 27px;
  padding: 20px 18px;
  box-shadow: 0 -3px 24px #254C7735;
  font-size: 1.05rem;
  transition: transform .34s;
  transform: translateY(0);
}
.cookie-banner.hide {
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner .cookie-text {
  max-width: 470px;
  color: #fff;
  font-size: 1rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-banner button {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 22px;
  padding: 9px 18px;
  border: none;
  cursor: pointer;
  margin-bottom: 0;
  box-shadow: 0 1.5px 7px #ffd43baa;
  background: var(--color-yellow);
  color: var(--color-primary);
  transition: background 0.14s, color 0.14s, filter 0.2s;
}
.cookie-banner button.reject {
  background: var(--color-pink);
  color: #fff;
  box-shadow: 0 1px 6px #ff8ac668;
}
.cookie-banner button.settings {
  background: var(--color-blue);
  color: #fff;
  box-shadow: 0 1px 7px #35bffe71;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  filter: brightness(1.08) drop-shadow(0 0 5px #fff48899);
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 13px 7px;
    font-size: 0.99rem;
  }
  .cookie-banner .cookie-actions {
    gap: 8px;
  }
}

/* -------------------
   COOKIE SETTINGS MODAL
-------------------- */
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(37,76,119,0.38);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalFadeIn .34s;
}
@keyframes cookieModalFadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal .modal-content {
  background: #fff;
  border-radius: 23px;
  padding: 38px 33px;
  box-shadow: 0 6px 36px #FFD43B44, 0 2px 10px #254C7744;
  color: var(--color-primary);
  min-width: 320px;
  max-width: 98vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal .modal-title {
  font-size: 1.3rem;
  color: var(--color-pink);
  margin-bottom: 8px;
  font-family: 'Montserrat', sans-serif;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 8px;
  border-bottom: 1px dashed #eee;
  padding-bottom: 6px;
}
.cookie-modal .cookie-category label {
  font-size: 1.02rem;
  font-family: 'Montserrat', sans-serif;
  color: var(--color-primary);
}
.cookie-modal input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-blue);
}
.cookie-modal .essential {
  color: #0a8c43;
  font-weight: 600;
  font-size: 1rem;
  margin-left: 7px;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal button {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 22px;
  padding: 8px 15px;
  border: none;
  box-shadow: 0 1px 7px #ffd43b33;
  background: var(--color-blue);
  color: #fff;
  margin-left: 0;
  transition: background 0.13s, color 0.13s;
}
.cookie-modal button.close {
  background: var(--color-pink);
  color: #fff;
}
.cookie-modal button:hover, .cookie-modal button:focus {
  filter: brightness(1.08);
}

@media (max-width: 480px) {
  .cookie-modal .modal-content {
    padding: 18px 9px;
    min-width: 90vw;
  }
}

/* ------------------
   UTILS & EFFECTS
------------------ */
::-webkit-scrollbar {
  width: 9px;
  background: #eee;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(50deg, #FFD43B 40%, #254C77 130%);
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: #FF8AC6;
}

/* Fun, playful effect for section headings */
section h2, .legal h1, .cta-newsletter h2, .cta-habit h2, .cta-motivation h2, .cta-balance h2, .cta-concentration h2 {
  position: relative;
}
section h2::after, .legal h1::after, .cta-newsletter h2::after, .cta-habit h2::after, .cta-motivation h2::after, .cta-balance h2::after, .cta-concentration h2::after {
  content: "✨";
  position: absolute;
  right: -36px;
  top: 0;
  font-size: 1.4em;
  animation: twinkle 2.6s infinite linear;   
}
@keyframes twinkle {
  0%,100% { opacity:1; transform:scale(1) rotate(0deg); filter: brightness(1.2); }
  20% { opacity:0.3; transform:scale(1.13) rotate(-14deg); filter: brightness(1.4); }
  40% { opacity:1; transform:scale(1.07) rotate(6deg); }
  60% { opacity:0.7; transform:scale(0.93) rotate(18deg); }
  70% { opacity:1; transform:scale(1.06) rotate(-6deg); }
  90% { opacity:0.75; }
}

/* Fun font for tagline */
.subheadline {
  font-family: 'Montserrat', cursive, sans-serif;
  color: var(--color-pink);
  font-size: 1.17rem;
  letter-spacing: 0.01em;
  margin-bottom: 0;
  text-shadow: 0 2px 8px #ff8ac643;
}

/* Spacing between cards/sections */
.section > *, section > *, .card-container > *, .feature-grid > *, .article-list > *, .articles-preview .article-list > *, .testimonial-slider > *, .topic-highlights > *, .tips-grid > *, .practices-grid > *, .exercises-list > * {
  margin-bottom: 20px;
}
/* Remove last margin for last item */
.section > *:last-child, section > *:last-child,
.card-container > *:last-child,
.feature-grid > *:last-child,
.article-list > *:last-child,
.articles-preview .article-list > *:last-child,
.testimonial-slider > *:last-child,
.topic-highlights > *:last-child,
.tips-grid > *:last-child,
.practices-grid > *:last-child,
.exercises-list > *:last-child {
  margin-bottom: 0;
}

/* -------------
   ACCESSIBILITY & FOCUS
--------------- */
a:focus, button:focus {
  outline: 2px dashed var(--color-pink);
  outline-offset: 3px;
}

/* Ensure icons in contact details align well */
.contact-info img, .address img {
  vertical-align: middle;
  margin-right: 7px;
}

/* Hide visually (for accessibility) */
.visually-hidden {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------------------
   END OF STYLE
---------------------- */