/* --- 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, 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #FDF6EC;
  color: #253047;
}
input, button, textarea, select {
  font: inherit;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}

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

html {
  font-size: 16px;
}

body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #FDF6EC;
  color: #274472;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #274472;
  margin-bottom: 16px;
  line-height: 1.14;
  font-weight: 700;
}

h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.5rem; margin-bottom: 14px; }
h4 { font-size: 1.125rem; margin-bottom: 10px; }

p, ul, ol, li {
  font-size: 1rem;
  color: #253047;
  margin-bottom: 12px;
}
strong {
  color: #274472;
  font-weight: 600;
}
.subheadline {
  font-size: 1.25rem;
  color: #4266a0;
  margin-bottom: 20px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 400;
}

.container {
  width: 100%;
  max-width: 1216px;
  margin: 0 auto;
  padding: 0 20px;
}

.content-wrapper {
  width: 100%;
}

/* --- HEADER --- */
header {
  background: #FFFFFF;
  border-bottom: 1px solid #e5eaf3;
  box-shadow: 0 2px 8px rgba(39,68,114,0.05);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  position: relative;
  gap: 32px;
}
.logo img {
  height: 48px;
  width: auto;
}
nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 8px 12px;
  border-radius: 6px;
  color: #274472;
  transition: background 0.2s, color 0.2s;
}
nav a:hover,
nav a:focus {
  background: #dde5f4;
  color: #E37027;
}
nav .btn-primary {
  background: #274472;
  color: #fff;
  font-weight: 600;
  border-radius: 24px;
  padding: 10px 22px;
  transition: background 0.2s, box-shadow 0.2s;
  margin-left: 12px;
  box-shadow: 0 2px 8px 0 rgba(39, 68, 114, 0.06);
}
nav .btn-primary:hover,
nav .btn-primary:focus {
  background: #E37027;
  color: #fff;
}

.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #274472;
  cursor: pointer;
  line-height: 1;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #dde5f4;
}

@media (max-width: 1100px) {
  header .container { gap: 12px; }
  nav { gap: 12px; }
}

@media (max-width: 900px) {
  nav { gap: 8px; }
  header .container { gap: 6px; }
  nav a, nav .btn-primary { font-size: 0.97rem; padding: 6px 10px; }
}


/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  z-index: 3200;
  background: #fff;
  box-shadow: 0 0 30px 0 rgba(39,68,114,0.15);
  transform: translateX(-100vw);
  transition: transform 0.4s cubic-bezier(0.7,0,0.3,1);
  display: flex;
  flex-direction: column;
  padding-top: 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #274472;
  margin: 8px 18px 0 0;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus { background: #dde5f4; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 32px 0 0 38px;
}
.mobile-nav a {
  font-size: 1.19rem;
  color: #274472;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  padding: 11px 0;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #E37027;
  background: #e6eefa;
}

@media (max-width: 990px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 991px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}


/* --- HERO SECTION --- */
.hero {
  background: linear-gradient(to bottom right, #e8ebe9 0%, #FDF6EC 100%);
  padding: 60px 0 40px 0;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  max-width: 690px;
}
.hero .btn-primary {
  margin-top: 20px;
}

/* --- CTAs + Buttons --- */
.btn-primary {
  display: inline-block;
  background: #274472;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 28px;
  padding: 12px 32px;
  font-size: 1.1rem;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s, transform 0.15s cubic-bezier(.4,1.7,.7,1.15);
  cursor: pointer;
  box-shadow: 0 3px 10px 0 rgba(39, 68, 114, 0.09);
  margin-top: 8px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #E37027;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 24px 0 rgba(39, 68, 114, 0.13);
  outline: none;
}
.btn-secondary {
  background: #E37027;
  color: #fff;
  border-radius: 28px;
  padding: 12px 32px;
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  border: none;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
  margin-top: 8px;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #274472;
  color: #fff;
}
.btn-tertiary {
  border: 2px solid #274472;
  background: #fff;
  color: #274472;
  border-radius: 28px;
  padding: 10px 28px;
  font-size: 1.05rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
}
.btn-tertiary:hover, .btn-tertiary:focus {
  background: #e6eefa;
  color: #E37027;
  border-color: #E37027;
}

/* --- SECTION DEFAULT SPACING --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

@media (max-width: 900px) {
  .section { padding: 36px 8px; margin-bottom: 38px; }
}

/* --- FLEX CONTAINERS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #FFF;
  border-radius: 14px;
  box-shadow: 0 2px 14px 0 rgba(30,42,67,0.10);
  position: relative;
  padding: 30px 26px;
  min-width: 270px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.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: center;
  gap: 20px;
  padding: 20px;
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 3px 13px 0 rgba(39,68,114,0.13);
  margin-bottom: 20px;
  min-width: 260px;
  max-width: 420px;
  flex: 1 1 260px;
  color: #253047;
  font-size: 1.07rem;
}
.testimonial-card p {
  color: #253047;
  font-size: 1.1rem;
  /* high contrast */
}
.testimonial-card span {
  color: #274472;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- LISTS & FEATURES --- */
.features {
  background: #e6eefa;
  border-radius: 14px;
  margin: 38px 0 28px 0;
  padding: 32px 0;
}
.features .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.features ul, .feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 40px;
  justify-content: flex-start;
  margin-top: 12px;
}
.features li, .feature-list li {
  display: flex;
  align-items: center;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1.07rem;
  font-weight: 500;
  color: #274472;
  gap: 12px;
  background: #fff;
  border-radius: 9px;
  box-shadow: 0 2px 7px 0 rgba(39,68,114,0.08);
  padding: 12px 18px;
}
.features li img, .feature-list li img {
  height: 32px;
  width: 32px;
}

@media (max-width: 700px) {
  .features ul, .feature-list { flex-direction: column; gap: 16px; }
  .features { padding: 24px 0; }
}

/* --- ABOUT / TEAM --- */
.team, .about {
  background: #FFFFFF;
  border-radius: 16px;
  margin-bottom: 36px;
  box-shadow: 0 2px 10px 0 rgba(39,68,114,0.08);
}
.team .content-wrapper, .about .content-wrapper {
  padding: 20px 10px 0 10px;
}

/* --- SERVICES / KURSE (KURSÜBERSICHT) --- */
.services {
  background: #fff;
  border-radius: 16px;
  margin-bottom: 42px;
  box-shadow: 0 2px 10px 0 rgba(39,68,114,0.07);
}
.services .course-overview, .course-list-grid {
  margin-bottom: 24px;
}
.course-list-grid ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 22px 0;
  padding-left: 0;
}
.languages-offered, .levels-explained {
  margin-bottom: 18px;
}

/* --- PRICING TABLES --- */
.pricing-tables table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
  background: #f9fafb;
  margin-bottom: 18px;
}
.pricing-tables th, .pricing-tables td {
  border-bottom: 1px solid #dee4ec;
  padding: 18px 14px;
  font-size: 1.04rem;
  text-align: left;
}
.pricing-tables th {
  background: #e6eefa;
  color: #274472;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.09rem;
}
.pricing-tables tr:last-child td {
  border-bottom: none;
}
.transparency-note {
  background: #E37027;
  color: #fff;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 7px;
  margin-top: 22px;
  margin-bottom: 12px;
}
.discounts-promotions ul {
  margin: 16px 0 0 18px;
  font-size: 1.03rem;
  color: #274472;
}

/* --- CONTACT DETAILS --- */
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  margin: 26px 0 22px 0;
}
.contact-details div {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 200px;
  background: #e6eefa;
  padding: 8px 18px;
  border-radius: 9px;
  font-size: 1rem;
  color: #253047;
  box-shadow: 0 2px 7px 0 rgba(39,68,114,0.05);
}
.contact-details img {
  width: 28px;
  height: 28px;
}
.contact-details a {
  color: #E37027;
  font-weight: 600;
  transition: text-decoration 0.2s, color 0.2s;
}
.contact-details a:hover,
.contact-details a:focus {
  text-decoration: underline;
  color: #274472;
}

/* --- TESTIMONIALS --- */
.testimonials {
  background: #e6eefa;
  border-radius: 16px;
  margin-bottom: 40px;
  box-shadow: 0 3px 13px 0 rgba(39,68,114,0.07);
}
.testimonials .content-wrapper {
  padding: 12px 4px 0 4px;
}
.testimonials h2, .testimonials h1 {
  text-align: left;
  color: #274472;
}
.alumni-quotes {
  font-size: 1.07rem;
  color: #4266a0;
  margin-top: 16px;
}

/* --- LEGAL / POLICY --- */
.legal {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px 0 rgba(39,68,114,0.05);
  margin-bottom: 36px;
  padding: 30px 12px 8px 12px;
}
.legal h1, .legal h2 { color: #274472; }
.legal ul {
  margin: 0 0 16px 24px;
  list-style: disc inside;
  color: #253047;
}

/* --- CTA SECTION --- */
.cta {
  background: #e6eefa;
  border-radius: 18px;
  padding: 24px 12px 30px 12px;
  margin-bottom: 54px;
  box-shadow: 0 2px 10px 0 rgba(39,68,114,0.06);
  text-align: center;
}
.cta .btn-primary {
  margin-top: 10px;
  font-size: 1.17rem;
}

/* --- CONFIRMATION --- */
.confirmation {
  background: #fff;
  border-radius: 14px;
  margin: 56px 0;
  box-shadow: 0 2px 10px 0 rgba(39,68,114,0.06);
  padding: 27px 20px 31px 20px;
  text-align: center;
}
.next-steps ul {
  margin: 18px 0 0 18px;
  list-style: disc inside;
  font-size: 1.03rem;
  color: #274472;
  text-align: left;
}

/* --- FOOTER --- */
footer {
  background: #274472;
  color: #fff;
  padding: 40px 0 16px 0;
  margin-top: 48px;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
footer nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
footer nav a {
  color: #e6eefa;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 8px 12px;
  border-radius: 5px;
  transition: background 0.2s, color 0.2s;
}
footer nav a:hover, footer nav a:focus {
  color: #E37027;
  background: #fff;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  margin-top: 12px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.footer-brand img {
  width: 32px;
  height: 32px;
}

/* --- Cookie Consent Banner --- */
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #274472;
  color: #fff;
  padding: 24px 18px;
  z-index: 9000;
  box-shadow: 0 -2px 16px 0 rgba(23,33,56,0.14);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  justify-content: center;
  font-size: 1rem;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  transition: transform 0.4s, opacity 0.3s;
}
.cookie-consent-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100px);
}
.cookie-consent-banner .cookie-buttons {
  display: flex;
  gap: 13px;
}
.cookie-consent-banner button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 9px 22px;
  border-radius: 18px;
  border: none;
  cursor: pointer;
  margin: 0;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  font-weight: 600;
}
.cookie-consent-banner .accept-all {
  background: #E37027;
  color: #fff;
}
.cookie-consent-banner .accept-all:hover, .cookie-consent-banner .accept-all:focus {
  background: #C15107;
}
.cookie-consent-banner .reject-all {
  background: #fff;
  color: #274472;
  border: 2px solid #274472;
}
.cookie-consent-banner .reject-all:hover, .cookie-consent-banner .reject-all:focus {
  background: #dde5f4;
  color: #274472;
}
.cookie-consent-banner .cookie-settings-btn {
  background: #fff;
  color: #E37027;
  border: 2px solid #E37027;
}
.cookie-consent-banner .cookie-settings-btn:hover, .cookie-consent-banner .cookie-settings-btn:focus {
  background: #fff4ed;
  color: #274472;
  border-color: #274472;
}

/* --- Cookie Modal --- */
.cookie-modal {
  position: fixed;
  bottom: 50%;
  left: 50%;
  transform: translate(-50%,60%) scale(0.97);
  opacity: 0;
  z-index: 9999;
  background: #fff;
  color: #274472;
  min-width: 310px;
  width: 94vw;
  max-width: 420px;
  padding: 28px 24px 21px 24px;
  border-radius: 16px;
  box-shadow: 0 8px 28px 2px rgba(23,33,56,0.13);
  transition: transform 0.35s cubic-bezier(0.7,0,0.3,1), opacity 0.23s ease;
  pointer-events: none;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1.07rem;
}
.cookie-modal.open {
  opacity: 1;
  transform: translate(-50%,0) scale(1);
  pointer-events: auto;
}
.cookie-modal h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: 18px;
  font-size: 1.25rem;
}
.cookie-modal .category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  background: #f4f6fa;
  padding: 14px 12px;
  border-radius: 9px;
}
.cookie-modal .category.essential {
  color: #aaa;
}
.cookie-modal .category label {
  font-size: 1rem;
  font-weight: 500;
  pointer-events: none;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
.cookie-modal .switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
}
.cookie-modal .switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-modal .slider {
  position: absolute;
  cursor: pointer;
  background: #e6eefa;
  border-radius: 22px;
  top: 0; left: 0; right: 0; bottom: 0;
  transition: 0.2s;
}
.cookie-modal .slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: #274472;
  border-radius: 50%;
  transition: 0.2s;
}
.cookie-modal .switch input:checked + .slider {
  background-color: #E37027;
}
.cookie-modal .switch input:checked + .slider:before {
  transform: translateX(16px);
  background: #fff;
}
.cookie-modal .switch input:disabled + .slider {
  background: #eee;
}
.cookie-modal .switch input:disabled + .slider:before {
  background: #d2d3db;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 16px;
  justify-content: flex-end;
}
.cookie-modal .btn-primary, .cookie-modal .btn-tertiary {
  padding: 8px 20px;
  font-size: 1rem;
  border-radius: 16px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 20px;
  right: 18px;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: #274472;
}

/* --- MEDIA QUERIES (Responsive) --- */
@media (max-width: 1025px) {
  .container { max-width: 98vw; }
}
@media (max-width: 900px) {
  header .container { height: 62px; }
  footer .container, .content-wrapper { padding: 0 6px; }
  .hero { padding: 36px 0 28px 0; }
  .section, .features, .services, .legal, .about, .team { padding: 20px 0; }
}
@media (max-width: 768px) {
  .text-image-section, .content-grid, .card-container, .testimonial-slider, .features ul, .feature-list, .contact-details {
    flex-direction: column !important;
    gap: 16px !important;
    align-items: flex-start !important;
  }
  .testimonial-slider, .card-container { gap: 13px !important; }
  .card, .testimonial-card { width: 100%; min-width: 0 !important; }
  .container { max-width: 99vw; padding: 0 2vw; }
}
@media (max-width: 570px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.15rem; }
  .cta .btn-primary, .btn-primary, .btn-secondary, .btn-tertiary { font-size: 1rem; padding: 10px 16px; }
  .confirm, .certificate { padding: 18px 2px; }
  .section, .features, .services, .legal, .about, .team, .confirmation {
    padding: 16px 0 !important;
    margin-bottom: 24px !important;
  }
  footer { padding: 22px 0 8px 0; }
  .footer-brand img { width: 28px; height: 28px; }
}

/* --- Microinteractions & Transitions --- */
a, button, .btn-primary, .btn-secondary, .btn-tertiary {
  transition: background 0.18s, color 0.18s, box-shadow 0.16s, border 0.18s, transform 0.13s cubic-bezier(.4,1.7,.7,1.15);
  outline: none;
}
.card, .testimonial-card, .features li, .feature-list li, .contact-details div {
  transition: box-shadow 0.19s, transform 0.13s cubic-bezier(.4,1.7,.7,1.18);
}
.card:hover, .testimonial-card:hover, .features li:hover, .feature-list li:hover, .contact-details div:hover {
  box-shadow: 0 8px 24px 0 rgba(39,68,114,0.16);
  transform: translateY(-3px) scale(1.018);
}

/* --- Accessibility & Focus Styles --- */
a:focus, button:focus, .btn-primary:focus, .btn-secondary:focus, .btn-tertiary:focus {
  outline: 2px solid #E37027;
  outline-offset: 3px;
}

/* --- Utility Classes --- */
.mb-20 { margin-bottom: 20px; }
.mt-16 { margin-top: 16px; }
.text-center { text-align: center; }

/* --- End of Corporate Professional UI CSS --- */
