/* ==== CSS RESET & NORMALIZE ==== */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  font-family: inherit;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #f7f9fa;
  color: #172845;
  min-height: 100vh;
  line-height: 1.55;
  position: relative;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}
footer p {
  color: white;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 0.5em;
}
a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}
a:focus,
a:hover {
  color: var(--accent);
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #124078;
  line-height: 1.2;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.4rem; margin-bottom: 14px; }
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
p, ul, ol, dl {
  margin-bottom: 16px;
  color: #2C3A4D;
}
blockquote {
  font-style: italic;
  background: #f0f6ff;
  border-left: 5px solid #FF5F00;
  padding: 16px 20px;
  margin-bottom: 1em;
  color: #124078;
  border-radius: 8px;
}
cite {
  display: block;
  margin-top: 6px;
  font-size: 0.95em;
  color: #8e9bb8;
  font-style: normal;
}

:root {
  --primary: #124078;
  --secondary: #FAD2A7;
  --accent: #FF5F00;
  --bg-light: #ffffff;
  --bg-gradient-1: linear-gradient(94deg, #FAD2A7 0%, #FFFFFF 100%);
  --bg-gradient-2: linear-gradient(110deg, #124078 35%, #FAD2A7 100%);
  --shadow: 0 4px 18px rgba(18,64,120,0.07);
  --radius: 14px;
  --transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
}


/*************** LAYOUT ****************/
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--bg-gradient-1);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/*************** HEADER & NAV ****************/
header {
  background: linear-gradient(94deg, #124078 0%, #FF5F00 96%);
  color: #fff;
  padding: 0;
  box-shadow: 0 2px 16px 0 rgba(18,64,120,0.06);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
}
.logo img {
  height: 42px;
  width: auto;
  display: block;
}
nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #fff;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 20px;
  transition: var(--transition);
}
nav a.btn-primary {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 12px rgba(255,95,0,0.10);
  border: none;
}
nav a:not(.btn-primary):hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}
nav a.btn-primary:hover,
nav a.btn-primary:focus {
  background: #C43D00;
  color: #fff;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  font-size: 2rem;
  color: #fff;
  border: none;
  cursor: pointer;
  margin-left: 16px;
  padding: 5px 10px;
  transition: color 0.2s;
  z-index: 101;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: var(--accent);
}
@media (max-width: 950px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/*************** MOBILE NAV MENU ****************/
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(120deg, #124078 60%, #FAD2A7 160%);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  z-index: 9999;
  padding-top: 24px;
  transform: translateX(-100%);
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: transparent;
  color: #fff;
  font-size: 2.2rem;
  border: none;
  align-self: flex-end;
  margin: 0 22px 20px 0;
  cursor: pointer;
  z-index: 10001;
  padding: 3px 12px;
  transition: color 0.16s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  align-items: flex-start;
  padding: 40px 30px 0 32px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.mobile-nav a {
  font-size: 1.15rem;
  color: #fff;
  padding: 14px 10px 14px 0;
  font-weight: 600;
  border-radius: 0;
  border: none;
  width: 100%;
  text-align: left;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--accent);
  background: rgba(255,255,255,0.07);
}

/************* HERO BANNER ****************/
.hero {
  width: 100%;
  background: linear-gradient(97deg,#FAD2A7 0%,#fff 70%);
  padding: 54px 0 44px 0;
  position: relative;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.hero h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.3rem;
  margin-bottom: 16px;
  background: linear-gradient(90deg, #124078 40%, #FF5F00 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  letter-spacing: -1px;
}
.hero p {
  font-size: 1.13rem;
  color: #3d4451;
}
.hero .btn-primary {
  margin-top: 28px;
}

/*************** FLEXBOX PATTERNS **************/
.features {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.features .content-wrapper.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 16px;
}
.feature-box {
  flex: 1 1 240px;
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  min-width: 200px;
  max-width: 310px;
  transition: transform 0.18s, box-shadow 0.18s;
}
.feature-box img {
  width: 42px;
  height: 42px;
}
.feature-box:hover {
  box-shadow: 0 6px 28px rgba(18,64,120,0.08);
  transform: translateY(-5px) scale(1.03);
}
.feature-box h3 {
  color: #124078;
  font-size: 1.2rem;
}

/**** Alignment & Spacing classes (MANDATORY) ****/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  margin-bottom: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  padding: 30px 22px;
  min-width: 220px;
}
.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;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #fff;
  margin-bottom: 20px;
  flex: 1 1 280px;
  min-width: 220px;
  max-width: 430px;
  flex-direction: column;
  transition: box-shadow 0.18s, transform 0.13s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 32px rgba(255,95,0,0.11);
  transform: scale(1.024);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
/********* ABOUT US / CORE VALUES ***************/
.about-section, .core-values {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 60px;
  padding: 40px 20px;
}
.core-values blockquote {
  margin: 24px 0 0 0;
  background: #ffe8d7;
  color: #124078;
  border-left: 5px solid #FF5F00;
}

/***************** CARD + CTA *******************/
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cta .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.cta .btn-primary {
  font-size: 1.3rem;
  padding: 16px 40px;
}

/*********** BUTTONS *******************/
.btn-primary, .cookie-banner .btn-primary {
  background-color: var(--accent);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  border: none;
  border-radius: 24px;
  padding: 13px 32px;
  box-shadow: 0 3px 14px rgba(255,95,0,0.10);
  cursor: pointer;
  transition: var(--transition), background 0.1s, color 0.1s;
  margin-top: 10px;
  margin-bottom: 10px;
  letter-spacing: 0.3px;
  display: inline-block;
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: #C43D00;
  color: #fff;
  box-shadow: 0 6px 18px rgba(255,95,0,0.18);
  outline: none;
  text-decoration: none;
  transform: translateY(-1.5px) scale(1.04);
}
.btn-secondary {
  background: #fff8f1;
  color: var(--accent);
  font-weight: 600;
  border-radius: 24px;
  border: 1.5px solid var(--accent);
  padding: 13px 28px;
  cursor: pointer;
  transition: var(--transition);
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--accent);
  color: #fff;
}

/********** SERVICES OVERVIEW (index) ***************/
.services-overview .service-preview {
  background: #fff8f1;
  border-radius: var(--radius);
  padding: 22px 18px;
  margin-bottom: 18px;
  box-shadow: 0 1px 8px rgba(255,95,0,0.06);
}
.services-overview .btn-primary {
  margin-top: 14px;
}

/************ TESTIMONIALS **********************/
.testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.testimonials h2 {
  color: var(--primary);
  margin-bottom: 20px;
}
.testimonial-card {
  background: #fff;
  color: #124078;
}
.testimonial-card blockquote {
  background: none;
  border: none;
  color: #124078;
  padding-left: 0;
  margin-bottom: 8px;
  font-size: 1.08rem;
}
.star-rating {
  display: flex;
  gap: 4px;
  margin-top: 6px;
}
.star-rating img {
  width: 20px;
  height: 20px;
}

/************* CONTACT INFO FOOTER *************/
footer {
  width: 100%;
  background: linear-gradient(97deg, #124078 0%, #FAD2A7 120%);
  color: #fff;
  padding: 35px 0 10px 0;
  border-top-left-radius: 36px;
  border-top-right-radius: 36px;
  margin-top: 80px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
footer .branding {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.15rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
footer .branding img {
  height: 38px;
  width: auto;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 1rem;
}
.footer-links a {
  color: #fff;
  font-weight: 500;
  text-decoration: underline;
  transition: color 0.18s;
}
.footer-links a:hover {
  color: #FF5F00;
}
.contact-snippet {
  font-size: 1rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
}
.social-media-links {
  display: flex;
  gap: 18px;
}
.social-media-links img {
  width: 30px; height: 30px;
  filter: drop-shadow(0 1px 6px rgba(18,64,120,0.14));
  transition: filter 0.18s;
}
.social-media-links a:hover img {
  filter: brightness(1.3) drop-shadow(0 2px 10px #FF5F00);
}

/***************** CONTACT TEASER & SNIPPET **************/
.contact-teaser .quick-contact-info, .contact-teaser .contact-snippet {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 15px;
  font-size: 1.09rem;
}
.contact-teaser .quick-contact-info img, .contact-teaser .contact-snippet img {
  width: 21px;
  height: 21px;
  margin-right: 4px;
}

/********** CONTACT PAGE *************/
.contact-info .contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 14px;
}
.locations-map {
  display: flex;
  align-items: center;
  gap: 10px;
}
.locations-map img {
  width: 21px;
  height: 21px;
}

/*************** COOKIE BANNER AND MODAL *************/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #ffffff;
  color: #124078;
  box-shadow: 0 -2px 22px 0 rgba(18,64,120,0.15);
  z-index: 19999;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 22px 24px 22px 30px;
}
.cookie-banner p {
  margin-bottom: 0;
  color: #124078;
  font-size: 1.08rem;
  flex: 1 1 0%;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-banner .btn-primary {
  background: var(--accent);
  color: #fff;
  font-size: 1rem;
  padding: 10px 20px;
  border-radius: 24px;
  box-shadow: none;
}
.cookie-banner .btn-primary:hover,
.cookie-banner .btn-primary:focus {
  background: #C43D00;
}
.cookie-banner .btn-secondary {
  background: #fff8f1;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  font-size: 1rem;
  padding: 10px 22px;
  border-radius: 24px;
  font-weight: 600;
}
.cookie-banner .btn-secondary:hover,
.cookie-banner .btn-secondary:focus {
  background: var(--accent);
  color: #fff;
}

/* Cookie Settings Modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(18,64,120, .12);
  z-index: 20001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 7px 22px rgba(18,64,120,.12);
  width: 98vw; max-width: 390px;
  padding: 33px 30px 26px 30px;
  position: relative;
  animation: fade-in-modal 0.43s cubic-bezier(.48,.23,.52,1);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@keyframes fade-in-modal {
  0% { transform: translateY(24px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.24rem;
  color: #124078;
  margin-bottom: 9px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1.07rem;
  color: #2C3A4D;
}
.cookie-category label {
  font-weight: 500;
  cursor: pointer;
}
.cookie-category input[type=checkbox] {
  accent-color: #FF5F00;
  width: 22px;
  height: 22px;
  vertical-align: middle;
}
.cookie-category input[disabled] {
  opacity: 0.68;
}
.cookie-modal-close {
  position: absolute;
  top: 13px; right: 16px;
  background: transparent;
  color: #124078;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
}
.cookie-modal-actions {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
}

/********** FAQ ***********/
.faq dl,
.legal ul,
.legal ol {
  margin-bottom: 16px;
}
.faq dt {
  font-weight: bold;
  margin-bottom: 3px;
  color: #124078;
}
.faq dd {
  margin-bottom: 12px;
  color: #35577a;
}

/********* COURSE LIST ********/
.course-list ul {
  padding-left: 1.3em;
}

/*********** MEDIA QUERIES ************/
@media (max-width: 1150px) {
  .features .content-wrapper.grid, .testimonials .content-wrapper, .card-container, .content-grid {
    flex-wrap: wrap;
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .features .content-wrapper.grid, .card-container, .content-grid, .testimonials .content-wrapper {
    flex-direction: column;
    flex-wrap: wrap;
    gap: 16px;
  }
  .feature-box, .testimonial-card, .card {
    max-width: 100%;
  }
}
@media (max-width: 750px) {
  html { font-size: 15px; }
  h1 { font-size:2rem; }
  .container {
    padding: 0 10px;
  }
  .section,
  .about-section,
  .core-values {
    margin-bottom: 40px;
    padding: 28px 10px;
  }
  .features, .hero {
    padding-left:0; padding-right:0;
  }
}
@media (max-width: 650px) {
  html { font-size: 14px; }
  header .container {
    flex-direction: row;
    gap: 10px;
    min-height: 60px;
  }
  .logo img { height: 37px; }
  .footer-links, .contact-snippet {
    font-size: 0.97rem;
    gap: 12px;
  }
  .section, .about-section, .core-values {
    border-radius: 0;
    box-shadow: none;
  }
  footer {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    margin-top: 40px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 10px 18px 12px;
  }
}
@media (max-width: 520px) {
  html { font-size: 13px; }
  .section, .about-section, .core-values {
    padding: 15px 3px 22px 3px;
  }
  .cookie-modal {
    padding: 20px 6px 16px 6px;
    max-width: 98vw;
  }
  .footer-links, .contact-snippet {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/************* RESPONSIVE FLEX DIRECTION ********/ 
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/************* UTILITY *************/
.mt-0 { margin-top: 0; }
.mt-24 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }

/*************** ANIMATIONS / MICRO-INTERACTIONS *************/
.btn-primary, .btn-secondary, .feature-box, .testimonial-card, .card, .mobile-menu, .cookie-banner, .cookie-modal {
  transition: var(--transition);
}

/*************** ACCESSIBILITY: FOCUS STATES *************/
:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 2px;
  z-index: 3;
}

/************** ICON ROWS IN GESCHENKBOXEN *************/
.icons-row {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 12px;
}
.icons-row img {
  width: 37px;
  height: 37px;
}

/***** THANK YOU SECTION *****/
.thank-you .content-wrapper {
  align-items: center;
  text-align: center;
}
.thank-you ul {
  margin: 17px 0 18px 0;
  padding: 0 0 0 1.4em;
  text-align: left;
}

/******** LEGAL PAGE SECTION ******/
.legal {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 60px;
  padding: 40px 18px;
}
.legal h1, .legal h2 { color: var(--primary); }
.legal ul, .legal ol {
  margin-left: 17px;
  margin-bottom: 20px;
}

/********* MISC *************/
::-webkit-input-placeholder { color: #8e9bb8; }
::-moz-placeholder { color: #8e9bb8; }
:-ms-input-placeholder { color: #8e9bb8; }
::placeholder { color: #8e9bb8; }

/* END */
