/* --- 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 {
  background: #F4F4ED;
  color: #23322e;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  font-smooth: always;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0.01em;
}
*, *::before, *::after {
  box-sizing: inherit;
}
a {
  color: #255C35;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #355974;
  text-decoration: underline;
}
ul, ol {
  margin-left: 1.3em;
}
img {
  max-width: 100%;
  display: block;
  border: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}
button {
  cursor: pointer;
}

/* --- CSS VARIABLES (FALLBACKS) --- */
:root {
  --color-primary: #255C35;
  --color-secondary: #355974;
  --color-accent: #F4F4ED;
  --color-success: #39D98A;
  --color-warning: #FFC857;
  --color-fun1: #70D6FF;
  --color-fun2: #FF70A6;
  --color-fun3: #FF9770;
  --color-fun4: #FFD670;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
  --radius-lg: 32px;
  --radius-md: 20px;
  --radius: 12px;
  --card-shadow: 0 2px 20px 0 rgba(24,56,34,0.12);
  --transition: 0.30s cubic-bezier(.25,1.6,.62,1);
}


/* --- LAYOUT CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
}


/* HEADER ------------------------------------------------------------- */
header {
  background: white;
  box-shadow: 0 2px 8px rgba(53,89,116,0.05);
  position: relative;
  z-index: 50;
}
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0 18px 0;
}
.main-nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--color-secondary);
  background: none;
  padding: 10px 12px;
  border-radius: 28px;
  letter-spacing: 0.01em;
  transition: background var(--transition), color var(--transition);
}
.main-nav a:hover, .main-nav a:focus, .main-nav a.active {
  color: white;
  background: var(--color-fun2);
}
.header-flex img {
  height: 46px;
  width: auto;
  transition: transform .25s cubic-bezier(.8,-0.47,.43,1.39);
}
.header-flex img:hover {
  transform: rotate(-8deg) scale(1.06);
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  background: linear-gradient(90deg, var(--color-fun1) 60%, var(--color-primary) 100%);
  color: white;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  border-radius: 32px;
  box-shadow: 0 3px 18px 0 rgba(55,120,33,.13);
  margin-left: 8px;
  transition: background var(--transition), box-shadow var(--transition), transform .14s;
  border: none;
  outline: none;
  cursor: pointer;
  letter-spacing: 0.01em;
  position: relative;
  z-index: 1;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg, var(--color-fun2) 50%, var(--color-secondary) 100%);
  box-shadow: 0 6px 32px 0 rgba(255,151,112,.15);
  transform: translateY(-3px) scale(1.05) rotate(-2deg);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 26px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  background: var(--color-fun4);
  border-radius: 32px;
  border: 2px solid var(--color-primary);
  margin-top: 20px;
  transition: background var(--transition), color var(--transition), border var(--transition);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--color-fun2);
  color: white;
  border-color: var(--color-fun2);
}

/* --- MOBILE NAVIGATION --------------------------------------------- */
.mobile-menu-toggle {
  background: var(--color-fun2);
  color: white;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 32px;
  border: none;
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 201;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background .23s, color .22s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-fun1);
  color: var(--color-primary);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: white;
  box-shadow: 0 6px 40px 0 rgba(36,60,56,0.11);
  transform: translateX(-100%);
  transition: transform .52s cubic-bezier(.26,1.46,.66,1), box-shadow .36s;
  z-index: 210;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: 8px 0 50px 0 rgba(36,60,56,0.18);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: var(--color-fun2);
  color: white;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 32px;
  position: absolute; top: 18px; right: 20px; z-index: 214;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .23s, color .22s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-fun1);
  color: var(--color-primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 24px;
  margin-top: 86px;
  width: 100%;
  padding: 0 32px 40px 32px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  border-radius: 24px;
  color: var(--color-secondary);
  padding: 16px 12px;
  width: 100%;
  background: var(--color-fun1);
  transition: background .16s, color .19s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: white;
  background: var(--color-fun2);
}

@media (max-width: 1024px) {
  .container {
    max-width: 100vw;
  }
  .main-nav {
    gap: 12px;
  }
  .content-wrapper { max-width: 98vw; }
}
@media (max-width: 850px) {
  .header-flex {
    flex-direction: row;
    gap: 10px;
  }
  .main-nav { gap: 7px; }
}
@media (max-width: 768px) {
  .header-flex {
    flex-direction: row;
    padding: 10px 0 8px 0;
    gap: 10px;
  }
  .main-nav {
    display: none;
  }
  .btn-primary {
    font-size: 16px;
    padding: 10px 19px;
    margin-left: 3px;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 480px) {
  .btn-primary, .btn-secondary {
    font-size: 15px;
    padding: 9px 14px;
  }
}

/* --- HOMEPAGE HERO & SECTIONS ------------------------------------------ */
.hero {
  background: linear-gradient(112deg, var(--color-fun2) 2%, var(--color-fun1) 50%, var(--color-accent) 87%);
  min-height: 340px;
  border-radius: 0 0 60px 0;
  box-shadow: 0 4px 38px rgba(39,143,144,0.13);
  margin-bottom: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  animation: heroPop .6s cubic-bezier(.3,1.2,.28,.99);
}
@keyframes heroPop {
  0% { opacity: 0; transform: scale(0.98) translateY(-24px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.hero .container {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--color-primary);
  margin-bottom: 12px;
  letter-spacing: -1px;
  text-shadow: 1px 2px 0px var(--color-fun1), 2px 3px 8px rgba(27,97,86,0.09);
}
.hero p {
  font-size: 1.35rem;
  color: var(--color-secondary);
  font-family: var(--font-body);
  margin-bottom: 26px;
  font-weight: 400;
  max-width: 500px;
}
.hero .btn-primary {
  margin-top: 10px;
  font-size: 1.14rem;
  font-weight: bold;
  box-shadow: 0 5px 16px 0 rgba(112,214,255,0.13);
}

/* --- SECTION SPACING & PATTERNS --------------------------------------- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: 48px;
  position: relative;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  padding: 28px 20px 20px 20px;
  transition: box-shadow .26s, transform .22s;
  outline: none;
  min-width: 240px;
  max-width: 380px;
  flex: 1 1 300px;
  z-index: 1;
}
.card:hover, .card:focus {
  box-shadow: 0 6px 32px 0 rgba(36,60,56,0.12);
  transform: translateY(-5px) scale(1.025) rotate(-2deg);
}
.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;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 22px 0 rgba(37,92,53,0.10);
  margin-bottom: 20px;
  flex: 1 1 320px;
  min-width: 260px;
  max-width: 420px;
  transition: box-shadow .20s, transform .18s;
}
.testimonial-card:hover {
  box-shadow: 0 9px 38px 0 rgba(39,143,144,0.18);
  transform: translateY(-6px) scale(1.04);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-fun1);
  border-radius: 18px;
  padding: 26px 18px;
  box-shadow: 0 2px 16px 0 rgba(112,214,255,0.09);
  margin-bottom: 20px;
  transition: box-shadow .18s, transform .17s;
}
.feature-item:hover {
  box-shadow: 0 8px 30px 0 rgba(255,151,112,0.10);
  transform: scale(1.025) rotate(-1deg);
}

/* --- SERVICES GRID (INDEX) ------------------------------------------- */
.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
  align-items: stretch;
  justify-content: flex-start;
}
.service-block {
  background: var(--color-fun4);
  border-radius: 20px;
  padding: 36px 20px 24px 20px;
  box-shadow: 0 2px 20px rgba(255,214,112,0.08);
  min-width: 220px;
  max-width: 340px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow .21s, transform .17s;
  cursor: pointer;
}
.service-block img {
  height: 55px;
  width: 55px;
  margin-bottom: 14px;
  filter: saturate(1.35) drop-shadow(0 2px 0px #fff0);
  animation: iconBounce .83s cubic-bezier(.41,1.6,.67,1.13) both;
}
@keyframes iconBounce {
  0% { transform: scale(0.82) translateY(-18px); opacity:0; }
  80% { transform: scale(1.08) translateY(2px); opacity:1; }
  100% { transform: scale(1) translateY(0); opacity:1; }
}
.service-block h3 {
  font-family: var(--font-display);
  font-size: 1.33rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 10px;
  text-align: center;
}
.service-block p {
  font-size: 15px;
  color: var(--color-secondary);
  text-align: center;
  margin-bottom: 0;
}
.service-block:hover {
  background: var(--color-fun2);
  color: white;
  box-shadow: 0 8px 36px 0 rgba(255,112,166, 0.19);
  transform: translateY(-6px) scale(1.05);
}
.service-block:hover h3, .service-block:hover p {
  color: #fff;
}

/* --- ABOUT/TEAM (OM-OSS) --------------------------------------------- */
.team-profiles {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  margin-top: 18px;
}
.team-profiles > div {
  background: var(--color-fun1);
  border-radius: 22px;
  padding: 30px 18px 18px 18px;
  box-shadow: 0 2px 15px rgba(112,214,255,0.13);
  min-width: 210px;
  flex: 1 1 200px;
  margin-bottom: 20px;
  text-align: left;
  transition: background .19s, transform .14s, box-shadow .2s;
}
.team-profiles > div:hover {
  background: var(--color-fun4);
  transform: scale(1.04) rotate(-1.5deg) translateY(-4px);
  box-shadow: 0 6px 30px 0 rgba(255,214,112,0.11);
}
.team-profiles h3 {
  font-family: var(--font-display);
  font-size: 1.13rem;
  font-weight: 800;
  color: var(--color-secondary);
  margin-bottom: 10px;
}

/* --- TESTIMONIAL (INDEX) --------------------------------------------- */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.testimonial-card {
  background: #fff;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 28px 20px 20px 20px;
  box-shadow: 0 4px 22px 0 rgba(53,89,116,0.13);
  margin-bottom: 20px;
  min-width: 240px;
  max-width: 380px;
  flex: 1 1 300px;
  border-left: 8px solid var(--color-fun2);
  position: relative;
  z-index: 1;
}
.testimonial-rating {
  display: flex;
  gap: 4px;
  align-items: center;
  margin-bottom: -4px;
}
.testimonial-rating img {
  height: 22px;
  width: 22px;
}
.testimonial-card blockquote {
  color: #222;
  font-size: 16px;
  font-family: var(--font-body);
  font-style: italic;
  margin-bottom: 8px;
  line-height: 1.5;
}
.testimonial-name {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--color-secondary);
  font-weight: 700;
  margin-bottom: 0;
}

/* --- ARTICLE TAGS --------------------------------------------------- */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.article-tags span {
  background: var(--color-fun1);
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-size: 13px;
  padding: 3px 13px;
  border-radius: 14px 14px 18px 14px;
  font-weight: 700;
}


/* --- GENERAL TYPOGRAPHY/PAGE ELEMENTS ------------------------------ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--color-primary);
  line-height: 1.17;
}
h1 {
  font-size: 2.2rem;
  margin-bottom: 22px;
  color: var(--color-fun2);
  text-shadow: 0px 3px 10px rgba(255,112,166,0.09);
}
h2 {
  font-size: 1.7rem;
  margin-bottom: 18px;
  color: var(--color-primary);
}
h3 {
  font-size: 1.22rem;
  color: var(--color-secondary);
  margin-bottom: 9px;
}

p, ul, ol {
  margin-bottom: 18px;
  font-family: var(--font-body);
  color: #223;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.03em;
}
blockquote {
  margin: 0 0 10px 0;
  padding-left: 14px;
  border-left: 4px solid var(--color-fun2);
  color: var(--color-secondary);
  background: transparent;
  font-style: italic;
  font-size: 16px;
}
ul li:not(:last-child) { margin-bottom: 8px; }
strong, b { font-weight: bold; color: var(--color-primary); }

/* --- SERVICE LISTS (TJÄNSTER) --------------------------------------- */
.service-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 12px;
  margin-bottom: 18px;
}
.service-list li {
  display: flex;
  align-items: center;
  gap: 13px;
  background: var(--color-fun1);
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-size: 1.11rem;
  border-radius: 18px;
  padding: 14px 22px 14px 12px;
  box-shadow: 0 3px 14px 0 rgba(112,214,255,0.08);
  font-weight: 700;
  min-height: 55px;
  transition: background .19s;
}
.service-list li:hover {
  background: var(--color-fun2);
  color: #fff;
}
.service-list img {
  width: 36px;
  height: 36px;
}

/* --- FOOTER --------------------------------------------------------- */
footer {
  background: white;
  margin-top: 40px;
  padding: 40px 0 20px 0;
  border-radius: 50px 50px 0 0;
  box-shadow: 0 -2px 14px 0 rgba(53,89,116,0.05);
}
.footer-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-contact p, .footer-nav a, .footer-flex p {
  font-family: var(--font-body);
  font-size: 15px;
  color: #558585;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  padding: 2px 0;
  transition: color .14s;
}
.footer-nav a:hover {
  color: var(--color-fun2);
  text-decoration: underline;
}
.footer-flex img {
  width: 50px;
  margin-bottom: 12px;
}
.footer-contact {
  min-width: 180px;
}


/* --- MAPS EMBED (KONTAKT) ------------------------------------------ */
.maps-embed {
  margin-top: 10px;
  margin-bottom: 16px;
}
.maps-embed a {
  padding: 8px 20px;
  background: var(--color-fun2);
  color: #fff;
  border-radius: 13px;
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
  transition: background .17s;
}
.maps-embed a:hover, .maps-embed a:focus {
  background: var(--color-secondary);
  color: #fff;
}

/* --- RESPONSIVE BREAKPOINTS ----------------------------------------- */
@media (max-width: 1024px) {
  .footer-flex { flex-direction: column; gap: 20px; }
  .footer-contact { margin-bottom: 20px; }
  .hero .container { min-height: 180px; }
  .service-grid, .testimonials { gap: 18px; }
}
@media (max-width: 900px) {
  section, .section {
    padding: 32px 6px;
    margin-bottom: 40px;
    border-radius: 36px;
  }
  .footer-flex { gap: 10px; }
}
@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.18rem; }
  .container, .content-wrapper { padding-left: 9px; padding-right: 9px; }
  .service-grid, .testimonials, .team-profiles { gap: 12px; }
  .service-block, .card, .testimonial-card, .feature-item {
    min-width: 96vw;
    max-width: 96vw;
    padding-left: 8vw; padding-right: 8vw;
  }
  .footer-contact, .footer-flex { min-width: 140px; }
  .content-grid { gap: 11px; }
  .team-profiles { flex-direction: column; }
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 18px; }
}
@media (max-width: 540px) {
  .hero { min-height: 200px; border-radius: 0 0 34px 0; }
  .team-profiles > div, .service-block, .card, .testimonial-card {
    padding-left: 4vw; padding-right: 4vw;
  }
}

/* --- ANIMATIONS, TRANSITIONS, EFFECTS ------------------------------- */
.card, .service-block, .feature-item, .testimonial-card {
  transition: box-shadow .22s, transform .18s, background .21s;
}
.button, .btn-primary, .btn-secondary {
  transition: background .16s, box-shadow .17s, color .15s, transform .14s;
}

/* --- COOKIE CONSENT BANNER ------------------------------------------ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: var(--color-fun3);
  color: #222;
  padding: 22px 36px 22px 22px;
  box-shadow: 0 -2px 30px rgba(255,97,112,0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  z-index: 9999;
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: 22px 22px 0 0;
  opacity: 1;
  animation: cookiesin .65s cubic-bezier(.21,1.3,.34,1);
}
@keyframes cookiesin {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner__buttons {
  display: flex;
  gap: 10px;
}
.cookie-banner button {
  padding: 10px 18px;
  font-family: var(--font-display);
  font-size: 15px;
  border-radius: 18px;
  background: var(--color-secondary);
  color: #fff;
  border: none;
  margin-left: 2px;
  margin-right: 2px;
  font-weight: 700;
  transition: background .17s, color .13s, box-shadow .17s;
}
.cookie-banner .btn-accept {
  background: var(--color-fun1);
  color: var(--color-secondary);
}
.cookie-banner .btn-accept:hover {
  background: var(--color-success);
  color: var(--color-primary);
}
.cookie-banner .btn-reject {
  background: var(--color-fun2);
  color: #fff;
}
.cookie-banner .btn-reject:hover {
  background: #ee2d74;
}
.cookie-banner .btn-settings {
  background: var(--color-fun4);
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
}
.cookie-banner .btn-settings:hover {
  background: #fff;
}

/* --- COOKIE SETTINGS MODAL ------------------------------------------ */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 10000;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(34,50,46, 0.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease-in;
}
.cookie-modal-backdrop.active {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 55%;
  transform: translate(-50%, -50%) scale(0.93);
  z-index: 10001;
  background: #fff;
  color: #123;
  padding: 34px 32px 26px 32px;
  border-radius: 22px;
  box-shadow: 0 6px 44px 0 rgba(39,143,144,0.24);
  min-width: 310px;
  max-width: 96vw;
  width: 400px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s, transform .22s;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%) scale(1);
}
.cookie-modal h2 {
  font-size: 1.25rem;
  margin-bottom: 16px;
  color: var(--color-secondary);
}
.cookie-modal ul {
  margin-bottom: 23px;
}
.cookie-modal li {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-modal label {
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  margin-left: 8px;
}
.cookie-modal-toggler {
  width: 38px; height: 22px;
  border-radius: 12px;
  background: #eee;
  position: relative;
  border: none;
  outline: none;
  margin-right: 7px;
  transition: background .18s;
  cursor: pointer;
}
.cookie-modal-toggler.enabled {
  background: var(--color-success);
}
.cookie-modal-toggler::after {
  content: '';
  display: block;
  background: #fff;
  border-radius: 50%;
  width: 16px; height: 16px;
  position: absolute;
  top: 3px; left: 4px;
  transition: left .16s;
}
.cookie-modal-toggler.enabled::after {
  left: 18px;
}
.cookie-modal-footer {
  display: flex;
  gap: 14px;
  margin-top: 20px;
  justify-content: flex-end;
}
.cookie-modal button {
  padding: 10px 18px;
  font-family: var(--font-display);
  font-size: 15px;
  border-radius: 18px;
  background: var(--color-fun3);
  color: #fff;
  border: none;
  font-weight: 700;
  transition: background .12s, color .12s;
}
.cookie-modal button.save {
  background: var(--color-success);
  color: var(--color-primary);
}
.cookie-modal button.save:hover {
  background: #36bd7f;
}
.cookie-modal button.cancel {
  background: var(--color-fun2);
}
.cookie-modal button.cancel:hover {
  background: #ee2d74;
}

@media (max-width: 480px) {
  .cookie-banner { padding: 13px 6px; font-size: 14px; border-radius: 11px 11px 0 0; }
  .cookie-modal { padding: 17px 6px 15px 6px; min-width: 90vw; }
}

/* --- FUN PLAYFUL ANIMATIONS/EFFECTS (Playful Dynamic) --------------- */
h1, h2, h3 {
  position: relative;
  z-index: 1;
}
h1:hover, h2:hover, h3:hover {
  animation: swing 0.5s cubic-bezier(.77,1.68,.32,1.06);
}
@keyframes swing {
  15% { transform: rotate(-7deg); }
  30% { transform: rotate(7deg); }
  40% { transform: rotate(-4deg); }
  50% { transform: rotate(4deg); }
  60% { transform: rotate(-2deg); }
  70% { transform: rotate(2deg); }
  80% { transform: rotate(0deg); }
  100% { transform: none; }
}
.btn-primary::before, .btn-secondary::before {
  content: '';
  position: absolute;
  left: 10%;
  top: 50%;
  transform: translateY(-50%) scale(.8);
  width: 6px;
  height: 6px;
  background: var(--color-fun3);
  border-radius: 50%;
  opacity: 0.8;
  filter: blur(.5px);
  z-index: 0;
}
.btn-primary:hover::before,
.btn-secondary:hover::before {
  animation: bubble 0.6s 1;
}
@keyframes bubble {
  0% { left: 12%; top: 51%; opacity: .89; }
  60% { left: 0%; top: 40%; opacity: .56; }
  100% { left: -13%; top: 33%; opacity: 0; }
}

/* --- SCROLLBAR STYLING --------------------------------------------- */
::-webkit-scrollbar {
  width: 10px;
  background: var(--color-accent);
  border-radius: 6px;
}
::-webkit-scrollbar-thumb {
  background: var(--color-fun2);
  border-radius: 7px;
}

/* --- FOCUS STATES FOR ACCESSIBILITY -------------------------------- */
a, button, .btn-primary, .btn-secondary, input, .cookie-banner button {
  outline: none;
}
a:focus-visible, button:focus-visible, .btn-primary:focus-visible, .btn-secondary:focus-visible {
  outline: 2px solid var(--color-fun1);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--color-fun1);
}

/* --- PRINT --------------------------------------------------------- */
@media print {
  header, nav, footer, .cookie-banner, .mobile-menu { display: none !important; }
  section, .section { box-shadow: none !important; padding: 7px !important; margin-bottom: 8px !important; }
  body { background: white !important; }
}
