/* 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,
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;
}
html { box-sizing: border-box; font-size: 16px; scroll-behavior: smooth; }
*, *:before, *:after { box-sizing: inherit; }
body { line-height: 1.5; background: #F6F9FB; color: #223046; min-height: 100vh; }
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; height: auto; }
button, input, select, textarea { font: inherit; }

/* FONTS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500|Roboto:400,500,700&display=swap');
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  background: linear-gradient(120deg, #F6F9FB 0%, #EAF1FB 100%);
  color: #223046;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #154CA5;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.2;
}
h1 { font-size: 2.75rem; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 14px; }
h3 { font-size: 1.25rem; margin-bottom: 8px; }
h4 { font-size: 1.125rem; }
p, ul, ol, dd {
  margin-bottom: 14px;
  color: #223046;
  line-height: 1.6;
}
strong, b { color: #154CA5; font-weight: 700; }

/* CONTAINERS & SPACING */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(21, 76, 165, 0.08);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* FLEX UTILITY CLASSES -- NO GRID */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
}
.card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card { 
  margin-bottom: 20px; 
  position: relative; 
  background: #fff;
  border-radius: 16px; 
  box-shadow: 0 2px 12px rgba(64, 115, 238, 0.07);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card-content { display: flex; flex-direction: column; justify-content: center; }
.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: 20px;
  background: #F6F9FB;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(21,76,165,0.10);
  min-width: 270px;
  min-height: 140px;
  max-width: 440px;
  color: #223046;
  font-size: 1.06rem;
  font-family: 'Roboto', Arial, sans-serif;
}
.testimonial-card strong { margin-top: 6px; color: #154CA5; font-size: 1rem; }

.rating-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  background: #fffad7;
  border-radius: 12px;
  padding: 10px 18px;
  font-size: 1.1rem;
  color: #223046;
  box-shadow: 0 1px 8px rgba(255, 209, 74, 0.14);
  font-weight: 500;
}

.language-overview, .learning-methods { margin-top: 18px; background: #F6F9FB; border-radius: 12px; padding: 18px 22px; }
.language-overview h3, .learning-methods h3 { margin-bottom: 8px; }

.faq-list dt {
  font-weight: 700;
  color: #154CA5;
  margin-top: 18px;
}
.faq-list dd {
  padding-left: 6px;
  color: #223046;
  margin-bottom: 8px;
}

/* HEADER / NAVIGATION */
header {
  background: linear-gradient(92deg,#154CA5 0%,#276cec 100%);
  padding: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 20px;
  padding: 10px 18px 10px 18px;
}
header img { height: 42px; }
header nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: center;
}
header nav a {
  color: #fff;
  font-weight: 500;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.01em;
  opacity: 0.92;
  padding: 4px 0;
  transition: color .18s;
}
header nav a:hover, header nav a.active {
  color: #FFD14A;
  opacity: 1;
}
header .button.primary {
  margin-left: 20px;
  background: #FFD14A;
  color: #154CA5;
  border-radius: 26px;
  padding: 9px 26px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.24s, box-shadow .16s, color .2s;
  box-shadow: 0 2px 8px rgba(255,209,74,0.17);
}
header .button.primary:hover, header .button.primary:focus {
  background: #ffe180;
  color: #154CA5;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(120deg, #EAF1FB 60%, #fff 100%);
  border-radius: 0 0 40px 40px;
  box-shadow: 0 8px 46px rgba(43,101,181,0.06);
  padding: 44px 0 44px 0;
  margin-bottom: 44px;
}
.hero .content-wrapper {
  align-items: flex-start;
  max-width: 700px;
  margin: 0 auto;
  gap: 15px;
  padding: 0 0;
  text-align: left;
}
.hero h1 { color: #154CA5; font-size: 2.2rem; margin-bottom: 10px; }
.hero p { font-size: 1.15rem; color: #223046; margin-bottom: 16px; }
.hero .button.primary {
  background: #154CA5;
  color: #fff;
  border-radius: 26px;
  padding: 13px 36px;
  font-size: 1.15rem;
  margin-top: 16px;
  box-shadow: 0 2px 12px rgba(21, 76, 165, 0.14);
}
.hero .button.primary:hover, .hero .button.primary:focus {
  background: #1e5aed;
  color: #FFD14A;
}

/* BUTTON STYLES */
.button, a.button {
  display: inline-block;
  padding: 10px 26px;
  border: none;
  border-radius: 26px;
  background: #154CA5;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  text-align: center;
  letter-spacing: .01em;
  transition: background 0.19s, color .17s, box-shadow .14s;
}
.button.primary { background: #154CA5; color: #fff; }
.button.primary:hover, .button.primary:focus { background: #FFD14A; color: #154CA5; }

.secondary-cta-link, .cta-link {
  color: #154CA5;
  font-weight: 600;
  font-size: 1rem;
  background: transparent;
  border-radius: 16px;
  padding: 7px 13px;
  border: none;
  margin-left: 10px;
  transition: background .13s, color .12s;
  font-family: 'Montserrat', Arial, sans-serif;
}
.secondary-cta-link:hover, .cta-link:hover {
  background: #F6F9FB;
  color: #1e5aed;
}

/* FEATURE GRID & CARDS */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
}
.feature-grid > div {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 14px rgba(21,76,165,0.07);
  padding: 30px 20px 22px 20px;
  min-width: 225px;
  max-width: 340px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}
.feature-grid img {
  height: 38px;
  margin-bottom: 4px;
}
.feature-grid h3 { font-size: 1.125rem; color: #154CA5; margin-bottom: 3px; }

/* TESTIMONIALS SLIDER (BASIC LAYOUT) */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}

/* ADDRESS, CONTACT BLOCKS */
.contact-info, .contact-details {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 28px;
  margin-top: 20px;
}
.address-block, .phone-block, .email-block, .business-hours {
  display: flex;
  align-items: center;
  gap: 11px;
  background: #F6F9FB;
  padding: 8px 18px;
  border-radius: 12px;
  font-size: 0.98rem;
  color: #223046;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 12px;
}
.stadt {
  margin-top: 6px;
  font-weight: 500;
  color: #154CA5;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}

.text-section {
  padding: 26px 18px;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 10px rgba(21,76,165,0.08);
  margin-bottom: 16px;
}
.text-section ul {
  list-style: disc inside;
  color: #223046;
}
.text-section li {
  margin-bottom: 7px;
}

/* FOOTER */
footer {
  background: linear-gradient(90deg,#154CA5 0%,#276cec 100%);
  color: #fff;
  padding: 38px 0 18px 0;
  margin-top: 50px;
}
footer .container {
  flex-direction: column;
  gap: 22px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  justify-content: space-between;
  border-bottom: 1px solid rgba(246,249,251,0.08);
  padding-bottom: 20px;
}
.footer-nav img { height: 42px; }
.footer-nav nav { display: flex; flex-direction: row; gap: 18px; }
.footer-nav nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  opacity: 0.87;
  font-size: 0.98rem;
  transition: color 0.12s;
}
.footer-nav nav a:hover { color: #FFD14A; opacity: 1; }
.contact-info { margin-top: 14px; color: #fff; gap: 18px; }
.contact-info > div { background: rgba(255,255,255,0.07); color: #fff; }

/* MOBILE BURGER MENU */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 22px;
  z-index: 1040;
  background: #154CA5;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  line-height: 1;
  box-shadow: 0 2px 10px rgba(21,76,165,0.18);
  transition: background .17s, color .14s, box-shadow .19s;
  cursor: pointer;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #FFD14A;
  color: #154CA5;
  outline: 2px solid #154CA5;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #fff;
  z-index: 9999;
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(.77,0,.18,1);
  box-shadow: 14px 0 48px rgba(21,76,165,0.12);
  opacity: 0.97;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 24px;
  background: #154CA5;
  color: #fff;
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  transition: background .16s, color .14s;
  z-index: 10010;
  cursor: pointer;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #FFD14A;
  color: #154CA5;
  outline: 2px solid #154CA5;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 70px;
  width: 100%;
  padding: 0 36px;
}
.mobile-nav a {
  color: #154CA5;
  font-size: 1.35rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 18px 0 6px 0;
  border-bottom: 1px solid #F6F9FB;
  transition: background .13s, color .13s;
  border-radius: 7px;
}
.mobile-nav a:hover, .mobile-nav a.active {
  background: #F6F9FB;
  color: #1e5aed;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9000;
  width: 100vw;
  background: #154CA5;
  color: #fff;
  padding: 26px 18px 18px 18px;
  box-shadow: 0 -4px 26px rgba(21,76,165,0.13);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  transition: transform .33s cubic-bezier(.81,0,.2,1);
}
.cookie-banner.hide { transform: translateY(100%); }
.cookie-banner__text { flex: 1 1 50%; }
.cookie-banner__buttons {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-banner button {
  background: #FFD14A;
  color: #154CA5;
  border-radius: 22px;
  padding: 9px 18px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background .18s, color .13s;
  font-size: 1rem;
}
.cookie-banner button:hover, .cookie-banner button:focus { background: #ffe180; color: #223046; }
.cookie-settings-btn { background: #fff; color: #154CA5; border: 1px solid #154CA5; }
.cookie-settings-btn:hover, .cookie-settings-btn:focus { background: #154CA5; color: #fff; }

/* COOKIE MODAL */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 9050;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(34,48,70,0.21);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity .2s;
}
.cookie-modal-backdrop.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  color: #223046;
  border-radius: 22px;
  box-shadow: 0 8px 34px rgba(21,76,165,0.14);
  max-width: 410px;
  width: 95vw;
  padding: 32px 28px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-modal h3 { margin-bottom: 8px; color: #154CA5; }
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  font-size: 1rem;
}
.cookie-modal .cookie-switch {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}
.cookie-modal .cookie-switch input[type=checkbox] {
  width: 36px;
  height: 20px;
  accent-color: #154CA5;
  cursor: pointer;
}
.cookie-modal .cookie-switch input[disabled] { opacity: 0.4; cursor: not-allowed; }
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 18px;
}
.cookie-modal button {
  background: #FFD14A;
  color: #154CA5;
  border-radius: 18px;
  padding: 9px 17px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background .17s, color .13s;
}
.cookie-modal button:hover, .cookie-modal button:focus { background: #ffe180; color: #223046; }
.cookie-modal .close-modal {
  position: absolute;
  top: 10px;
  right: 16px;
  background: transparent;
  color: #154CA5;
  border: none;
  font-size: 1.4rem;
  border-radius: 50%;
  width: 30px; height: 30px;
  cursor: pointer;
  transition: background .13s;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  background: #F6F9FB;
}

/* ANIMATIONS */
.button, .button.primary, .secondary-cta-link, .cta-link, .cookie-banner button, .cookie-modal button {
  transition: background .19s, color .16s, box-shadow .13s, border .1s;
}
.feature-grid > div, .card, .testimonial-card, .text-section {
  transition: box-shadow .19s, transform .19s;
}
.feature-grid > div:hover, .card:hover, .testimonial-card:hover, .text-section:hover {
  box-shadow: 0 6px 18px rgba(21,76,165,0.16);
  transform: translateY(-2px) scale(1.012);
}

/* RESPONSIVE DESIGN: MOBILE FIRST */
@media (max-width: 1120px) {
  .container { max-width: 98vw; }
}
@media (max-width: 900px) {
  .feature-grid { gap: 20px; }
  footer .container, .footer-nav { flex-direction: column; align-items: flex-start; gap: 16px; }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  header .container { flex-direction: row; flex-wrap: wrap; gap: 10px; }
  .feature-grid { flex-direction: column; gap: 20px; align-items: stretch; }
  .testimonial-slider { flex-direction: column; gap: 20px; }
  .card-container, .card-grid { flex-direction: column; gap: 18px; }
  .content-grid { flex-direction: column; gap: 16px; }
  .section { margin-bottom: 38px; padding: 25px 7px; gap: 10px; }
  .hero { border-radius: 0 0 22px 22px; padding: 28px 0 32px 0; }
  .hero .content-wrapper { text-align: left; padding: 0 0; align-items: flex-start; }
  .text-image-section { flex-direction: column; gap: 20px; align-items: flex-start; }
  .contact-info, .contact-details { gap: 8px; flex-direction: column; }
}
@media (max-width: 600px) {
  html { font-size: 14px; }
  header .container { flex-direction: row; flex-wrap: wrap; gap: 4px; padding: 6px 5px 6px 5px; }
  .footer-nav img, header img { height: 35px; }
  .section { margin-bottom: 28px; padding: 13px 3px; border-radius: 10px; }
  .footer-nav { flex-direction: column; align-items: flex-start; }
  .feature-grid > div, .card { border-radius: 10px; min-width: 120px; max-width: 100%; padding: 14px 14px; }
}

/* MOBILE NAV VISIBILITY */
@media (max-width: 991px) {
  header nav, header .button.primary { display: none !important; }
  .mobile-menu-toggle { display: block; }
}
@media (min-width: 992px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* UTILITY CLASSES FOR FLEX GAP CONSISTENCY */
.card-container { gap: 24px; }
.card { margin-bottom: 20px; }
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ACCESSIBILITY & FOCUS */
a:focus, button:focus, .cta-link:focus, .secondary-cta-link:focus, .primary:focus {
  outline: 2px solid #FFD14A;
  outline-offset: 2px;
  border-radius: 7px;
}

/* VISUAL DIVIDERS/ELEMENTS */
hr { border: 0; border-top: 1px solid #e4e7ee; margin: 19px 0; }

/* END CSS */
