/* Mirage Veil Bogenschule – Playful Dynamic CSS */
/* CSS RESET */
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,input,button,textarea,select,optgroup,option,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;
}
ol,ul {
  list-style:none;
  padding-left: 0;
  margin-left: 0;
}
a { color: inherit; text-decoration:none; }
input,button,textarea,select {
  font: inherit;
}

/* PLAYFUL DYNAMIC FONT IMPORTS */
@import url('https://fonts.googleapis.com/css?family=Oswald:700,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Quicksand:wght@400;700&display=swap');

:root {
  --color-primary: #233D4D;
  --color-secondary: #A7C957;
  --color-accent: #F4F4F2;
  --color-orange: #F37736;
  --color-yellow: #FFF15D;
  --color-pink: #fe5d9f;
  --color-link: #2EA8E6;
  --font-display: 'Fredoka One', 'Oswald', Arial, sans-serif;
  --font-body: 'Quicksand', 'Roboto', Arial, sans-serif;
  --shadow-1: 0 4px 20px 0 rgba(35, 61, 77, 0.13);
  --shadow-2: 0 2px 8px 0 rgba(35, 61, 77, 0.18);
  --radius-xl: 36px;
  --radius-md: 18px;
  --radius-sm: 8px;
}

body {
  background: var(--color-accent);
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

.container {
  width: 100%;
  max-width: 1150px;
  padding: 0 20px;
  margin: 0 auto;
}

/* HEADER */
header {
  background: #fff;
  box-shadow: var(--shadow-1);
  position: sticky;
  top: 0;
  z-index: 970;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}
.desktop-nav {
  display: flex;
  gap: 28px;
}
.desktop-nav a {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--color-primary);
  padding: 6px 0;
  position: relative;
  transition: color .2s cubic-bezier(.65,0,.24,1);
}
.desktop-nav a:after {
  content: '';
  display:block;
  height: 3px;
  width: 0;
  background: var(--color-secondary);
  border-radius: 4px;
  transition: width .21s cubic-bezier(.71,0,.26,1);
}
.desktop-nav a:hover:after {
  width: 100%;
}
.desktop-nav a:hover {
  color: var(--color-orange);
}
.cta-button {
  font-family: var(--font-display);
  font-size: 18px;
  color: #fff;
  background: var(--color-secondary);
  border: none;
  border-radius: var(--radius-xl);
  padding: 12px 36px;
  cursor: pointer;
  box-shadow: var(--shadow-1);
  letter-spacing: 0.04em;
  transition: background .2s, transform .22s cubic-bezier(.7,1.75,.58,.91);
  outline:none;
  margin-left:16px;
  position:relative;
  z-index:1;
  text-shadow: 0 2px 8px #0000000c;
}
.cta-button:hover, .cta-button:focus {
  background: var(--color-orange);
  transform: scale(1.05) rotate(-2deg);
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: var(--color-orange);
  color: #fff;
  font-size: 28px;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-2);
  margin-left: 16px;
  cursor: pointer;
  z-index: 1040;
  transition: background 0.2s, box-shadow 0.2s;
}
.mobile-menu-toggle:focus {
  outline: #000 solid 2px;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  width: 95vw;
  max-width: 340px;
  min-width: 210px;
  height: 100vh;
  background: #f9ffe2;
  box-shadow: -4px 0 24px 0 rgba(35,61,77,0.11);
  z-index: 1100;
  transform: translateX(105%);
  opacity:0;
  pointer-events:none;
  transition: transform .42s cubic-bezier(.66,1.19,.76,.97), opacity .23s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity:1;
  pointer-events:auto;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 20px 20px 0 0;
  background: var(--color-pink);
  color: #fff;
  border: none;
  font-size: 28px;
  width: 44px;
  height: 44px;
  border-radius:50%;
  box-shadow: var(--shadow-2);
  cursor:pointer;
  transition: background 0.18s;
}
.mobile-menu-close:focus {
  outline:2px solid var(--color-primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 40px 32px 32px 32px;
  font-family: var(--font-display);
}
.mobile-nav a {
  font-size: 22px;
  padding: 10px 0 6px 0;
  color: var(--color-primary);
  border-radius: var(--radius-md);
  transition: background 0.21s, color .19s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-orange);
}

@media (max-width: 980px) {
  .desktop-nav {
    display:none;
  }
  .cta-button {
    display:none;
  }
  .mobile-menu-toggle {
    display: flex;
    margin-left: auto;
  }
}

@media (max-width: 520px) {
  .mobile-menu {
    width: 100vw;
    min-width: 0;
    max-width: none;
  }
}

/* HERO SECTION */
.hero {
  margin-bottom: 60px;
  padding: 40px 20px 60px 20px;
  background: linear-gradient(140deg,#F4F4F2 80%,#A7C957 160%);
  border-radius: 0 0 44px 44px;
  box-shadow: 0 4px 32px 0 #afe9ef18;
  overflow: hidden;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--color-orange);
  margin-bottom: 12px;
  text-shadow: 0 2px 8px #00000010;
  animation: fadeInDown 1.5s cubic-bezier(.38,0,.6,1) both;
}
.hero p {
  font-size: 18px;
  margin-bottom: 26px;
  color: var(--color-primary);
}
.hero .cta-button {
  font-size: 20px;
  background: var(--color-pink);
  margin-left: 0;
  margin-top: 10px;
  box-shadow: 0 6px 32px 0 #233D4D22;
  animation: pulseBtn 2.1s infinite alternate;
}

@media (max-width: 768px) {
  .hero h1 { font-size: 26px; }
  .hero .container { align-items:center;}
}

@keyframes fadeInDown {
  0% { opacity:0; transform: translateY(-40px); }
  100% { opacity:1; transform: none; }
}
@keyframes pulseBtn {
  0% { box-shadow: 0 2px 8px 0 #233D4D33; transform: scale(1); }
  100% { box-shadow: 0 6px 32px 0 #233D4D44; transform: scale(1.055); }
}

/* SECTIONS, SPACING, LAYOUTS */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-2);
  margin-bottom: 20px;
  padding: 32px 24px;
  position:relative;
  transition: transform .18s, box-shadow .18s;
}
.card:hover,
.card:focus-within {
  transform: translateY(-4px) scale(1.015) rotate(-1.2deg);
  box-shadow: 0 6px 20px 0 #a7c95741;
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  color: #21262e;
  padding: 20px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  box-shadow: 0 3px 12px 0 #a7c95712;
  border-left: 8px solid var(--color-yellow);
  transition: box-shadow .18s, border-color .18s;
  max-width: 630px;
  animation: fadeInTestimonial 0.98s cubic-bezier(.8,0,.65,1) both;
}
@keyframes fadeInTestimonial {
  0% { opacity:0; transform: translateY(20px) scale(.98); }
  100% { opacity:1; transform: none; }
}
.testimonial-card:hover {
  box-shadow:0 8px 28px 0 #f3773645;
  border-color: var(--color-pink);
}
.testimonial-card blockquote {
  font-size: 20px;
  font-family: var(--font-display);
  color: var(--color-primary);
  margin-bottom: 7px;
}
.testimonial-name {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-secondary);
  opacity: .92;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.text-section,
.content-wrapper > ul,
.content-wrapper > h2,
.content-wrapper > h3 {
  margin-bottom: 18px;
}

ul, ol {
  margin-bottom: 16px;
  padding-left: 18px;
  list-style: disc inside;
}
ul img {
  vertical-align: middle;
  margin-right:10px;
}
li {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 10px;
  position: relative;
  padding-left: 0;
}

/* TYPOGRAPHY */
h1, .h1 {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 14px;
  line-height: 1.13;
  letter-spacing: 1px;
}
h2, .h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.22;
  margin-bottom: 12px;
  color: var(--color-orange);
}
h3, .h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-secondary);
}
h4,h5,h6 {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--color-primary);
}
p, .p {
  font-size: 17px;
  color: var(--color-primary);
  margin-bottom: 12px;
}
strong {
  color: var(--color-orange);
}
em {
  color: var(--color-secondary);
}

a {
  color: var(--color-link);
  transition: color .17s;
  cursor: pointer;
}
a:hover,a:focus {
  color: var(--color-orange);
  text-decoration: underline;
}

/* RESPONSIVE TYPOGRAPHY */
@media (max-width: 900px) {
  h1, .h1 { font-size: 30px; }
  h2, .h2 { font-size: 23px; }
  h3, .h3 { font-size: 18px; }
}
@media (max-width: 640px) {
  h1, .h1 { font-size: 22px; }
  h2, .h2 { font-size: 18px; }
  h3, .h3 { font-size: 15px; }
  p, .p, li { font-size: 16px; }
}

/* BUTTONS */
button, .button {
  font-family: var(--font-display);
  font-size: 17px;
  padding: 10px 26px;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-md);
  border: none;
  cursor:pointer;
  transition: background .16s, transform .16s;
  box-shadow: var(--shadow-2);
}
button:hover,.button:hover,
button:focus,.button:focus {
  background: var(--color-pink);
  transform: scale(1.05) rotate(-2deg);
  outline:none;
}

/* FOOTER */
footer {
  background: var(--color-primary);
  color: #fff;
  padding: 0 0 30px 0;
  font-size: 16px;
}
.footer-main {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  padding: 38px 0 14px 0;
  border-bottom: 1px solid #8cbfad31;
}
.footer-main > a img {
  max-width: 62px;
  border-radius: 50%;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.footer-nav a {
  font-family: var(--font-display);
  color: #fff;
  opacity: 0.93;
  font-size: 15px;
  margin-bottom: 2px;
  transition: color .17s, opacity .18s;
}
.footer-nav a:hover {
  color: var(--color-yellow);
  opacity:1;
}
.footer-contact p, .footer-contact a {
  font-size: 15px;
  opacity: .92;
  line-height: 1.45;
}
.footer-contact strong { color: var(--color-secondary); }
.footer-social {
  display: flex;
  gap: 18px;
  margin: 22px 0 0 0;
}
.footer-social a img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px 0 #f3773625;
  transition: transform .16s;
}
.footer-social a:hover img {
  transform: scale(1.12) rotate(-7deg);
}
.footer-legal {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  opacity: .7;
}
.footer-legal small {
  font-size: 13px;
}

@media (max-width: 920px) {
  .footer-main {
    flex-direction: column;
    gap: 13px;
    align-items: flex-start;
  }
}

@media (max-width: 540px) {
  .footer-main, .footer-nav, .footer-contact {
    align-items: flex-start;
  }
  .footer-main { flex-direction: column; gap: 7px; }
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1600;
  background: #fff;
  color: var(--color-primary);
  box-shadow:0 -2px 24px #233D4D22;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 19px 6vw 19px 6vw;
  font-size: 16px;
  border-radius: 22px 22px 0 0;
  animation: slideInCookieBanner .6s cubic-bezier(.2,1.12,.34,1.02);
}
@keyframes slideInCookieBanner {
  0%{ transform: translateY(125%); opacity: 0; }
  100%{ transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  margin-bottom: 0;
  max-width: 520px;
  color: var(--color-primary);
}
.cookie-buttons {
  display: flex;
  gap: 14px;
}
.cookie-btn {
  font-family: var(--font-display);
  padding: 7px 22px;
  border-radius: 16px;
  border:none;
  font-size: 15px;
  cursor: pointer;
  transition: background .19s, color .17s;
  box-shadow:0 2px 10px #f3773644;
  margin-left: 3px;
}
.cookie-btn.accept {
  background: var(--color-secondary);
  color: var(--color-primary);
  font-weight: 700;
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
  background: var(--color-pink);
  color: #fff;
}
.cookie-btn.reject {
  background: #f37736cc;
  color: #fff;
  font-weight: 700;
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: var(--color-secondary);
  color:var(--color-primary);
}
.cookie-btn.settings {
  background: #F4F4F2;
  color: var(--color-primary);
  border: 1.5px solid var(--color-secondary);
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: var(--color-yellow);
  color: var(--color-primary);
}

@media (max-width: 700px) {
  .cookie-banner { flex-direction: column; align-items:flex-start; gap:14px; padding:16px 5vw 16px 5vw;}
}

/* COOKIE PREFERENCES MODAL */
#cookie-modal {
  display: none;
  position: fixed;
  z-index: 1800;
  left:0; right:0; top:0; bottom:0;
  background: rgba(35,61,77,0.41);
  align-items: center;
  justify-content: center;
  animation: fadeIn .31s;
}
#cookie-modal.open {
  display: flex;
}
.cookie-modal-content {
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 48px #a7c95740;
  max-width: 410px;
  width: 95vw;
  padding: 36px 28px 24px 28px;
  text-align: left;
  position:relative;
  animation: popupBump .4s cubic-bezier(.7,1.44,.39,1.06)
}
@keyframes popupBump {
  0% { transform:scale(.91) translateY(45px); opacity:0; }
  100% { transform:scale(1); opacity:1; }
}
.cookie-modal-content h2 {
  color: var(--color-orange);
  font-size: 22px;
  margin-bottom: 8px;
  font-family: var(--font-display);
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding: 5px 0;
}
.cookie-toggle {
  appearance: none;
  width: 48px;
  height: 28px;
  background: #e0e0e0;
  border-radius: 16px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.2s;
}
.cookie-toggle:checked {
  background: var(--color-secondary);
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  left: 4px;
  top: 4px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: transform .18s;
  box-shadow: 0 1.5px 3px #00000011;
}
.cookie-toggle:checked:before {
  transform: translateX(20px);
  background: var(--color-orange);
}
.cookie-always-on {
  color: var(--color-secondary);
  font-size: 14px;
  margin-left: 10px;
}
.cookie-modal-actions {
  display: flex;
  gap: 13px;
  margin-top: 18px;
  justify-content: flex-end;
}

/* SECTION ALTERNATING COLORS */
section {
  margin-bottom: 60px;
}
section:nth-child(even) {
  background: #f7fff1;
  border-radius: var(--radius-xl);
}
main section:last-child {
  margin-bottom: 0;
}

/* DECORATIVE: Fun animated line/element for hero */
.hero::after {
  content: '';
  display: block;
  position: absolute;
  left: -80px; top: 24%;
  width: 180px; height: 48px;
  background: var(--color-yellow);
  opacity: 0.18;
  border-radius: 63px 20px 70px 32px;
  transform: rotate(-18deg);
  z-index: 0;
  animation: moveHeroLine 6s infinite alternate cubic-bezier(.76,.01,.34,.95);
  pointer-events: none;
}
@keyframes moveHeroLine {
  0% { left: -80px; top: 24%;opacity: .18; }
  100% { left: 0; top: 40%;opacity: .22; }
}

/* CARDS, CONTENT ELEMENTS */
/* Style any .card, but no absolute for content! */
.card {
  background: #fff;
  border: 3px solid var(--color-yellow);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-2);
  padding: 32px 20px;
  margin-bottom: 20px;
  transition: box-shadow .18s, border-color .18s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 #a7c95766;
  border-color: var(--color-pink);
}

/* UTILITY, DECORATIVE */
.text-center, [style*="text-align: center"] {
  text-align: center !important;
}
.mt-24 { margin-top: 24px !important; }
.mt-32 { margin-top: 32px !important; }
.mr-24 { margin-right: 24px !important; }
.mb-24 { margin-bottom: 24px !important; }
.pt-32 { padding-top: 32px !important; }
.gap-20 { gap: 20px !important; }

/* IMAGES and ICONS */
img {
  max-width: 100%;
  display: inline-block;
}
section img {
  border-radius: var(--radius-sm);
}
ul img {
  width: 28px; height: 28px;
  margin-right: 8px;
  vertical-align: middle;
}

/* MOBILE FIRST FLEX ADJUSTMENTS */
@media (max-width: 768px) {
  .container {padding:0 8px;}
  .content-wrapper {gap:18px;}
  .section, section { padding: 24px 6px; margin-bottom: 38px; }
  .feature-item {gap: 8px;}
  .card-container, .content-grid, .text-image-section { gap: 13px; }
  .text-image-section, .content-grid {
    flex-direction: column;
    align-items: flex-start !important;
  }
  .testimonial-card {
    max-width: 100%;
    margin-bottom: 16px;
    padding: 17px;
  }
}

/* VISIBILITY -- hide desktop nav on mobile and vice versa */
@media (max-width: 980px) {
  .desktop-nav, .cta-button {display:none;}
  .mobile-menu-toggle { display:flex; }
}
@media (min-width: 981px) {
  .mobile-menu, .mobile-menu-toggle { display:none !important; }
  .desktop-nav { display:flex !important; }
  .cta-button { display:inline-block !important; }
}


/* ---------- ACCESSIBILITY & FOCUS ---------- */
a, button, .cta-button, .card, .footer-nav a, .mobile-nav a, .cookie-btn {
  outline: none;
}
a:focus, button:focus, .cta-button:focus, .card:focus, .footer-nav a:focus, .mobile-nav a:focus, .cookie-btn:focus {
  box-shadow:0 0 0 3px #2EA8E6, 0 1.5px 6px #233D4D22;
  border-radius: 10px;
}

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar {
  width: 10px;
  background: var(--color-yellow);
}
::-webkit-scrollbar-thumb {
  background: var(--color-secondary);
  border-radius: 8px;
}

/* ---------- ANIMATIONS & TRANSITIONS ---------- */
.fadeIn {
  animation: fadeIn .7s ease;
}
@keyframes fadeIn {
  from { opacity:0; }
  to { opacity:1; }
}

/* CUSTOM CLASSES/STRUCTURE for layout consistency */
/* .section, .card-container, .card (already matched above) */

/* Prevent overlaps: all element spacings (esp on mobile) */
main > section, .section, section {
  margin-bottom: 60px;
}

/* Add white space for breathing room */
@media (max-width:480px) {
  .section, section { padding:15px 1px; margin-bottom: 26px; }
  .card, .testimonial-card {padding:12px 7px;}
}

/* Extra: make sure all sections/components use proper spacing */
.content-wrapper > *:not(:last-child) {
  margin-bottom: 20px !important;
}

/* For distinctive appearance on testimonial and reviews */
.testimonial-card {
  background: #fff !important;
  color: #222 !important;
  border-left: 8px solid var(--color-yellow);
  box-shadow: 0 3px 12px 0 #a7c95733;
}
.testimonial-card blockquote {
  color: var(--color-secondary);
  font-size: 20px;
  font-family: var(--font-display);
}
.testimonial-name {
  color: var(--color-primary);
  font-weight: 700;
}


/* --- End --- */
