/* === 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, main, 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.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  background: #F4F6F9;
  color: #153959;
  font-family: 'Roboto', Georgia, 'Times New Roman', Times, serif;
  font-size: 1rem;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #153959;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #7CC5ED;
  text-decoration: underline;
}
ul, ol {
  margin: 0 0 1.5em 1.5em;
  padding-left: 1em;
}
li {
  margin-bottom: 0.5em;
  line-height: 1.5;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Georgia, 'Times New Roman', Times, serif;
  color: #153959;
  letter-spacing: 0.01em;
  font-weight: 700;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.1rem;
}
p {
  font-size: 1rem;
  color: #153959;
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
}

/* ==== GENERAL LAYOUT ==== */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0; /* Section-level gap handled by .section spacing */
}
.content-wrapper {
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* --- FLEXBOX PATTERNS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid #e1e6ed;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(21, 57, 89, 0.10);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 250px;
  flex: 1 1 250px;
}
.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: 12px;
  box-shadow: 0 3px 16px rgba(21, 57, 89, 0.08);
  border: 1px solid #e1e6ed;
  margin-bottom: 24px;
  flex-direction: column;
  transition: box-shadow 0.25s, transform 0.25s;
  max-width: 590px;
}
.testimonial-card:hover {
  box-shadow: 0 6px 28px rgba(21, 57, 89, 0.12);
  transform: translateY(-2px) scale(1.01);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ==== HEADER/NAV ==== */
header {
  background: #fff;
  box-shadow: 0 6px 24px -12px rgba(21, 57, 89, 0.06);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1090;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 0 20px;
  height: 86px;
}
.logo,
header > .container > a > img {
  height: 54px;
  width: auto;
  margin-right: 24px;
}
nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
nav a {
  font-family: 'Montserrat', serif;
  font-size: 1rem;
  color: #153959;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
nav a:hover, nav a.active {
  background: #7CC5ED22;
  color: #153959;
}
.cta-button {
  background: #7CC5ED;
  color: #153959;
  font-family: 'Montserrat', serif;
  padding: 12px 32px;
  border: none;
  border-radius: 28px;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 3px 18px rgba(124, 197, 237, 0.13);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.22s, color 0.22s, box-shadow 0.22s;
  margin-left: 24px;
  display: inline-block;
}
.cta-button:hover, .cta-button:focus {
  background: #153959;
  color: #F4F6F9;
  box-shadow: 0 4px 26px rgba(21, 57, 89, 0.15);
}

/* ===== HERO SECTIONS ===== */
.hero {
  background: #f4f6f9;
  padding: 72px 0 48px 0;
  margin-bottom: 0;
}
.hero .content-wrapper {
  max-width: 740px;
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.hero h1 {
  font-size: 2.5rem;
  color: #153959;
  margin-bottom: 12px;
}
.hero p {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: #233f5f;
}

/* ==== FEATURE GRID (Index) ==== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
  justify-content: flex-start;
}
.feature-grid > div {
  background: #fff;
  border: 1px solid #e1e6ed;
  border-radius: 14px;
  box-shadow: 0 2px 10px 0 rgba(21, 57, 89, 0.10);
  padding: 28px 20px;
  min-width: 240px;
  flex: 1 1 240px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.23s, transform 0.23s;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 24px rgba(21, 57, 89, 0.13);
  transform: translateY(-3px);
}
.feature-grid img {
  width: 37px;
  height: 37px;
  margin-bottom: 14px;
}
.feature-grid h3 {
  font-size: 1.22rem;
  margin-bottom: 10px;
}
.feature-grid p {
  color: #403a3a;
  font-size: 1rem;
}

/* === COURSE GRID (KURSE) === */
.course-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.course-block {
  background: #fff;
  border: 1px solid #e1e6ed;
  border-radius: 14px;
  box-shadow: 0 3px 14px 0 rgba(21, 57, 89, 0.10);
  padding: 28px 22px;
  min-width: 240px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.2s, transform 0.2s;
}
.course-block:hover {
  box-shadow: 0 7px 34px 0 rgba(21, 57, 89, 0.15);
  transform: translateY(-3px) scale(1.015);
}
.course-block h3 {
  font-size: 1.17rem;
  margin-bottom: 9px;
}
.course-block .price {
  display: inline-block;
  color: #7CC5ED;
  background: #15395911;
  border-radius: 6px;
  padding: 5px 14px;
  margin-top: 8px;
  font-weight: 700;
  font-size: 1.08rem;
}

/* === COURSE FILTERS === */
.course-filters {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.course-filters ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.course-filters li {
  padding: 6px 14px;
  background: #e8eef6;
  color: #153959;
  border-radius: 16px;
  font-size: 1rem;
  font-family: 'Montserrat', serif;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.18s;
}
.course-filters li:hover, .course-filters li.active {
  background: #7cc5ed33;
}

/* === TESTIMONIALS === */
.testimonials-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.testimonial-card p {
  font-style: italic;
  color: #153959;
  font-size: 1.08rem;
  margin-bottom: 10px;
}
.testimonial-card span {
  color: #386488;
  font-size: 1rem;
  font-family: 'Montserrat', serif;
}
.trust-symbols {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 16px;
  align-items: center;
}
.trust-symbols img {
  width: 38px;
  height: 38px;
  filter: grayscale(0.18) contrast(1)
}

/* === FOOTER === */
footer {
  background: #153959;
  color: #f4f6f9;
  padding: 0;
}
.footer-main {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 36px;
  flex-direction: row;
  justify-content: space-between;
  padding: 44px 0 18px 0;
}
.footer-main > a img {
  height: 56px;
  margin-bottom: 18px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #f4f6f9;
  font-family: 'Montserrat', serif;
  font-size: 1rem;
  font-weight: 600;
  opacity: 0.96;
  margin-bottom: 4px;
  transition: color 0.16s;
}
.footer-nav a:hover {
  color: #7CC5ED;
  text-decoration: underline;
}
.footer-contact ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-contact li {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 7px;
  font-size: 1rem;
  color: #e3e9f3;
}
.footer-contact img {
  width: 22px;
  height: 22px;
  opacity: 0.76;
}
.footer-legal {
  margin-top: 8px;
  font-size: 0.94rem;
  color: #bec7d4;
}
.footer-legal a {
  color: #bec7d4;
  opacity: 0.91;
  margin: 0 6px;
}
.footer-legal a:hover {
  color: #7CC5ED;
}

/* ===== ABOUT: KEY-FIGURES & BADGE ===== */
.key-figures {
  margin: 24px 0 14px 0;
  font-size: 1.1rem;
  color: #7cc5ed;
  font-family: 'Montserrat', serif;
  font-weight: 600;
}
.cert-badge {
  display: flex;
  align-items: center;
  gap: 11px;
  background: #e8f2fa;
  border-radius: 8px;
  padding: 9px 22px;
  font-size: 0.98rem;
  font-family: 'Montserrat', serif;
  color: #153959;
  font-weight: 600;
  margin-top: 5px;
  box-shadow: 0 1px 4px rgba(21,57,89,0.08);
}
.cert-badge img {
  width: 24px;
  height: 24px;
  margin-bottom: 0;
}

/* === LEGAL TEXT (POLICIES) === */
.legal-text {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(21, 57, 89, 0.07);
  padding: 30px 24px;
}
.legal-text h1, .legal-text h2, .legal-text h3 {
  color: #153959;
}
.legal-text a {
  color: #7CC5ED;
}
.legal-text a:hover {
  color: #153959;
}

/* === THANK YOU PAGE === */
.confirmation {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px 0 rgba(21, 57, 89, 0.10);
  padding: 40px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  margin: 0 auto;
}
.confirmation .next-steps-info li {
  list-style: disc inside;
  margin-left: 16px;
  color: #153959;
}

/* ==== CONTACT PAGE (KONTAKT) ==== */
.text-section {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(21, 57, 89, 0.09);
  padding: 26px 18px;
}
.address-block h3 {
  font-size: 1.07rem;
  margin-bottom: 6px;
}
.address-block address {
  font-style: normal;
  color: #233f5f;
  font-size: 1rem;
}
.opening-hours, .phone-email {
  margin: 14px 0 4px 0;
  font-size: 1rem;
}
.map-block {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  background: #eaf3f9;
  border-radius: 8px;
  padding: 10px 20px;
}
.map-block img {
  width: 30px;
  height: 30px;
}

/* === MOBILE BURGER MENU === */
.mobile-menu-toggle {
  display: none;
  background: #7CC5ED;
  color: #153959;
  border: none;
  font-size: 2rem;
  line-height: 1;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 18px;
  z-index: 1991;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #153959;
  color: #F4F6F9;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: #f4f6f9;
  z-index: 2990;
  transform: translateX(103vw);
  transition: transform 0.33s cubic-bezier(.22,.68,.43,1.01);
  display: flex;
  flex-direction: column;
  padding-top: 32px;
  padding-left: 0;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 22px;
  background: #7cc5ed;
  color: #153959;
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3100;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-close:hover {
  background: #153959;
  color: #f4f6f9;
}
.mobile-nav {
  display: flex !important;
  flex-direction: column;
  gap: 26px;
  margin-top: 72px;
  margin-left: 0;
  align-items: flex-start;
}
.mobile-nav a {
  color: #153959;
  font-size: 1.17rem;
  font-family: 'Montserrat', serif;
  font-weight: 600;
  padding: 12px 32px 12px 22px;
  border-radius: 0 28px 28px 0;
  width: 100vw;
  box-sizing: border-box;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:hover {
  background: #7CC5ED22;
  color: #153959;
}

/* Hide desktop nav/cta on mobile */
@media (max-width: 990px) {
  header .container nav,
  .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 991px) {
  .mobile-menu {
    display: none!important;
  }
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #fff;
  color: #153959;
  box-shadow: 0 -2px 22px rgba(21,57,89,0.08);
  border-top: 1px solid #e1e6ed;
  padding: 18px 28px 18px 28px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  z-index: 3001;
  font-size: 1rem;
  flex-wrap: wrap;
  animation: slideUpCookie 0.48s cubic-bezier(.36,1.44,.67,1.01);
  transition: transform 0.3s;
}
@keyframes slideUpCookie {
  0% {transform: translateY(130%); opacity: 0;}
  100% {transform: translateY(0); opacity: 1;}
}
.cookie-banner__text {
  max-width: 520px;
  line-height: 1.4;
  color: #233f5f;
}
.cookie-banner__actions {
  display: flex;
  gap: 12px;
}
.cookie-banner__button,
.cookie-banner__settings {
  background: #7cc5ed;
  color: #153959;
  border: none;
  border-radius: 21px;
  font-family: 'Montserrat', serif;
  font-size: 1rem;
  padding: 10px 22px;
  margin-right: 3px;
  box-shadow: 0 2px 16px rgba(124,197,237,0.06);
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: background 0.19s, color 0.19s;
}
.cookie-banner__button:hover,
.cookie-banner__settings:hover{
  background: #153959;
  color: #f4f6f9;
}
.cookie-banner__button--reject {
  background: #e8eef6;
  color: #153959;
}
.cookie-banner__button--reject:hover {
  background: #15395933;
  color: #153959;
}

/* === COOKIE MODAL === */
.cookie-modal-overlay {
  position: fixed;
  z-index: 4100;
  inset: 0;
  background: rgba(21,57,89,0.36);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s;
  animation: modalFadeIn 0.18s;
}
@keyframes modalFadeIn {
  0%{opacity: 0;}
  100%{opacity: 1;}
}
.cookie-modal {
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 8px 42px 0 rgba(21, 57, 89, 0.14);
  padding: 36px 30px 26px 30px;
  max-width: 480px;
  width: calc(100vw - 32px);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.3rem;
  margin-bottom: 7px;
  color: #153959;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 8px;
}
.cookie-category input[type="checkbox"] {
  accent-color: #7cc5ed;
  width: 22px;
  height: 22px;
}
.cookie-category label {
  font-size: 1.04rem;
  color: #153959;
  user-select: none;
}
.cookie-modal__actions {
  margin-top: 18px;
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}
.cookie-modal__close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: #7cc5ed;
  color: #153959;
  border: none;
  font-size: 1.6rem;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  transition: background 0.17s, color 0.17s;
}
.cookie-modal__close:hover {
  background: #153959;
  color: #fff;
}

/* ==== PROPORTIONS AND SPACING ==== */
@media (max-width: 1100px) {
  .container {
    max-width: 92vw;
  }
  .footer-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
}
@media (max-width: 900px) {
  .feature-grid, .course-grid, .card-container, .content-grid, .testimonials-slider {
    flex-direction: column;
    gap: 20px;
  }
  .footer-main {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .hero {
    padding: 38px 0 24px 0;
  }
  .hero h1 {
    font-size: 1.45rem;
    margin-bottom: 10px;
  }
  h2 {
    font-size: 1.2rem;
    margin-bottom: 12px;
  }
  h3 {
    font-size: 1rem;
    margin-bottom: 6px;
  }
  .container {
    padding: 0 8px;
  }
  .section {
    padding: 26px 8px;
    margin-bottom: 30px;
  }
  .feature-grid > div, .course-block, .card {
    min-width: 150px;
    padding: 17px 10px;
  }
  .content-wrapper, .card-container, .feature-grid, .content-grid, .testimonials-slider {
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column !important;
    gap: 14px;
    align-items: flex-start;
  }
  .testimonial-card {
    padding: 16px;
    max-width: 97vw;
  }
  header .container {
    height: 66px;
    flex-direction: row;
    gap: 14px;
    padding: 0 5px;
  }
}
@media (max-width: 560px) {
  .section {
    margin-bottom: 18px;
    padding: 14px 2px;
  }
  .footer-main > a img {
    height: 36px;
  }
  .footer-main {
    padding: 20px 0 10px 0;
  }
  .cookie-banner {
    flex-direction: column;
    padding: 15px 8px;
    gap: 10px;
  }
}

/* ==== ANIMATIONS & INTERACTIVE MICRO-EFFECTS ==== */
.card, .feature-grid > div, .course-block, .testimonial-card, .confirmation {
  transition: box-shadow 0.26s, transform 0.26s, background 0.15s;
}
.card:focus-within, .feature-grid > div:focus-within, .course-block:focus-within {
  box-shadow: 0 7px 32px rgba(21,57,89,0.21);
  background: #eaf3f9;
}
.cta-button:focus {
  outline: 2px solid #7CC5ED;
  outline-offset: 3px;
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid #7CC5ED;
  outline-offset: 2px;
}

/* ==== Z-INDEX BARRIERS ==== */
header { z-index: 1090; }
.mobile-menu { z-index: 2990; }
.cookie-banner { z-index: 3001; }
.cookie-modal-overlay { z-index: 4100; }

/* ==== CLASSIC, ELEGANT TOUCHES ==== */
body, p, li, ul, ol, a {
  font-family: 'Roboto', Georgia, 'Times New Roman', Times, serif;
  letter-spacing: 0.005em;
}
h1, h2, h3, h4 {
  font-family: 'Montserrat', Georgia, 'Times New Roman', Times, serif;
}
.card, .feature-grid > div, .course-block, .testimonial-card, .confirmation, .text-section {
  border-radius: 14px;
  box-shadow: 0 1.5px 10px 0 rgba(21, 57, 89, 0.10);
}

::-webkit-scrollbar {
  width: 10px;
  background: #e8eef6;
}
::-webkit-scrollbar-thumb {
  background: #bec7d4;
  border-radius: 8px;
}

/* ==== UTILITY ==== */
.visually-hidden {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ENFORCE MINIMUM GAP FOR CARDS/SECTIONS */
.section + .section {
  margin-top: 12px;
}
.card + .card, .feature-grid > div + div, .testimonial-card + .testimonial-card {
  margin-top: 20px;
}

/* ========== END ========== */
