/* -------------------------------
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, menu, 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 {
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #F7F7FF;
  color: #233347;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: #3D6686;
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover, a:focus {
  color: #0B3C49;
}
ul, ol {
  list-style: none;
  padding-left: 0;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
  cursor: pointer;
  padding: 0;
}

/* -------------------------------
PASTEL COLOR PALETTE (SOFT)
------------------------------- */
:root {
  --primary: #0B3C49;
  --secondary: #88BDBC;
  --accent: #F7F7FF;
  --pastel-blue: #D1EAF0;
  --pastel-mint: #B9E5DC;
  --pastel-pink: #F2D5D6;
  --pastel-peach: #FFE2CE;
  --pastel-yellow: #FCF6BD;
  --dark-text: #233347;
  --shadow-soft: 0 3px 16px 0 rgba(80, 130, 189, 0.10);
  --radius-xl: 24px;
  --radius-lg: 16px;
  --radius-md: 10px;
  --focus: #93C7C4;
}

/* -------------------------------
TYPOGRAPHY
------------------------------- */
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.08rem;
  margin-bottom: 10px;
}
p, ul li, ol li {
  color: var(--dark-text);
  font-size: 1rem;
  margin-bottom: 12px;
}
.subtitle {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  color: #507D8D;
  margin-bottom: 16px;
}
strong {
  color: #336680;
  font-weight: 700;
}

/* Font Imports */
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

/* -------------------------------
LAYOUT CONTAINERS
------------------------------- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  padding: 0;
}

/* ---------- Section Spacing ----------- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

@media (max-width: 768px) {
  section {
    padding: 30px 8px;
    margin-bottom: 32px;
  }
}

/* -------------------------------
HEADER & NAVIGATION
------------------------------- */
header {
  background: linear-gradient(90deg, #B9E5DC 0%, #D1EAF0 100%);
  box-shadow: var(--shadow-soft);
  border-bottom-left-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-lg);
  padding: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  flex-wrap: wrap;
}
header img {
  height: 52px;
  margin-right: 24px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 16px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: var(--primary);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  transition: background 0.2s, color 0.2s;
}
header nav a:hover, header nav a:focus {
  background: var(--pastel-blue);
  color: var(--secondary);
}
.cta-btn {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 12px 32px;
  background: linear-gradient(90deg, #88BDBC 0%, #FCF6BD 100%);
  color: var(--primary);
  font-size: 1.03rem;
  font-weight: 700;
  border-radius: var(--radius-xl);
  box-shadow: 0 1px 8px 0 rgba(80,130,189,0.08);
  transition: background 0.23s, box-shadow 0.23s, color 0.2s, transform 0.10s;
  margin-left: 24px;
  outline: none;
  border: none;
  cursor: pointer;
  text-align: center;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #B9E5DC 0%, #F2D5D6 100%);
  color: #336680;
  box-shadow: 0 0 0 3px var(--focus);
  transform: translateY(-2px) scale(1.04);
}
/* Responsive Header */
.mobile-menu-toggle {
  display: none;
  background: none;
  font-size: 2rem;
  color: var(--primary);
  border-radius: var(--radius-md);
  border: none;
  margin-left: 24px;
  transition: background 0.20s;
  padding: 7px 12px;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--pastel-blue);
}
@media (max-width: 992px) {
  header .container {
    flex-wrap: wrap;
    padding-top: 8px;
    padding-bottom: 8px;
    height: auto;
    min-height: 74px;
  }
  header nav {
    display: none;
  }
  .cta-btn {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: inline-block;
    margin-left: 12px;
  }
}

/* -------------------------------
MOBILE MENU
------------------------------- */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, #F2D5D6 0%, #B9E5DC 100%);
  z-index: 1005;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(0.48,0.04,0.52,0.98);
  box-shadow: 0 3px 26px 0 rgba(80,130,189,0.13);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
  pointer-events: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: relative;
  margin: 18px 20px 4px auto;
  font-size: 2.1rem;
  background: none;
  color: var(--primary);
  border-radius: 100px;
  transition: background 0.15s;
  z-index: 2;
  padding: 6px 12px;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--pastel-mint);
  color: #336680;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 32px 0 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  color: var(--primary);
  background: none;
  padding: 14px 8px 14px 0;
  border-radius: var(--radius-md);
  font-weight: 600;
  margin-bottom: 4px;
  transition: background 0.18s, color 0.18s;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--pastel-blue);
  color: var(--secondary);
}

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

/* ---------------
MAIN & SECTIONS
---------------- */
main {
  margin-bottom: 80px;
}

/* Utility for subtle dreamy background for hero */
section:first-of-type {
  background: linear-gradient(120deg, #F2D5D6 0%, #B9E5DC 100%);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  margin-top: 24px;
}

/* Content Cards/Layout Classes (mandatory rules) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 24px 20px 24px;
  transition: box-shadow 0.19s, transform 0.13s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 32px 0 rgba(80,130,189,0.14);
  transform: translateY(-3px) scale(1.01);
}
.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 {
  background: #FCF6BD;
  color: var(--dark-text);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  margin-bottom: 20px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  font-size: 1.05rem;
  transition: box-shadow 0.18s;
  position: relative;
  max-width: 670px;
}
.testimonial-card:hover::before {
  opacity: 1;
}
.testimonial-name {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #336680;
  margin-left: 16px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  margin-bottom: 20px;
  padding: 20px;
}

/* Feature-Grid and Service List (icon lists) */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid li {
  flex: 1 1 210px;
  min-width: 210px;
  max-width: 320px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 22px 18px 18px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.12s;
}
.feature-grid li:hover {
  box-shadow: 0 8px 30px 0 rgba(80,130,189,0.13);
  transform: translateY(-2px) scale(1.012);
}
.feature-grid img {
  width: 40px;
  height: 40px;
}
.service-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}
.service-list li {
  background: #B9E5DC33;
  border-radius: var(--radius-md);
  padding: 18px 18px 18px 22px;
  margin-bottom: 10px;
  box-shadow: 0 1px 8px 0 rgba(80,130,189,0.07);
  transition: background 0.16s;
}
.service-list li:hover {
  background: #D1EAF0;
}

@media (max-width: 992px) {
  .feature-grid {
    gap: 18px;
  }
  .feature-grid li {
    margin-bottom: 16px;
    min-width: 160px;
  }
}
@media (max-width: 768px) {
  .feature-grid {
    flex-direction: column;
    gap: 14px;
  }
  .feature-grid li {
    min-width: 0;
    width: 100%;
    max-width: none;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 6px;
    padding: 20px 12px;
    max-width: 100%;
  }
  .service-list {
    gap: 12px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
  }
}

/* Tips list and FAQ (Lerntipps) */
.tips-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 14px;
}
.tips-list li {
  background: #F2D5D6;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: var(--dark-text);
  font-size: 1rem;
  margin-bottom: 8px;
  box-shadow: 0 1px 4px 0 rgba(80,130,189,0.06);
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-item {
  background: #B9E5DC55;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: 0 1px 6px 0 rgba(80,130,189,0.04);
}
.faq-item h3 {
  font-size: 1.03rem;
  margin-bottom: 6px;
  color: #0B3C49;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}

.methoden-liste {
  margin-top: 18px;
}
.methoden-liste ul {
  margin-top: 8px;
  gap: 7px;
}
.methoden-liste li {
  margin-bottom: 4px;
}

/* Success Stories Block */
.success-stories {
  background: #FCF6BD;
  border-radius: var(--radius-md);
  padding: 16px 16px;
  box-shadow: 0 1px 8px 0 rgba(140,180,189,0.07);
  margin-top: 16px;
  color: #233347;
  font-size: 1rem;
}
.success-stories strong {
  color: #0B3C49;
  margin-bottom: 6px;
  display: inline-block;
}

.kurse-bewertungen {
  background: #B9E5DC44;
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-top: 18px;
  font-size: 0.99rem;
}
.kurse-bewertungen h3 {
  margin-bottom: 5px;
}

/* Team Section (About) */
.team {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.team-bio {
  background: #FFF;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  flex: 1 1 210px;
  min-width: 200px;
  max-width: 300px;
  padding: 20px 16px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  transition: box-shadow 0.15s;
}
.team-bio:hover {
  box-shadow: 0 6px 24px 0 rgba(80,130,189,0.13);
}
@media (max-width: 768px) {
  .team {
    flex-direction: column;
    gap: 10px;
  }
  .team-bio {
    min-width: 0;
    max-width: none;
    width: 100%;
  }
}

/* Contact Info (Kontakt page) */
.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.text-section {
  flex: 2 1 210px;
  min-width: 190px;
  font-size: 1rem;
}
.address-block {
  flex: 1 1 110px;
  min-width: 140px;
  background: #FCF6BD;
  border-radius: var(--radius-md);
  padding: 14px 14px 12px 14px;
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: flex-start;
}
.address-block img {
  width: 28px;
  height: 28px;
  margin-top: 5px;
}
@media (max-width: 768px) {
  .contact-info {
    flex-direction: column;
    gap: 14px;
  }
}

/* Thank You Page */
.thankyou-message {
  background: #D1EAF066;
  border-radius: var(--radius-md);
  padding: 16px 16px;
  margin-bottom: 18px;
}
.next-steps ul {
  margin-top: 10px;
  gap: 6px;
}
.next-steps li {
  margin-bottom: 6px;
}

/* Legal Section (impressum/data/gdpr) */
.legal-section {
  background: #B9E5DC44;
  border-radius: var(--radius-md);
  padding: 18px 16px 16px 16px;
  color: #233347;
  font-size: 1rem;
  margin-bottom: 18px;
  box-shadow: 0 1px 8px 0 rgba(80,130,189,0.04);
}

/* -------------------------------
FOOTER
------------------------------- */
footer {
  background: linear-gradient(90deg, #D1EAF0 25%, #FCF6BD 80%);
  padding: 32px 0 16px;
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
  box-shadow: 0 -2px 12px 0 rgba(200,200,255,0.11);
  color: #233347;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-main, .footer-links, .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.footer-main nav {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 6px;
}
.footer-main img {
  width: 44px;
  height: 44px;
}
.footer-links a {
  color: #507D8D;
  font-size: 0.98rem;
  transition: color 0.18s;
}
.footer-links a:hover, .footer-links a:focus {
  color: #0B3C49;
}
.footer-contact strong { color: #0B3C49; }
.footer-contact p {
  font-size: 0.95rem;
  color: #233347;
  margin-top: 3px;
}
@media (max-width: 992px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .footer-main nav {
    flex-direction: column;
    gap: 6px;
  }
}

/* -------------------------------
COOKIE CONSENT BANNER
------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: linear-gradient(90deg, #F2D5D6 0%, #B9E5DC 100%);
  color: #233347;
  box-shadow: 0 -4px 24px 0 rgba(140,180,189,0.11);
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  padding: 20px 24px 18px 24px;
  animation: fadeInBanner 0.8s;
}
.cookie-banner__msg {
  flex: 2 1 220px;
  font-size: 1rem;
  color: #233347;
}
.cookie-banner__buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 24px;
  border-radius: var(--radius-md);
  font-size: 1rem;
  background: #B9E5DC;
  color: #0B3C49;
  box-shadow: 0 1px 8px 0 rgba(140,180,189,0.09);
  margin-right: 0;
  border: none;
  font-weight: 600;
  transition: background 0.16s, color 0.16s, box-shadow 0.16s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #F2D5D6;
  color: #336680;
}
.cookie-btn.accept {
  background: #B9E5DC;
  color: #0B3C49;
}
.cookie-btn.reject {
  background: #F2D5D6;
  color: #A76567;
}
.cookie-btn.settings {
  background: #FCF6BD;
  color: #0B3C49;
  border: 1px solid #B9E5DC;
}
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    padding: 14px 10px 10px 10px;
    font-size: 0.95rem;
  }
  .cookie-banner__buttons {
    gap: 10px;
  }
}
@keyframes fadeInBanner {
  from { opacity: 0; transform: translateY(72px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  position: fixed;
  left: 0; right: 0;
  top: 0; bottom: 0;
  z-index: 3000;
  background: rgba(11,60,73,0.11);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  transition: opacity 0.3s;
  opacity: 0;
  pointer-events: none;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal__content {
  background: linear-gradient(120deg, #F2D5D6 0%, #B9E5DC 100%);
  color: #233347;
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 34px 0 rgba(80,130,189,0.16);
  padding: 32px 30px 24px 30px;
  min-width: 320px;
  max-width: 98vw;
  width: 380px;
  max-height: 94vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: popInModal 0.32s cubic-bezier(0.8,0.17,0.2,1.15);
  font-size: 1.05rem;
  position: relative;
}
@keyframes popInModal {
  from { opacity: 0; transform: scale(0.95) translateY(32px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal__close {
  position: absolute;
  top: 16px;
  right: 18px;
  color: #0B3C49;
  font-size: 2rem;
  background: none;
  border: none;
  border-radius: 100px;
  padding: 4px 10px;
  transition: background 0.15s;
}
.cookie-modal__close:focus, .cookie-modal__close:hover {
  background: #B9E5DC;
}
.cookie-modal__title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  background: #FFF;
  border-radius: var(--radius-md);
  padding: 12px 12px 8px 14px;
  box-shadow: 0 1px 6px 0 rgba(140,180,189,0.05);
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  justify-content: space-between;
}
.cookie-category .label {
  font-weight: 600;
  color: #0B3C49;
}
.cookie-category .toggle {
  margin-left: 12px;
  display: inline-block;
}
.cookie-category.essential {
  background: #B9E5DC55;
  color: #233347;
}
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 22px;
}
.toggle-switch input { display: none; }
.toggle-slider {
  position: absolute;
  cursor: pointer;
  background: #D1EAF0;
  border-radius: 50px;
  top: 0; left: 0; right: 0; bottom: 0;
  transition: background 0.17s;
}
.toggle-switch input:checked + .toggle-slider {
  background: #B9E5DC;
}
.toggle-slider:before {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  left: 2px; top: 2px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px 0 rgba(80,130,189,0.06);
  transition: transform 0.18s;
}
.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(20px);
}

@media (max-width: 480px) {
  .cookie-modal__content {
    min-width: 0;
    width: 96vw;
    padding: 18px 8px 16px 10px;
  }
}

/* -------------------------------
ANIMATIONS & INTERACTIONS
------------------------------- */
a, button, .cta-btn, .cookie-btn, .mobile-nav a {
  transition: color 0.18s, background 0.16s, box-shadow 0.13s, transform 0.12s;
}

/* -------------------------------
SCROLLBAR (Soft Pastel Look)
------------------------------- */
::-webkit-scrollbar {
  width: 10px;
  background: #F7F7FF;
}
::-webkit-scrollbar-thumb {
  background: #B9E5DC;
  border-radius: 40px;
}

/* -------------------------------
FOCUS STYLES
------------------------------- */
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

/* Hide scroll while mobile menu open (class for body) */
.body--no-scroll {
  overflow: hidden !important;
}

/* -------------------------------
UTILITY CLASSES
------------------------------- */
.mb-0 { margin-bottom: 0 !important; }
.mb-20 { margin-bottom: 20px !important; }
.mt-20 { margin-top: 20px !important; }
.flex { display: flex !important; }
.flex-col { flex-direction: column !important; }
.align-center { align-items: center !important; }
.gap-20 { gap: 20px !important; }

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