/* 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, 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;
  outline: 0;
  vertical-align: baseline;
  background: transparent;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #FAFCFF;
  color: #223657;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
*, *::before, *::after {
  box-sizing: inherit;
}
a {
  text-decoration: none;
  color: #4293ba;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #1C3D5A;
  outline: none;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
img {
  max-width: 100%;
  display: block;
  vertical-align: middle;
}

/* VARIABLES (fallbacks, no custom properties) */
:root {
  /* Brand Pastel Palette */
  /* Main: #1C3D5A (Deep Blue), #68A5CC (Pastel Blue), #F6F8FB (Lightest), accents below: */
  /* Pastel Accents */
  /* #FFDDEE (pastel pink), #D3E6F9 (pastel blue), #EEE9FB (lavender), #FFF7ED (peach), #E7F8EF (mint), #FEF9D8 (lemon), #D5F3FB (sky) */
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #1C3D5A;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
  font-weight: 700;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.3rem; margin-bottom: 12px; }
h4 { font-size: 1.1rem; margin-bottom: 10px; font-weight: 600; }
p, li { font-size: 1rem; color: #314A6D; }
strong { color: #35507A; font-weight: 700; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .footer-columns { flex-direction: column; gap: 28px; }
}

/* LAYOUT & SPACING */
.container {
  width: 100%;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (max-width: 991px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #F6F8FB;
  border-radius: 24px;
  box-shadow: 0 3px 18px 0 rgba(145, 186, 213, 0.10);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(127,182,214,0.10);
  padding: 28px 22px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 8px 28px rgba(127,182,214,0.18);
  transform: translateY(-2px) scale(1.012);
}
.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: #1e2238;
  border-radius: 18px;
  padding: 24px 24px 20px 24px;
  box-shadow: 0 1px 12px rgba(255, 198, 240, 0.11),  0 2px 12px rgba(121, 191, 236, 0.10);
  margin-bottom: 24px;
  min-width: 220px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card strong { color: #68A5CC; font-weight: 600; font-size: 1.1rem; }

.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(121,191,236,0.13);
  transform: translateY(-2px) scale(1.01);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fef6fa;
  border-radius: 15px;
  padding: 18px 16px;
}

@media (max-width: 768px) {
  .section { padding: 28px 6px; margin-bottom: 36px; }
  .content-grid, .card-container, .footer-columns {
    flex-direction: column;
    gap: 28px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .testimonial-card { padding: 20px 12px; }
}

/* HEADER NAVIGATION */
header {
  background: linear-gradient(90deg,#F6F8FB 60%, #EEE9FB 100%);
  box-shadow: 0 1px 12px #d3e6f9dd;
  position: relative;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 15px;
  padding-bottom: 15px;
  gap: 18px;
}
.logo img {
  height: 48px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  color: #35507A;
  font-size: 1rem;
  padding: 8px 10px;
  border-radius: 9px;
  transition: background 0.15s, color 0.15s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #D3E6F9;
  color: #1C3D5A;
}
.cta-btn {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  background: linear-gradient(90deg, #D3E6F9 0%, #FFDDEE 100%);
  color: #1C3D5A;
  padding: 11px 32px;
  font-size: 1.1rem;
  border: none;
  border-radius: 32px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 8px #e7f8ef33;
  transition: box-shadow 0.14s, background 0.12s, color 0.14s, transform 0.11s;
  margin-left: 12px;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #E7F8EF;
  color: #314A6D;
  box-shadow: 0 7px 21px #d5f3fb66;
  transform: translateY(-1px) scale(1.04);
}


.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #1C3D5A;
  cursor: pointer;
  padding: 5px 13px 5px 5px;
  margin-left: 9px;
  border-radius: 9px;
  transition: background 0.15s;
  z-index: 102;
}
.mobile-menu-toggle:focus {
  background: #D3E6F9;
}

/* ----- MOBILE NAVIGATION ----- */
@media (max-width: 1020px) {
  .main-nav { display: none; }
  .cta-btn { display: none; }
  .mobile-menu-toggle { display: block; }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(120deg, #f6f8fb 85%, #d3e6f9 100%);
  box-shadow: 0 0 24px rgba(28,61,90,0.10);
  z-index: 2000;
  transform: translateX(-100%);
  transition: transform 0.29s cubic-bezier(.32,1.63,.36,.99);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 26px 20px 18px 20px;
  gap: 34px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.1rem;
  background: none;
  border: none;
  color: #1C3D5A;
  cursor: pointer;
  padding: 7px 10px;
  border-radius: 7px;
  transition: background 0.12s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #E7F8EF;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.2rem;
  color: #314A6D;
  font-weight: 600;
  padding: 11px 6px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFDDEE;
  color: #1C3D5A;
}

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

/* HERO SECTION */
.hero {
  background: linear-gradient(120deg, #FFF7ED 30%, #D3E6F9 100%);
  min-height: 350px;
  display: flex;
  align-items: center;
  padding: 46px 0 24px 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero h1 {
  color: #1C3D5A;
  margin-bottom: 8px;
}
.hero p {
  font-size: 1.1rem;
  margin-bottom: 22px;
  color: #4D6786;
}
@media (max-width: 700px) {
  .hero { padding: 22px 0 10px 0; min-height: unset; }
  .hero h1 { font-size: 1.6rem; }
}

/* FEATURE GRID - PASTEL DESIGN */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
}
.feature-grid li {
  background: #E7F8EF;
  border-radius: 17px;
  box-shadow: 0 2px 12px #68a5cc22;
  padding: 28px 26px 24px 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 210px;
  flex: 1 1 240px;
  gap: 12px;
  transition: box-shadow 0.15s, transform 0.16s;
}
.feature-grid li img {
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
}
.feature-grid li h3 {
  font-size: 1.15rem;
}
.feature-grid li:hover {
  box-shadow: 0 4px 24px #4293ba22;
  transform: translateY(-2px) scale(1.017);
}

@media (max-width: 900px) {
  .feature-grid { gap: 14px; }
  .feature-grid li { padding: 18px 12px; min-width: unset; }
}
@media (max-width: 700px) {
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid li {
    width: 100%; flex: 1 1 80vw;
    align-items: stretch;
  }
}

/* SERVICE LIST (ANGEBOTE) */
.service-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
  padding-left: 0;
  list-style: none;
}
.service-list li {
  background: #F6F8FB;
  border-radius: 14px;
  box-shadow: 0 1px 8px #d3e6f959;
  padding: 22px 18px;
  transition: box-shadow 0.13s, transform 0.16s;
}
.service-list li:hover {
  box-shadow: 0 6px 18px #d3e6f9bb;
  transform: translateY(-1px) scale(1.013);
}

/* CTA SECTIONS */
.cta {
  background: linear-gradient(90deg, #EEE9FB 85%, #F6F8FB 100%);
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -1px 24px #ffddee22;
  margin-bottom: 0;
  padding: 44px 0;
  text-align: center;
}
.cta h2 { color: #245784; font-size: 2.1rem; }
.cta p { color: #35507A; font-size: 1.12rem; margin-bottom: 20px; }

/* TABLE STYLE (only on online-lernplattform) */
table {
  width: 100%;
  border-collapse: collapse;
  background: #FFF;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 2px 14px #d3e6f961;
}
table th, table td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid #EEE9FB;
}
table th {
  background: #E7F8EF;
  color: #1C3D5A;
  font-weight: 600;
}
table tr:last-child td {
  border-bottom: none;
}
@media (max-width: 600px) {
  table, thead, tbody, tr, th, td {
    display: block;
  }
  table tr { margin-bottom: 16px; }
  table td, table th {
    padding-left: 35%;
    position: relative;
    font-size: 0.96rem;
  }
  table td:before, table th:before {
    content: attr(data-label);
    position: absolute;
    left: 8px; top: 8px;
    font-weight: 600;
  }
}

/* TEXT SECTIONS */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #FFF;
  border-radius: 15px;
  box-shadow: 0 1px 8px #ffddee4a;
  padding: 27px 22px;
  margin-bottom: 8px;
}
@media (max-width: 700px) {
  .text-section { padding: 13px 8px; }
}
.text-section ul, .about-section ul {
  margin-bottom: 0;
}

/* FOOTER */
footer {
  background: linear-gradient(120deg, #D3E6F9 70%, #FFF7ED 100%);
  padding: 40px 0 12px 0;
}
.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
}
footer img {
  max-width: 68px;
  margin-bottom: 12px;
}
footer h4 {
  color: #223657;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
footer a {
  color: #35507A;
  font-size: 0.98rem;
  transition: color 0.16s, text-decoration 0.12s;
  text-decoration: underline transparent;
}
footer a:hover { color: #1C3D5A; text-decoration: underline #FFDDEE 2px; }
footer nav { display: flex; flex-direction: column; gap: 7px; }
footer p { color: #314A6D; font-size: 0.98rem; }
footer .footer-columns > div { min-width: 170px; }
footer .footer-columns > div:last-child { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
footer .footer-columns img[alt="Facebook"], footer .footer-columns img[alt="Instagram"] {
  width: 30px; height: 30px; background: #FFF7ED; border-radius: 8px; padding: 5px; box-shadow: 0 1px 8px #ffddee2c; margin-right: 5px; transition: box-shadow 0.12s, background 0.13s; }
footer .footer-columns a:hover img[alt*="book"],
footer .footer-columns a:hover img[alt*="insta"]  {
  background: #FFDDEE; box-shadow: 0 2px 16px #d3e6f9cc; }

@media (max-width: 900px) {
  .footer-columns {
    flex-direction: column;
    gap: 28px;
    align-items: stretch;
  }
  footer img { margin-bottom: 6px; }
}

/* BUTTONS */
button, .cta-btn, input[type="submit"] {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  outline: none;
  cursor: pointer;
}
button:focus,.cta-btn:focus,input[type="submit"]:focus {
  box-shadow: 0 0 0 3px #D3E6F9;
}

/* MICRO-INTERACTIONS, HOVER/EFFECTS */
.card, .feature-grid li, .testimonial-card, .service-list li {
  transition: box-shadow 0.18s, transform 0.17s;
}

/* --------- COOKIE CONSENT BANNER --------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  background: #fff6fc;
  border-top: 2px solid #FFDDEE;
  box-shadow: 0 -2px 24px #fad9e6c7;
  z-index: 9000;
  padding: 22px 18px 18px 18px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 26px;
  font-size: 1rem;
  transition: transform 0.20s;
}
.cookie-banner.hidden { transform: translateY(100%); }
.cookie-banner__text {
  color: #314A6D;
}
.cookie-banner__actions {
  display: flex;
  gap: 14px;
}
.cookie-banner__btn, .cookie-banner__settings {
  border-radius: 20px;
  border: none;
  padding: 9px 28px;
  font-size: 1rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  margin-left: 2px;
  font-weight: 600;
  transition: background 0.13s, color 0.13s, box-shadow 0.10s, transform 0.12s;
  cursor: pointer;
}
.cookie-banner__btn.accept {
  background: #E7F8EF;
  color: #1C3D5A;
  box-shadow: 0 1px 5px #d3e6f96e;
}
.cookie-banner__btn.accept:hover, .cookie-banner__btn.accept:focus {
  background: #D5F3FB;
  color: #245784;
  box-shadow: 0 4px 18px #d3e6f9aa; transform: translateY(-1px) scale(1.03);
}
.cookie-banner__btn.reject {
  background: #FFDDEE;
  color: #792574;
}
.cookie-banner__btn.reject:hover, .cookie-banner__btn.reject:focus {
  background: #FFE9F2; color: #af2b95; transform: translateY(-1px) scale(1.03);
}
.cookie-banner__settings {
  background: #EEE9FB;
  color: #35507A;
}
.cookie-banner__settings:hover, .cookie-banner__settings:focus {
  background: #D3E6F9; color: #245784; transform: translateY(-1px) scale(1.03);
}
@media (max-width: 650px) {
  .cookie-banner { flex-direction: column; align-items: stretch; gap: 14px; font-size: 0.98rem; padding: 15px 6px 13px 6px; }
  .cookie-banner__actions { justify-content: flex-start; gap: 9px; }
}

/* COOKIE SETTINGS MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(30,36,61,0.26);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  transition: opacity 0.2s;
}
.cookie-modal {
  background: #FFF;
  border-radius: 22px;
  box-shadow: 0 4px 44px #ffddee85, 0 2px 18px #D3E6F9;
  max-width: 430px;
  width: 94vw;
  padding: 34px 24px 27px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  animation: pop-in 0.23s cubic-bezier(.54,1.64,.52,.88);
}
@keyframes pop-in {
  0% { opacity: 0; transform: scale(0.86); }
  100% { opacity: 1; transform: scale(1); }
}
.cookie-modal__title {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.18rem;
  color: #1C3D5A;
  font-weight: 600;
  margin-bottom: 1px;
}
.cookie-modal__controls {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-modal__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0 6px 0;
  border-bottom:1px solid #f6c6ec35;
}
.cookie-switch {
  position: relative;
  width: 38px;
  height: 22px;
  display: inline-block;
}
.cookie-switch input[type="checkbox"] {
  display: none;
}
.cookie-switch-label {
  width: 100%; height: 100%;
  background: #D3E6F9;
  border-radius: 18px;
  position: absolute; top: 0; left: 0;
  cursor: pointer;
  transition: background 0.17s;
}
.cookie-switch input:checked + .cookie-switch-label {
  background: #68A5CC;
}
.cookie-switch-handle {
  position: absolute;
  left: 3px; top: 3px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px #d3e6f955;
  transition: left 0.18s cubic-bezier(.32,1.63,.36,.99);
}
.cookie-switch input:checked + .cookie-switch-label .cookie-switch-handle {
  left: 19px;
}
.cookie-modal__actions { display: flex; gap: 14px; justify-content: flex-end; }
.cookie-modal__close {
  position: absolute; right: 15px; top: 13px;
  background: none; border: none;
  color: #1C3D5A; font-size: 1.7rem;
  cursor: pointer;
  transition: background 0.11s;
  border-radius: 7px;
  padding: 4px 9px;
}
.cookie-modal__close:hover, .cookie-modal__close:focus { background: #FFDDEE; }

/* ========== FORM ELEMENTS ========== */
input, textarea, select {
  border-radius: 9px;
  border: 1px solid #EEE9FB;
  padding: 10px 12px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  transition: border 0.15s, box-shadow 0.14s;
  margin-bottom: 15px;
  background: #F6F8FB;
  color: #223657;
}
input:focus, textarea:focus, select:focus {
  border-color: #68A5CC;
  box-shadow: 0 1px 6px #68a5cc44;
}
label { font-weight: 500; color: #314A6D; }

/* ========== MISC ========== */
::-webkit-input-placeholder { color: #CCCCCC; }
::-moz-placeholder { color: #CCCCCC; }
:-ms-input-placeholder { color: #CCCCCC; }
::placeholder { color: #CCCCCC; }

hr {
  border: none;
  border-top: 1px solid #D3E6F9;
  margin: 20px 0;
}

/* ----------- UTILITIES ----------- */
.mt-32 { margin-top: 32px; }
.mb-32 { margin-bottom: 32px; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-20 { gap: 20px; }

/* = COMMENT: Spacing between cards & sections guaranteed via gap/margin patterns = */

/* ========== PRINTING ========== */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  section, .container, .card, .service-list li, .feature-grid li, .testimonial-card { box-shadow: none !important; background: #fff !important; }
}
