/* ========================================================
   Luminous Land Akademie - Playful Dynamic UI Styles v1.0
   ======================================================== */
/* ========== CSS RESET & NORMALIZE ========== */
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; margin: 0; padding: 0; border: 0; }
body { min-height: 100vh; background: #F3F7FB; color: #154273; font-family: 'Open Sans', Arial, sans-serif; font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 16px;
  color: #154273;
  letter-spacing: -1px;
}
h1 { font-size: 2.25rem; line-height: 1.1; letter-spacing: -2px; }
h2 { font-size: 1.5rem; line-height: 1.2; }
h3 { font-size: 1.2rem; }
p { margin-bottom: 14px; }
ul, ol { margin-left: 22px; margin-bottom: 20px; }
ul {list-style-type: circle;}
li { margin-bottom: 10px; }
a { color: #E48C22; text-decoration: none; transition: color 0.16s; }
a:hover, a:focus { color: #b26417; text-decoration: underline; }
img { max-width: 100%; border-radius: 10px; vertical-align: middle; }
strong { font-weight: bold; color: #154273; }

/* ========== BRAND COLORS & VARIABLES ========== */
:root {
  --primary: #154273;
  --secondary: #F3F7FB;
  --secondary-dark: #D5E2F1;
  --accent: #E48C22;
  --accent-dark: #b26417;
  --success: #42c477;
  --danger: #e31b45;
  --shadow: rgba(21, 66, 115, 0.05);
  --shadow-hover: rgba(21, 66, 115, 0.13);
  --muted: #8aa0bc;
  --white: #FFFFFF;
  --bg-card: #ffffff;
}

/* ========== GENERAL LAYOUTS ========== */
body {
  background: var(--secondary);
}
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 32px;
  background: var(--bg-card);
  box-shadow: 0 6px 32px var(--shadow);
}
/* Spacing patterns */
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; border-radius: 20px; background: var(--bg-card); box-shadow: 0 3px 18px var(--shadow); padding: 24px; transition: box-shadow 0.24s; }
.card:hover { box-shadow: 0 8px 28px var(--shadow-hover); }
.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; padding: 20px; background: #fff; border-radius: 24px; box-shadow: 0 2px 14px var(--shadow); margin-bottom: 20px; min-width: 240px; max-width: 540px; color: #143359; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; margin-bottom: 20px; }

/* Section overrides for colorful backgrounds */
.hero, .cta {
  background: linear-gradient(90deg, #F9E8D2 60%, #E4F0FA 120%);
  border-radius: 0 0 40px 40px;
  box-shadow: 0 8px 48px var(--shadow);
  margin-bottom: 60px;
  padding: 60px 20px 40px 20px;
  animation: bg-slide 6s linear infinite alternate;
}
@keyframes bg-slide {
  0% { background-position: 0 0; }
  100% { background-position: 80% 0; }
}

/* ========== NAVIGATION & HEADER ========== */
header {
  background: var(--primary);
  color: var(--white);
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 25;
  box-shadow: 0 2px 12px var(--shadow);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
}
.logo img { height: 42px; display: block; margin: 0 16px 0 0; }
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
  margin-right: 16px;
}
.main-nav a {
  color: #fff;
  font-weight: 600;
  font-family: 'Montserrat',sans-serif;
  font-size: 1rem;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: border 0.2s, color 0.2s;
}
.main-nav a:hover,
.main-nav a:focus { color: var(--accent); border-bottom: 2px solid var(--accent); }
.btn-primary {
  background: var(--accent);
  color: #fff!important;
  border-radius: 30px;
  font-family: 'Montserrat',sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 12px 34px;
  transition: background 0.2s, transform 0.11s;
  box-shadow: 0 3px 12px var(--shadow);
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--accent-dark);
  transform: scale(1.04) rotate(-2deg);
}
.btn-secondary {
  background: #154273;
  color: #fff!important;
  border-radius: 30px;
  font-family: 'Montserrat',sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 10px 28px;
  margin-top: 18px;
  transition: background 0.2s, transform 0.11s;
  box-shadow: 0 2px 10px var(--shadow);
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--accent);
  color: var(--primary)!important;
  transform: scale(1.037) rotate(2deg);
}

/* ========== MOBILE NAVIGATION ========== */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  margin-left: 12px;
  display: none;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: rgba(21,66,115,0.97);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.6,.01,.51,1.53);
  padding: 28px 0 0 0;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.3rem;
  color: #fff;
  align-self: flex-end;
  margin: 0 24px 8px 0;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  align-items: flex-start;
  padding: 0 28px 24px 32px;
  margin-top: 10px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat',sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,0.11);
  width: 100%;
  display: block;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--accent);
  color: var(--primary) !important;
  border-radius: 22px;
  padding-left: 12px;
  transition: all .18s;
}

@media (max-width: 1050px) { .main-nav { gap: 8px; }
}
@media (max-width: 930px) {
  .main-nav, .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 931px) {
  .mobile-menu { display: none!important; }
}

/* ========== HERO SECTION ========== */
.hero {
  border-radius: 0 0 40px 40px;
  background: linear-gradient(90deg, #ffe4c7 70%, #d3e6ff 120%);
  min-height: 260px;
  animation: hero-bounce 6s ease-in-out infinite alternate;
}
@keyframes hero-bounce {
  0% { background-position: 0 0; }
  100% { background-position: 160px 0; }
}
.hero h1 { font-size: 2.6rem; color: var(--primary); margin-bottom: 12px; letter-spacing: -2.2px; }
.hero p {
  font-size: 1.26rem;
  color: var(--primary);
  font-family: 'Open Sans', sans-serif;
  margin-bottom: 20px;
}
.hero .btn-primary { margin-top: 10px; }

/* ========== FEATURES, SERVICES, CARDS ========== */
.features, .services, .about, .cta, .contact { margin-bottom: 60px; }
.features h2, .services h2, .about h2, .contact h2, .cta h2 { color: var(--primary); font-family: 'Montserrat'; }
.features ul, .services ul, .about ul { padding-left: 20px; margin-bottom: 0; }
.features li, .services li, .about li {
  list-style: none;
  position: relative;
  padding-left: 36px;
  min-height: 32px;
  color: var(--primary);
  font-size: 1.02rem;
  margin-bottom: 18px;
}
.features li img,
.services li img,
.about li img {position: absolute;left: 0;top: 3px;width: 24px;height: 24px;}
.services ul li,
.features ul li {
  background: #fff6e7;
  border-radius: 16px;
  padding: 18px 24px 18px 44px;
  box-shadow: 0 3px 12px var(--shadow);
  margin-bottom: 18px;
  font-weight: 500;
}
.services ul li span { color: var(--accent-dark); font-weight: bold; font-size: 1.10rem; float: right; }
.services .btn-secondary { margin-top: 18px; }

/* ========== TESTIMONIALS ========== */
.testimonials { margin-bottom: 60px; }
.testimonials h2 { margin-bottom: 18px; }
.testimonial-card {
  background: #fff;
  color: #143359;
  border-radius: 24px;
  box-shadow: 0 2px 14px var(--shadow);
  min-width: 240px; max-width: 540px;
  margin-bottom: 20px;
  padding: 20px 32px 22px 32px;
  font-size: 1.1rem;
  position: relative;
  animation: fade-in-up 1.4s cubic-bezier(.68, -.6, .32, 1.6) forwards;
  will-change: transform, opacity;
}
.testimonial-card span { color: var(--primary); font-weight: 700; font-size: 1rem; }
.testimonial-card img { display: inline-block; width: 22px; height: 22px; margin: 0 2px; }
@keyframes fade-in-up { 0% { opacity:0; transform: translateY(40px); } 100% { opacity:1; transform:translateY(0); } }

/* Ensures color contrast and readability in testimonial section strictly */
.testimonials, .testimonial-card { background: #fff; color: #154273; }
.testimonial-card p { color: #143359; line-height: 1.7; margin-bottom: 6px; }

/* ========== CTA SECTION ========== */
.cta {
  background: linear-gradient(90deg, #E4F0FA 60%, #fde0a6 110%);
  animation: bg-slide 5s linear infinite alternate;
  border-radius: 32px;
  margin-bottom: 60px;
}
.cta h2 { color: var(--accent-dark); font-size: 2rem; }
.cta p { color: var(--primary); }
.cta .btn-primary { margin-top: 18px; }

/* ========== FAQ ACCORDION (Playful Micro-animation) ========== */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: #fff6e5;
  border-radius: 20px;
  box-shadow: 0 2px 12px var(--shadow);
  padding: 22px 30px 18px 24px;
  cursor: pointer;
  transition: box-shadow .18s, transform .12s;
}
.faq-item:hover,
.faq-item:focus-within { box-shadow: 0 6px 34px var(--shadow-hover); transform: scale(1.013) rotate(-0.5deg); }
.faq-item h3 { font-size: 1.18rem; color: var(--accent); margin-bottom: 7px; cursor: pointer; }
.faq-answer { display: block; color: #154273; font-size: 1.04rem; margin-bottom: 0; }

/* ========== CONFIRMATION/BANNER/NOTES ========== */
.confirmation, .note, .legal, .contact, .cookie-banner, .cookie-modal {
  border-radius: 18px;
  background: #fffdfa;
  box-shadow: 0 2px 12px var(--shadow);
  margin-bottom: 20px;
  color: #154273;
}
.note p { padding: 12px 14px; color: #cc7000; font-size: 1rem; }

/* ========== FOOTER ========== */
footer {
  margin-top: 48px;
  background: var(--primary);
  color: #fff;
  border-radius: 34px 34px 0 0;
  box-shadow: 0 -3px 22px var(--shadow);
  padding: 30px 0 16px 0;
}
footer .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
.footer-nav { display: flex; flex-direction: row; gap: 20px; }
.footer-nav a { color: #fff7e1; font-size: 1rem; font-family: 'Montserrat',sans-serif; margin-right: 8px; transition: color .16s; font-weight: 500; }
.footer-nav a:hover, .footer-nav a:focus { color: var(--accent); text-decoration: underline; }
footer span { color: #F3F7FB; font-size: 1rem; }

/* ========== COOKIES BANNER (Fixed) ========== */
.cookie-banner {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: 16px;
  z-index: 2002;
  background: #ffecc1;
  border-radius: 20px;
  min-height: 42px;
  box-shadow: 0 4px 22px var(--shadow);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 16px 28px;
  font-size: 1.06rem;
  gap: 18px;
  animation: cookie-slide-in 0.7s cubic-bezier(.62,1.56,.74,.98);
}
@keyframes cookie-slide-in { from { transform: translateY(70px); opacity: 0;} to { transform:translateY(0);opacity:1;} }
.cookie-banner .cookie-actions {
  display: flex; flex-direction: row; gap: 14px; align-items: center;
}
.cookie-banner button, .cookie-modal button, .cookie-banner .cookie-btn {
  background: var(--accent);
  color: #fff; font-family: 'Montserrat',sans-serif;
  font-size: 1rem; border: none; border-radius: 19px;
  padding: 7px 23px;
  margin: 0 2px;
  cursor: pointer; font-weight: 600;
  transition: background .15s, transform .09s;
  box-shadow: 0 2px 12px var(--shadow);
}
.cookie-banner .cookie-btn-secondary, .cookie-modal .cookie-btn-secondary {
  background: #154273; color: #fff;
}
.cookie-banner .cookie-btn-settings {
  background: var(--white);
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.cookie-banner button:hover, .cookie-banner .cookie-btn:hover, .cookie-modal button:hover {
  background: var(--accent-dark);
  color: #fff;
  transform: scale(1.045);
}

/* ========== COOKIE MODAL ========== */
.cookie-modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%,-60%) scale(0.96);
  z-index: 3000;
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 8px 44px var(--shadow-hover);
  padding: 36px 34px 30px 34px;
  width: 96%;
  max-width: 470px;
  display: flex; flex-direction: column;
  gap: 26px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s,transform .14s;
}
.cookie-modal.open { opacity: 1; pointer-events: all; transform: translate(-50%,-51%) scale(1); }
.cookie-modal h2 { color: var(--accent-dark); font-size: 1.2rem; margin-bottom: 7px; }
.cookie-modal ul { list-style: none; margin: 0; padding: 0; }
.cookie-modal li { margin-bottom: 13px; display: flex; align-items: center; gap: 15px; }
.cookie-modal label { font-size: 1.02rem; color: #154273; cursor: pointer; }
.cookie-modal input[type="checkbox"] {
  accent-color: var(--accent);
  width: 22px; height: 22px; border-radius: 8px; margin-right: 7px;
}
.cookie-modal .cookie-actions { margin-top: 20px; }
.cookie-modal .essential { color: #aaa; font-size: 0.98rem; margin-left: 5px; }
.cookie-modal .cookie-modal-close {
  position: absolute; top: 15px; right: 16px;
  background: transparent; border: none; font-size: 1.6rem; color: var(--muted);
  cursor: pointer;
}

/* ========== PLAYFUL MICRO-ANIMATIONS ========== */
.btn-primary, .btn-secondary, .card, .faq-item, .testimonial-card, .cookie-banner, .cookie-btn {
  transition: box-shadow 0.18s, transform 0.15s, background 0.14s, color 0.13s;
}
.btn-primary:hover,.btn-secondary:hover { box-shadow: 0 8px 34px var(--shadow-hover); }
.testimonial-card:hover { transform: scale(1.02) rotate(-0.4deg); box-shadow: 0 12px 40px var(--shadow-hover); }
.features ul li:hover, .about ul li:hover, .services ul li:hover {
  background: #ffe0a2; color: var(--accent-dark); transform: scale(1.03) rotate(-1deg); transition: all .14s; }

/* ========== FORMS & INPUTS (for kontakt page) ========== */
input, textarea, select {
  border: 1.5px solid #e3e3e3;
  border-radius: 12px;
  padding: 10px 14px;
  font-family: 'Open Sans',sans-serif;
  font-size: 1rem;
  color: #154273;
  margin-bottom: 18px;
  width: 100%;
  box-sizing: border-box;
  background: #f7fbff;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--accent); outline: none; }
label { font-weight: 600; color: #154273; margin-bottom: 8px; display: block; }

/* ========== MISCELLANEOUS ========== */
.text-section { margin-bottom: 18px; }
.legal .text-section h2 { margin-top: 32px; }
.legal .text-section ul { margin-bottom: 12px; }
.confirmation .btn-primary { margin-top: 26px; }

/* ========== RESPONSIVE DESIGN: MOBILE-FIRST ========== */
@media (max-width: 768px) {
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.08rem; }
  .section, .hero, .cta, .features, .about, .services, .contact, .legal, .confirmation { padding: 22px 8px; margin-bottom: 32px; }  
  .container { padding: 0 6px; }
  .footer-nav { flex-direction: column; gap: 10px; align-items: flex-start; }
  footer .container { flex-direction: column; align-items: flex-start; gap: 15px; }
  .card-container, .content-grid { flex-direction: column; gap: 20px; }
  .testimonial-card { max-width: 99vw; padding: 13px 12px 15px 13px; }
  .text-image-section { flex-direction: column; gap: 14px; }
  .main-nav { display: none!important; }
  .btn-primary { padding: 10px 23px; font-size: .92rem; }
  .hero { border-radius: 0 0 24px 24px; min-height: 155px; padding: 34px 3px 28px 10px; }
  .cta { border-radius: 14px; }
}

@media (max-width: 420px) {
  .cookie-banner { flex-direction: column; align-items: stretch; gap:14px; padding:12px 7px; font-size: 0.92rem; }
  .cookie-banner .cookie-actions { gap:7px; flex-direction: column; align-items: stretch; }
}

/* ========== PLAYFUL FONTS ========== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

/* ========== END OF STYLE.CSS ========== */