/* 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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #F6F4EF;
  color: #215572;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  vertical-align: middle;
  border: 0;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
}

/* COLOR VARIABLES (with fallbacks) */
:root {
  --primary: #215572;
  --secondary: #E7C87A;
  --accent: #F6F4EF;
  --success: #53C3A3;
  --error: #EC4B4B;
  --info: #6C9BD2;
  --shadow: rgba(33, 85, 114, 0.13);
}

/* PLAYFUL DYNAMIC FONTS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900|Open+Sans:400,600&display=swap');
body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  background: var(--accent, #F6F4EF);
  color: var(--primary, #215572);
}
h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 900;
  font-size: 2.2rem;
  color: var(--primary, #215572);
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 18px;
  color: #215572;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #215572;
  font-weight: 700;
}

/* CONTAINERS & LAYOUT */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff1c7;
  border-radius: 28px;
  box-shadow: 0 8px 28px var(--shadow);
}
@media (max-width: 992px) {
  .section {
    padding: 32px 8px;
  }
}

/* HEADER/NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 3px 16px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1020;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 12px 18px;
}
header img {
  height: 50px;
  transition: transform 0.15s;
}
header img:hover {
  transform: rotate(-4deg) scale(1.03);
}
nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 14px;
  border-radius: 18px;
  color: var(--primary, #215572);
  transition: background 0.18s, color 0.18s;
  position: relative;
}
nav a:hover,
nav a:focus {
  background: var(--secondary, #E7C87A);
  color: #fff;
}
.cta-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 900;
  padding: 12px 28px;
  background: var(--secondary, #E7C87A);
  color: var(--primary, #215572);
  border-radius: 28px;
  font-size: 1.08rem;
  box-shadow: 0 3px 16px var(--shadow);
  transition: background 0.22s, color 0.22s, box-shadow 0.21s, transform 0.16s;
  border: none;
  cursor: pointer;
  margin-left: 12px;
  letter-spacing: 0.5px;
}
.cta-btn:hover,
.cta-btn:focus {
  background: var(--primary, #215572);
  color: #fff3c5;
  transform: translateY(-3px) scale(1.05) rotate(-2deg);
  box-shadow: 0 8px 24px var(--shadow);
}

/* SHOW BURGER ON MOBILE */
.mobile-menu-toggle {
  display: none;
  background: var(--primary, #215572);
  color: #fff;
  border: none;
  font-size: 2rem;
  border-radius: 16px;
  padding: 8px 18px;
  cursor: pointer;
  z-index: 1105;
  transition: background 0.18s, transform 0.18s;
}
.mobile-menu-toggle:active {
  background: var(--secondary, #E7C87A);
  color: var(--primary, #215572);
  transform: scale(1.07);
}

@media (max-width: 992px) {
  header .container nav {
    display: none;
  }
  .cta-btn {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: block;
    margin-left: auto;
  }
}

/* MOBILE MENU */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  width: 88vw;
  max-width: 340px;
  height: 100vh;
  background: #fff1c7;
  box-shadow: -4px 0 32px var(--shadow);
  z-index: 1250;
  transform: translateX(110%);
  transition: transform 0.36s cubic-bezier(.62,1.49,.4,.81);
  padding: 28px 18px 18px 18px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--primary, #215572);
  font-size: 2rem;
  margin-bottom: 34px;
  cursor: pointer;
  padding: 8px 11px;
  border-radius: 50px;
  transition: background 0.14s;
}
.mobile-menu-close:hover {
  background: var(--secondary, #E7C87A);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary, #215572);
  background: none;
  padding: 12px 4px;
  border-radius: 18px;
  width: 100%;
  transition: background 0.18s, color 0.16s, transform 0.12s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--secondary, #E7C87A);
  color: #fff;
  transform: translateX(7px) scale(1.03);
}

@media (min-width: 993px) {
  .mobile-menu-toggle, .mobile-menu {
    display: none !important;
  }
}

/* MAIN CONTENT */
main {
  margin-top: 0;
  padding-bottom: 64px;
  background: var(--accent, #F6F4EF);
  min-height: 80vh;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0;
}

/* GENERAL FLEX UTILS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 3px 14px var(--shadow);
  padding: 24px 20px;
  transition: transform 0.13s, box-shadow 0.17s;
}
.card:hover {
  transform: scale(1.02) rotate(-1deg);
  box-shadow: 0 7px 28px var(--shadow);
}
.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 {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff8e4;
  border-radius: 20px;
  margin-bottom: 20px;
  box-shadow: 0 3px 14px var(--shadow);
  flex-wrap: wrap;
  transition: box-shadow 0.18s, transform 0.12s;
}
.testimonial-card blockquote {
  font-size: 1.08rem;
  font-style: italic;
  margin-right: 12px;
  color: #215572;
  font-family: 'Open Sans', Arial, sans-serif;
}
.testimonial-card span:first-child{
  color: #F2B705;
  font-size: 1.2em;
  margin-right: 9px;
  letter-spacing: 0.07em;
}
.testimonial-card span:last-child{
  color: #215572;
  font-weight: bold;
}
.testimonial-card:hover {
  box-shadow: 0 16px 38px var(--shadow);
  transform: translateY(-3px) scale(1.02);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* LISTS (Mit Icons) */
ul li, ol li {
  display: flex;
  align-items: center;
  gap: 17px;
  font-size: 1rem;
  margin-bottom: 13px;
}
ul li img {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 6px #e5c47a45);
  transition: transform 0.12s;
}
ul li:hover img {
  transform: scale(1.12) rotate(-5deg);
}

/* DL for FAQ */
dl {
  width: 100%;
  margin: 0 0 20px 0;
}
dt {
  font-weight: 700;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: 8px;
  font-size: 1.08rem;
  color: var(--primary, #215572);
}
dd {
  margin-bottom: 18px;
  color: #224e5f;
  font-size: 1rem;
  margin-left: 0;
}

/* FOOTER */
footer {
  background: #215572;
  color: #fff;
  width: 100%;
  padding: 24px 0 18px 0;
  margin-top: 56px;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: center;
}
footer nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
footer nav a {
  color: var(--secondary, #E7C87A);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 7px 8px;
  border-radius: 15px;
  transition: background 0.16s, color 0.16s;
}
footer nav a:hover {
  background: var(--secondary, #E7C87A);
  color: var(--primary, #215572);
}
.footer-info {
  color: #ffeebc;
  font-size: 0.95rem;
  margin-top: 8px;
}

@media (min-width: 660px) {
  footer .container {
    flex-direction: row;
    justify-content: space-between;
    gap: 24px;
  }
  .footer-info {
    margin-top: 0;
  }
}

/* BUTTONS + INTERACTION */
button, .cta-btn, input[type="submit"] {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  border: none;
  outline: none;
  cursor: pointer;
}
button:focus-visible, .cta-btn:focus-visible {
  outline: 2px dashed var(--primary);
  outline-offset: 2px;
}

/* LINK HOVERS */
a:focus {
  outline: 2px solid var(--secondary, #E7C87A);
  outline-offset: 2px;
}

/* PAGINATION, BADGES, DECORATIVE FLEX */
.badge {
  display: inline-flex;
  align-items: center;
  background: var(--primary, #215572);
  color: #fff;
  border-radius: 13px;
  padding: 4px 14px;
  font-size: 0.97em;
  font-weight: 700;
  margin-left: 9px;
}

/* ANIMATIONS & MICRO-INTERACTIONS */
@keyframes float {
  0%,100% {transform: translateY(0);}
  50% {transform: translateY(-6px);}
}
.cta-btn:hover {
  animation: float 0.8s linear infinite alternate;
}
ul li img, .card img, .card svg {
  will-change: transform;
}

/* CARD SHADOWS */
.card, .testimonial-card {
  box-shadow: 0 3px 14px var(--shadow);
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 7px 24px var(--shadow);
}

/* RESPONSIVE TYPOGRAPHY */
@media (max-width: 768px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.18rem; }
  h3 { font-size: 1rem; }
  main { padding-bottom: 24px; }
  .content-wrapper { gap: 16px; }
}

/* UTILITIES */
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }

/* SPACINGS between cards/sections (CRITICAL) */
.section + .section, .section + section, section + .section {
  margin-top: 32px;
}
.card + .card, .testimonial-card + .testimonial-card {
  margin-top: 28px;
}

/* COOKIE BANNER & MODAL */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #215572;
  color: #fff;
  box-shadow: 0 -2px 12px rgba(33,85,114,0.17);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 18px 17px 18px;
  font-size: 1rem;
  animation: cookie-appear 0.6s cubic-bezier(0.51,1.5,0.27,0.89);
  gap: 18px;
}
@keyframes cookie-appear {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.cookie-btn {
  padding: 10px 22px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border-radius: 22px;
  border: none;
  font-weight: 800;
  font-size: 1.06rem;
  transition: background 0.16s, color 0.16s, transform 0.13s;
  cursor: pointer;
  box-shadow: 0 2px 9px var(--shadow);
}
.cookie-btn.accept {
  background: var(--secondary, #E7C87A);
  color: var(--primary, #215572);
}
.cookie-btn.accept:hover {
  background: var(--success, #53C3A3);
  color: #fff;
  transform: scale(1.05);
}
.cookie-btn.reject {
  background: var(--error, #EC4B4B);
  color: #fff;
}
.cookie-btn.reject:hover {
  background: #b81a29;
  color: #fff4e2;
  transform: scale(1.05);
}
.cookie-btn.settings {
  background: var(--info, #6C9BD2);
  color: #fff;
}
.cookie-btn.settings:hover {
  background: #4b77a9;
  color: #fffbe2;
  transform: scale(1.05);
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 3200;
  width: 100vw;
  height: 100vh;
  background: rgba(33,85,114, 0.52);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookie-modal-in 0.35s cubic-bezier(.14,.81,.53,1.25);
}
@keyframes cookie-modal-in {
  0% { opacity: 0; } 100% { opacity: 1; }
}
.cookie-modal {
  background: #fffde6;
  color: #215572;
  border-radius: 32px;
  box-shadow: 0 8px 40px var(--shadow);
  padding: 36px 26px 30px 26px;
  max-width: 420px;
  width: 93vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  gap: 16px;
}
.cookie-modal h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--primary, #215572);
}
.cookie-modal label {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  gap: 12px;
  font-size: 1rem;
  font-weight: 600;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--secondary, #E7C87A);
  width: 22px;
  height: 22px;
  border-radius: 15px;
  border: 2px solid #efc23b;
  margin-right: 3px;
}
.cookie-modal .essential {
  color: #717171;
  font-weight: 800;
}
.cookie-modal .cookie-modal-btns {
  display: flex;
  gap: 14px;
  margin-top: 18px;
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: transparent;
  border: none;
  color: var(--primary, #215572);
  font-size: 1.8rem;
  cursor: pointer;
  border-radius: 50px;
  transition: background 0.16s;
  z-index: 2;
}
.cookie-modal-close:hover {
  background: #efe8c0;
}

/* form, input and focus states */
input, textarea, select {
  border: 2px solid #c9d1d4;
  border-radius: 8px;
  padding: 9px 13px;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  width: 100%;
  box-sizing: border-box;
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--secondary, #E7C87A);
  border-color: var(--primary, #215572);
  background: #fffdf4;
}

/* Responsive padding for container */
@media (max-width: 500px) {
  .container { padding: 0 4px; }
  .section { padding: 20px 6px; }
  .cookie-banner { padding: 14px 5px 12px 5px; font-size: 0.97rem;}
}

/* Hide default cookies modal/banner visually when not shown */
.cookie-banner.hide {
  display: none !important;
}
.cookie-modal-overlay.hide {
  display: none !important;
}

/* FADE/SLIDE animation utility classes (for transitions, e.g. mobile menu) */
.fade-enter {
  opacity: 0;
  pointer-events: none;
}
.fade-enter-active {
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.33s cubic-bezier(.22,1.17,.6,.9);
}
.slide-in {
  transform: translateX(110%);
}
.slide-in-active {
  transform: translateX(0);
  transition: transform 0.33s cubic-bezier(.22,1.17,.6,.9);
}

/* PLAYFUL DYNAMIC VISUAL ELEMENTS */
.section {
  border: 5px dashed #e7c87a66;
  animation: playfulpop 0.9s cubic-bezier(.17,.67,.52,1.22);
}
@keyframes playfulpop {
  0% { transform: scale(0.90) rotate(-3deg); opacity: 0; }
  75% { transform: scale(1.05) rotate(2deg); }
  100% { transform: none; opacity: 1; }
}
.card, .testimonial-card {
  border: 3px solid #e7c87a55;
  background: #fffbe4;
}

/* Responsive FLEX for content-grid */
@media (max-width:992px){
  .content-grid{flex-direction:column;gap:18px;}
}

/* Hide overscroll on mobile menu/modal */
body.overflow-hide {
  overflow: hidden;
}

/* Ensuring no overlaps, all interactive is clearly visible */
.section, .card, .testimonial-card {
  margin-bottom: 20px;
}

/* ENERGIZE PAGE EXTRAS - playful_font for big titles */
h1, h2 {
  text-shadow: 1px 3px 0 #f6e09c3f, 0 7px 24px #ffc;
  letter-spacing: 1.8px;
}

/* Mark strong/important with color */
strong, b { color: #bb941d; }

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