/* 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,
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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.7;
  background: #f8f7f2;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img {
  max-width: 100%;
  height: auto;
}
ul, ol {
  padding-left: 1.3em;
  margin-bottom: 16px;
}
a {
  color: #233B63;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #e06e00;
}

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

body {
  font-family: 'Open Sans', Georgia, serif;
  font-size: 16px;
  color: #233B63;
  background-color: #f8f7f2;
}
h1 {
  font-family: 'Montserrat', Georgia, serif;
  font-size: 2.5rem;
  color: #233B63;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
h2 {
  font-family: 'Montserrat', Georgia, serif;
  font-size: 2rem;
  color: #233B63;
  font-weight: 600;
  margin-bottom: 16px;
}
h3 {
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1.45rem;
  font-weight: 600;
  color: #233B63;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 600;
  color: #233B63;
}
p, ul, ol, span, li {
  font-size: 1rem;
  line-height: 1.7;
  color: #2c365d;
}
strong {
  font-weight: 700;
}

/* GENERIC UTILITY */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 28px 0 rgba(36,40,60,0.04), 0 1.5px 4px 0 rgba(36,40,60,0.10);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(36,40,60,0.06);
  padding: 28px 24px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 6px 22px 0 rgba(36,40,60,0.13);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.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: 24px 26px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 6px 0 rgba(36,40,60,0.09);
  margin-bottom: 24px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.testimonial-card:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 12px 36px 0 rgba(36,40,60,0.13);
}
.star-rating {
  font-weight: bold;
  color: #e06e00;
  letter-spacing: 0.11em;
  margin-top: 3px;
}

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

/* NAVIGATION */
.navigation {
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  box-shadow: 0 1px 8px 0 rgba(36,40,60,0.03);
  position: relative;
  z-index: 1030;
  padding: 0 28px;
  font-family: 'Montserrat', Georgia, serif;
}
.navigation > a img {
  height: 40px;
}
.navigation ul {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.navigation ul li a {
  font-size: 1rem;
  color: #233B63;
  font-weight: 500;
  padding: 6px 4px;
  border-bottom: 2px solid transparent;
  transition: border 0.2s, color 0.2s;
}
.navigation ul li a:hover, .navigation ul li a:focus, .navigation ul li a.active {
  color: #e06e00;
  border-bottom: 2px solid #e06e00;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #233B63;
  color: #fff;
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 24px;
  padding: 12px 34px;
  margin-left: 28px;
  letter-spacing: 1px;
  border: none;
  box-shadow: 0 1px 4px 0 rgba(36,40,60,0.07);
  transition: background 0.2s, transform 0.2s, color 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.cta-btn:hover, .cta-btn:focus {
  background: #e06e00;
  color: #fff !important;
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 5px 24px 0 rgba(36,40,60,0.20);
}
.cta-btn.secondary {
  background: #fff;
  color: #233B63;
  border: 1.5px solid #e06e00;
  box-shadow: none;
}
.cta-btn.secondary:hover, .cta-btn.secondary:focus {
  background: #e06e00;
  color: #fff;
}
.cookie-banner span, footer span {
  color: white;
}

/* MOBILE NAV TOGGLER */
.mobile-menu-toggle {
  display: none;
  background: #fff;
  color: #233B63;
  border: none;
  font-size: 2.2rem;
  padding: 8px 14px;
  margin-left: 10px;
  border-radius: 8px;
  box-shadow: 0 1px 6px 0 rgba(36,40,60,0.12);
  cursor: pointer;
  position: absolute;
  right: 18px;
  top: 19px;
  z-index: 1202;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #e06e00;
  color: #fff;
}

/* MOBILE MENU */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 320px;
  max-width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 12px 0 54px rgba(36,40,60,0.23);
  transform: translateX(-110%);
  opacity: 0;
  pointer-events: none;
  z-index: 2020;
  transition: transform 0.32s cubic-bezier(0.77,0.2,0.05,1),opacity 0.2s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  background: #fff;
  border: none;
  color: #233B63;
  font-size: 2rem;
  padding: 14px 20px 8px 14px;
  margin: 7px 12px 0 0;
  border-radius: 10px;
  cursor: pointer;
  transition: color 0.18s, background 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #e06e00;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 30px 0 0 0;
  gap: 16px;
  padding: 0 26px;
}
.mobile-nav a {
  font-size: 1.14rem;
  font-family: 'Montserrat', Georgia, serif;
  color: #233B63;
  padding: 14px 0;
  border-bottom: 1px solid #dad7c6;
  transition: color 0.19s, background 0.13s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:active,
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #f5efe3;
  color: #e06e00;
}

/* HERO SECTION */
.hero {
  background: #f8f7f2;
  padding-top: 40px;
  padding-bottom: 48px;
}
.hero .container {
  max-width: 960px;
}
.hero h1,
.hero p {
  color: #233B63;
}
.hero .cta-btn {
  margin-top: 20px;
}

/* FEATURES SECTION */
.features {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 28px 0 rgba(36,40,60,0.04), 0 1.5px 4px 0 rgba(36,40,60,0.10);
}
.features ul {
  display: flex;
  flex-flow: row wrap;
  gap: 24px;
  list-style: none;
  margin-top: 14px;
}
.features ul li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  min-width: 190px;
  background: #f8f7f2;
  padding: 20px 18px;
  border-radius: 11px;
  box-shadow: 0 1px 4px rgba(36,40,60,0.03);
  font-size: 1em;
}
.features ul li img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  margin-right: 7px;
}

/* SERVICES, COURSES, ABOUT, CONTACT SECTIONS */
.services ul, .courses ul, .about ul, .team ul, .features ul {
  margin-top: 14px;
}
.services ul li, .courses ul li, .about ul li, .team ul li {
  margin-bottom: 18px;
}
.services ul .price, .courses ul .price, .programs ul .price {
  color: #e06e00;
  font-weight: 700;
  font-size: 1.05em;
  margin-left: 15px;
}
.services table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 1rem;
  background: #faf9f6;
  border-radius: 12px;
  overflow: hidden;
}
.services table th, .services table td {
  padding: 13px 18px;
  border-bottom: 1px solid #e5e4df;
  text-align: left;
}
.services table tr:last-child td {
  border-bottom: none;
}
.services table th {
  background: #DAD7C6;
  color: #233B63;
  font-weight: 700;
}

/* TESTIMONIALS SECTION */
.testimonials {
  background: #f8f7f2;
  padding: 40px 0 50px 0;
}
.testimonials .content-wrapper {
  flex-direction: column;
  gap: 22px;
}
.testimonial-card p {
  color: #2c365d;
  font-size: 1.18em;
  font-style: italic;
  margin-bottom: 6px;
}
.testimonial-card span {
  font-size: 1em;
  color: #233B63;
}

/* CTA SECTION */
.cta {
  margin-bottom: 50px;
  padding: 38px 17px 42px 17px;
  background: #233B63;
  color: #fff;
  border-radius: 14px;
  text-align: center;
}
.cta h2, .cta h1 {
  color: #fff;
}
.cta p {
  color: #f7f3eb;
}
.cta .cta-btn {
  margin-top: 21px;
  background: #e06e00;
  color: #fff;
  box-shadow: 0 4px 10px #1d2742a5;
}
.cta .cta-btn:hover {
  background: #233B63;
  color: #fff;
}

/* FOOTER */
footer {
  background: #233B63;
  color: #fff;
  padding: 40px 16px 24px 16px;
}
footer .footer-nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.08rem;
}
footer .footer-nav a {
  color: #f7f5ed;
  font-family: 'Montserrat', Georgia, serif;
  text-decoration: underline;
  transition: color 0.2s;
}
footer .footer-nav a:hover {
  color: #e06e00;
}
footer .footer-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-size: 0.97rem;
  color: #f7f5ed;
  margin-top: 8px;
}
footer .footer-info a {
  color: #e06e00;
  font-weight: 500;
  text-decoration: none;
}
footer .footer-info a:hover {
  text-decoration: underline;
}

/* LEGAL / DATENSCHUTZ ETC. PAGES */
.legal {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 6px rgba(36,40,60,0.07);
  margin-top: 30px;
  margin-bottom: 60px;
  padding: 42px 21px 30px 21px;
}

/* ----------------------------- LISTS & TABLES ----------------------------- */
ul, ol {
  margin-bottom: 20px;
}
ul li {
  margin-bottom: 8px;
}
th, td {
  font-size: 1em;
}

/* BUTTONS & LINK STYLES */
button, .cta-btn, .cookie-btn {
  cursor: pointer;
  outline: none;
  border: none;
  font-family: 'Montserrat', Georgia, serif;
}

/* COOKIE CONSENT BANNER & MODAL */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  background: #233B63;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 18px;
  z-index: 3000;
  box-shadow: 0 -2px 22px 0 rgba(36,40,60,0.18);
  font-size: 1.08rem;
  transition: transform 0.32s cubic-bezier(0.78,0.57,0.12,1.01),opacity 0.16s;
  gap: 28px;
}
.cookie-banner.hide {
  transform: translateY(140%);
  opacity: 0;
}
.cookie-banner .cookie-btn {
  min-width: 130px;
  margin-left: 16px;
  margin-right: 2px;
  padding: 9px 22px;
  border-radius: 15px;
  font-weight: 600;
  font-size: 1.05em;
  transition: background 0.18s, color 0.18s;
  margin-top: 0;
  border: none;
}
.cookie-btn.accept {
  background: #e06e00;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #f9841a;
}
.cookie-btn.reject {
  background: #faf9f6;
  color: #233B63;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #c0bcb1;
}
.cookie-btn.settings {
  background: #fff;
  color: #e06e00;
  border: 1.5px solid #e06e00;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #e06e00;
  color: #fff;
}

.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right:0; bottom:0;
  width: 100vw;
  height: 100vh;
  background: rgba(36,40,60,0.38);
  z-index: 5000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transition: opacity 0.22s;
}
.cookie-modal-overlay.hide {
  display: none;
}
.cookie-modal {
  background: #fff;
  color: #2c365d;
  bottom: 0;
  width: 98vw;
  max-width: 400px;
  border-radius: 18px 18px 0 0;
  padding: 32px 26px 26px 26px;
  margin-bottom: 18px;
  box-shadow: 0 4px 24px rgba(36,40,60,0.13);
  animation: slideUp 0.32s cubic-bezier(0.70,0.35,0.29,1.03);
  display: flex;
  flex-direction: column;
  gap: 19px;
  position: relative;
}
@keyframes slideUp {
  from { transform: translateY(160%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  color: #233B63;
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1.4em;
  letter-spacing: 0.1px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 0.99em;
  margin-bottom: 8px;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #e06e00;
  width: 18px;
  height: 18px;
  border-radius: 4px;
}
.cookie-modal .cookie-btn-row {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 11px;
}
.cookie-modal .cookie-btn {
  width: 100%;
  padding: 11px 0;
  font-size: 1.02rem;
}
.cookie-modal .cookie-category {
  margin-bottom: 8px;
  color: #233B63;
}
.cookie-modal-close {
  position: absolute;
  right: 18px; top: 14px;
  background: #faf8f4;
  color: #233B63;
  border: none;
  font-size: 1.3em;
  line-height: 1.2;
  padding: 6px 10px;
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.20s, color 0.2s;
  z-index: 5011;
}
.cookie-modal-close:hover {
  background: #e06e00;
  color: #fff;
}

/* ----------------------------- MEDIA QUERIES ----------------------------- */
@media (max-width: 1100px) {
  .container { max-width: 92vw; }
  .features ul {gap: 18px;}
}
@media (max-width: 950px) {
  .navigation { padding: 0 12px; }
  .container { max-width: 98vw; padding-left:12px; padding-right:12px; }
  .footer-info { font-size: 0.93em; }
}
@media (max-width: 900px) {
  .features ul, .card-container, .content-grid { gap: 13px; }
  .section { padding: 28px 9px; margin-bottom: 38px; }
}
@media (max-width: 800px) {
  .content-wrapper, .content-grid, .section, .features ul, .card-container, .footer-info {
    flex-direction: column !important;
    gap: 16px !important;
  }
  .features ul { flex-direction: column !important; }
  .services table th, .services table td { font-size: 0.98em; }
  .hero { padding-top: 24px; padding-bottom: 30px; }
}
@media (max-width: 768px) {
  .navigation ul { display: none; }
  .cta-btn { display: none; }
  .mobile-menu-toggle { display: block; }
  .features ul, .content-wrapper, .card-container, .footer-info, .content-grid, .testimonial-card, .text-image-section {
    flex-direction: column !important;
    gap: 16px !important;
    align-items: flex-start !important;
  }
  .section, .features {
    padding: 18px 4vw;
    margin-bottom: 30px;
  }
  .hero h1 { font-size: 1.9rem; }
  h2 { font-size: 1.41rem; }
  .testimonials { padding: 18px 0 26px 0; }
  .cta { padding: 19px 6px 24px 6px; margin-bottom: 18px; border-radius: 10px; }
}
@media (max-width: 530px) {
  .mobile-menu {
    width: 100vw;
    max-width: 100vw;
    border-radius: 0 0 16px 0;
  }
  .cookie-modal {
    max-width: 97vw;
    padding: 17px 7px 17px 7px;
    border-radius: 15px 15px 0 0;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    font-size: 1em;
    padding: 16px 6px 12px 8px;
  }
  .footer-nav { font-size: 0.95em; gap: 12px; }
  .footer-info { font-size: 0.89em; }
}

/* ----------- TRANSITIONS, INTERACTIONS, FOCUS OUTLINES -----------*/
button, .cta-btn, .cookie-btn, .mobile-menu-close, .mobile-menu-toggle, .cookie-modal-close {
  outline: none;
}
button:focus, .cta-btn:focus, .cookie-btn:focus, .mobile-menu-close:focus, .mobile-menu-toggle:focus, .cookie-modal-close:focus {
  box-shadow: 0 0 0 2px #e06e00;
  outline: none;
}
.testimonial-card, .card {
  transition: transform 0.13s, box-shadow 0.13s;
}
.testimonial-card:active, .card:active {
  transform: translateY(2px) scale(0.98);
}

/* ----------- Z-INDEX MANAGEMENT -----------*/
header, .navigation { z-index: 1050; }
.mobile-menu { z-index: 2020; }
.cookie-banner { z-index: 3000; }
.cookie-modal-overlay { z-index: 5000; }

/* ----------- VISUAL HIERARCHY & CLASSIC STYLE -----------*/
.section, .features, .card, .testimonial-card, .cta, .legal {
  box-shadow: 0 2px 12px 0 rgba(36,40,60,0.06);
}
.section, .features {
  border: 1px solid #dad7c6;
}
.card, .testimonial-card {
  border: 1px solid #dad7c6;
}
.about, .team {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 8px rgba(36,40,60,0.07);
  margin-top: 16px;
  margin-bottom: 42px;
}

/***** END STYLE.CSS *****/
