/* =======================
   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,
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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { font-size: 100%; scroll-behavior: smooth; }
body {
  line-height: 1.6;
  background: #F4FBFA;
  color: #234C63;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  font-size: 16px;
}
section, main, footer, header, nav, aside, article { display: block; }
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img { max-width: 100%; display: block; height: auto; }
button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
:focus {
  outline: 2px solid #A3C8E1;
  outline-offset: 2px;
}

/* ===============================
   BRAND COLORS & SOFT-PASTEL PALETTE
   =============================== */
:root {
  --primary: #234C63;
  --secondary: #70A7B2;
  --accent: #F6F9F8;
  --soft-blue: #A3C8E1;
  --soft-lavender: #E1DCF6;
  --soft-rose: #F9DEE7;
  --soft-mint: #D5F6EA;
  --soft-yellow: #FDF6C3;
  --gray-100: #F7FAFC;
  --gray-200: #E9F2F2;
  --gray-300: #D8E6E9;
  --gray-400: #B6D6D6;
  --dark-text: #234C63;
  --light-text: #598396;
  --shadow: 0 4px 28px 0 rgba(45,86,124,0.06), 0 1.5px 4px 0 rgba(35,76,99,0.04);
}

/* =============================
   TYPOGRAPHY
   ============================= */
@import url('https://fonts.googleapis.com/css?family=Roboto:400,400italic,700|Montserrat:700,600&display=swap');
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--dark-text);
  background: var(--accent);
  font-size: 16px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--primary);
  letter-spacing: 0.01em;
  margin-bottom: 0.4em;
  line-height: 1.18;
}
h1 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 0.7em;
}
h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.6em;
}
h3 {
  font-size: 1.32rem;
  font-weight: 600;
}
h4, h5, h6 {
  font-size: 1.1rem;
  font-weight: 600;
}
p {
  color: var(--light-text);
  margin-bottom: 1.1em;
}
strong {
  font-weight: 700;
}
blockquote {
  font-style: italic;
  color: var(--primary);
  background: var(--soft-lavender);
  border-left: 4px solid var(--secondary);
  padding: 16px 20px 16px 24px;
  border-radius: 12px;
  margin-bottom: 1em;
}
cite {
  display: block;
  font-style: normal;
  color: var(--primary);
  font-size: 1.02em;
  margin-top: 8px;
  letter-spacing: .02em;
}

/* =============================
   SHARED LAYOUT: FLEXBOX
   ============================= */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--gray-100);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.features-grid,
.service-list,
.service-detailed-list,
.course-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.features-grid > li,
.features-grid > div,
.service-list > li,
.service-detailed-list > li,
.course-list > li {
  background: var(--soft-mint);
  color: var(--primary);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 28px 20px;
  margin-bottom: 20px;
  flex: 1 1 270px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.features-grid img,
.service-list img,
.service-detailed-list img,
.course-list img {
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: var(--accent);
  border-radius: 16px;
  box-shadow: var(--shadow);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
}

.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: var(--soft-rose);
  border-radius: 20px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}
.testimonial-card blockquote {
  background: transparent;
  border: none;
  padding: 0;
}
.testimonial-card cite {
  color: var(--secondary);
  font-size: 1rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ===============================
   HEADER & NAVIGATION
   =============================== */
header {
  background: linear-gradient(90deg, #F9DEE7 0%, #E1DCF6 80%, #D5F6EA 100%);
  box-shadow: var(--shadow);
  padding: 0;
}
header .container {
  min-height: 80px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  padding-top: 12px;
  padding-bottom: 12px;
}
.logo img {
  height: 44px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 1.8em;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-size: 1.08rem;
  padding: 4px 12px;
  border-radius: 8px;
  transition: background 0.18s;
  position: relative;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--soft-blue);
  color: var(--primary);
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(90deg, #A3C8E1 0%, #E1DCF6 100%);
  color: var(--primary);
  border-radius: 32px;
  padding: 12px 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  box-shadow: 0 6px 24px 0 rgba(35, 76, 99, 0.09);
  border: none;
  transition: all 0.2s cubic-bezier(.39,.58,.57,1);
  margin-left: 24px;
  letter-spacing: .01em;
  display: inline-block;
}
.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(90deg, #F9DEE7 0%, #A3C8E1 90%);
  color: var(--primary);
  transform: translateY(-1px) scale(1.045);
  box-shadow: 0 8px 32px 0 rgba(35,76,99,.14);
}

/* =========================
   HERO SECTION
   ========================= */
.hero {
  background: linear-gradient(110deg, #E1DCF6 15%, #F6F9F8 70%);
  min-height: 240px;
  padding: 60px 0 40px 0;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
}
.hero .container {
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  max-width: 680px;
}
.hero h1 {
  color: var(--primary);
  font-size: 2.8rem;
  margin-bottom: 0.55em;
}
.hero p {
  font-size: 1.16rem;
}
.hero .btn-primary {
  margin-top: 18px;
}

/* ==========================
   SERVICE/LIST SECTIONS
   ========================== */
.service-list > li,
.service-detailed-list > li {
  background: var(--soft-mint);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 22px 16px 16px 22px;
  margin-bottom: 20px;
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.service-list h3,
.service-detailed-list h3 {
  margin-bottom: 0.23em;
  font-size: 1.15rem;
}
.service-list span, .service-detailed-list span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 0.8em;
  display: block;
}
.service-list a, .service-detailed-list a {
  color: var(--primary);
  margin-top: 7px;
  padding: 7px 14px;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--gray-200);
  letter-spacing: 0.01em;
  transition: background 0.15s, color 0.15s;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 1.5px 4px 0 rgba(35, 76, 99, 0.03);
}
.service-list a:hover, .service-list a:focus,
.service-detailed-list a:hover, .service-detailed-list a:focus {
  background: var(--soft-lavender);
  color: var(--secondary);
}

.course-list > li {
  background: var(--soft-blue);
  color: var(--primary);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 24px 18px;
  margin-bottom: 18px;
  flex: 1 1 300px;
  font-size: 1.07rem;
}
.course-list em {
  color: var(--secondary);
}

/* ==========================
   FOOTER
   ========================== */
footer {
  background: linear-gradient(90deg, #D5F6EA 0%, #E1DCF6 100%);
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  box-shadow: var(--shadow);
  margin-top: 80px;
  font-size: 0.99rem;
  padding: 24px 0 12px 0;
}
footer .container {
  flex-direction: column;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-nav, .footer-utility {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 12px;
  align-items: center;
}
.footer-nav a,
.footer-utility a {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 5px 10px;
  border-radius: 7px;
  font-size: 1rem;
  transition: background 0.15s;
}
.footer-nav a:hover, .footer-utility a:hover {
  background: var(--soft-blue);
}
address {
  color: var(--primary);
  font-style: normal;
  line-height: 1.7;
  max-width: 320px;
  margin-bottom: 0;
}
address strong { font-weight: 700; color: var(--primary); }
.footer-social {
  margin-top: 14px;
}
.footer-social a {
  display: inline-block;
  margin-right: 10px;
  opacity: .85;
  transition: opacity 0.15s, transform 0.15s;
}
.footer-social a:hover {
  opacity: 1;
  transform: scale(1.08);
}
.footer-social img {
  height: 28px; width: 28px;
}

/* ==========================
   MOBILE BURGER NAVIGATION
   ========================== */
.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  color: #fff;
  border-radius: 50%;
  width: 44px; height: 44px;
  font-size: 1.6rem;
  align-items: center;
  justify-content: center;
  border: none;
  position: absolute;
  right: 18px; top: 19px;
  z-index: 202;
  box-shadow: 0 1.5px 6px rgba(35,76,99,.07);
  transition: background 0.12s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--primary);
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0; right: 0; left: 0; bottom: 0;
  background: rgba(234, 244, 248, 0.97);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.34s cubic-bezier(.42,.01,.61,1.49), opacity .17s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
  box-shadow: 0 12px 32px 0 rgba(11,39,55,0.13);
}
.mobile-menu-close {
  margin: 20px 24px 0 0;
  background: var(--soft-lavender);
  color: var(--primary);
  border-radius: 50%;
  font-size: 1.5rem;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  opacity: .88;
  transition: background .13s, color .12s;
  z-index: 1000;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--soft-rose);
  color: var(--primary);
}
.mobile-nav {
  margin: 38px 0 0 0;
  padding: 0 32px 16px 32px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.mobile-nav a {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  padding: 14px 0;
  border-radius: 10px;
  width: 100%;
  display: block;
  transition: background .15s, color .15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--soft-blue);
  color: var(--secondary);
}

@media (max-width: 1060px) {
  .container { max-width: 98vw; }
}
@media (max-width: 900px) {
  .content-wrapper { gap: 16px; }
  .service-list > li, .service-detailed-list > li, .features-grid > li, .features-grid > div, .course-list > li { flex-basis: 210px; }
}
@media (max-width: 768px) {
  .container { padding: 0 10px; }
  .content-wrapper { gap: 14px; }
  nav.main-nav, .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .hero {
    padding: 40px 0 23px 0;
    min-height: 140px;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
  }
  .hero .content-wrapper { max-width: 96vw; }
  .features-grid,
  .service-list,
  .service-detailed-list,
  .course-list,
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .features-grid > li,
  .features-grid > div,
  .service-list > li,
  .service-detailed-list > li,
  .course-list > li,
  .card {
    width: 100%;
    min-width: 0;
  }
  .footer-nav, .footer-utility {
    flex-direction: column;
    gap: 9px;
    align-items: flex-start;
  }
  .footer-social {
    margin: 10px 0 0 0;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .testimonial-card { flex-direction: column; align-items: stretch; }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.54rem;
  }
  h2 { font-size: 1.17rem; }
  .btn-primary {
    padding: 11px 15px;
    font-size: 1rem;
    margin-left: 0;
  }
  .container { padding: 0 4px; }
  .footer-nav a, .footer-utility a {
    font-size: 0.99rem;
    padding: 7px 7px;
  }
}

/* ==========================
   MAP PLACEHOLDER (Kontakt)
   ========================== */
.map-placeholder {
  background: var(--soft-lavender);
  padding: 18px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  max-width: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================
   COOKIES CONSENT BANNER
   ========================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 1100;
  background: var(--soft-mint);
  box-shadow: 0 -2px 16px 0 rgba(35,76,99,0.11);
  border-top: 1.5px solid var(--gray-300);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 16px 24px 16px 24px;
  gap: 24px;
  transition: transform 0.29s cubic-bezier(.42,.01,.61,1.39), opacity 0.15s;
}
.cookie-banner.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner__message {
  color: var(--primary);
  font-size: 1.08rem;
  max-width: 440px;
  margin-right: 16px;
}
.cookie-banner__actions {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
}
.cookie-btn,
.cookie-settings-btn {
  padding: 10px 22px;
  border-radius: 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  transition: background 0.16s, color 0.18s;
  background: var(--soft-lavender);
  color: var(--primary);
  margin: 0 2px;
  box-shadow: 0 0.5px 4px 0 rgba(35,76,99,.05);
}
.cookie-btn.accept {
  background: var(--primary);
  color: #fff;
}
.cookie-btn.reject {
  background: var(--soft-rose);
  color: var(--primary);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--secondary);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #fff;
  color: var(--secondary);
}
.cookie-settings-btn {
  background: var(--soft-blue);
  color: var(--primary);
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: var(--soft-yellow);
  color: var(--primary);
}

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 1200;
  background: rgba(34,76,99,.21);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .16s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal__window {
  background: var(--accent);
  border-radius: 26px;
  box-shadow: 0 16px 50px 0 rgba(19,51,84,0.16), 0 1.5px 5px 0 rgba(35,76,99,0.06);
  padding: 38px 30px 30px 30px;
  min-width: 320px;
  max-width: 94vw;
  max-height: 96vh;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal__close {
  position: absolute;
  right: 18px;
  top: 17px;
  background: var(--soft-rose);
  border-radius: 50%;
  width: 28px; height: 28px;
  font-size: 1.13rem;
  border: none;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .13s, color .12s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  background: var(--secondary);
  color: #fff;
}
.cookie-modal__title {
  font-size: 1.28rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.6em;
}
.cookie-modal__category {
  margin-bottom: 9px;
}
.cookie-modal__category label {
  font-size: 1.07rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--primary);
}
.cookie-modal__switch {
  margin-left: 13px;
  display: inline-flex;
  align-items: center;
}
/* Toggle switch */
.switch {
  display: inline-flex;
  align-items: center;
  position: relative;
  width: 41px; height: 22px;
}
.switch input[type="checkbox"] {
  opacity: 0;
  width: 0; height: 0;
}
.switch .slider {
  position: absolute;
  cursor: pointer;
  background: #d7e7ed;
  border-radius: 14px;
  top: 0; left: 0; right: 0; bottom: 0;
  transition: background .16s;
}
.switch .slider:before {
  position: absolute;
  content: "";
  height: 18px; width: 18px;
  left: 2px; bottom: 2px;
  background: var(--primary);
  border-radius: 50%;
  transition: transform .18s cubic-bezier(.52,.01,.52,1.1);
}
.switch input:checked + .slider {
  background: var(--soft-blue);
}
.switch input:checked + .slider:before {
  transform: translateX(19px);
  background: var(--secondary);
}
.cookie-modal__category-desc {
  color: var(--light-text);
  font-size: 0.98rem;
}
.cookie-modal__actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
    padding: 13px 9px 15px 11px;
  }
  .cookie-banner__message { font-size: .95rem; margin: 0; }
  .cookie-modal__window { padding: 23px 10px 17px 13px; min-width: 90vw; }
}

/* ==========================
   MISC/UTILITY
   ========================== */
.text-section {
  background: var(--gray-100);
  padding: 18px 18px 10px 18px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  margin-bottom: 18px;
}
ul li, ol li {
  margin-bottom: 9px;
  padding-left: 0;
  font-size: 1.01em;
}
ul li img {
  margin-right: 10px;
  vertical-align: middle;
}

/* Decorative accents on cards, optional */
.card::before {
  content: '';
  position: absolute;
  right: 22px; top: 12px;
  width: 30px; height: 30px;
  background: linear-gradient(120deg, #D5F6EA 50%, #E1DCF6 100%);
  opacity: .14;
  border-radius: 50%;
  z-index: 0;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* ==========================
   SOFT ANIMATIONS
   ========================== */
.btn-primary,
.card, .service-list > li, .service-detailed-list > li, .features-grid > li, .testimonial-card {
  transition: box-shadow 0.18s, transform 0.23s;
}
.btn-primary:active, .btn-primary:focus, .card:active,
.card:focus, .service-list > li:active, .service-list > li:focus,
.service-detailed-list > li:active, .service-detailed-list > li:focus,
.features-grid > li:active, .features-grid > li:focus, .testimonial-card:active {
  box-shadow: 0 5px 23px 0 rgba(35, 76, 99, 0.13);
  transform: scale(.98);
}

.section {
  animation: fadein-section 0.9s cubic-bezier(.67,0,.49,1) both;
}
@keyframes fadein-section {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: none; }
}

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