/* 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, 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%;
  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: #F7F8FA;
  color: #222C36;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
}

*, *:before, *:after {
  box-sizing: inherit;
}

img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
a {
  color: #1B2838;
  text-decoration: none;
  transition: color 0.2s;
  word-break: break-word;
}
a:hover, a:focus {
  color: #8FB1CD;
  text-decoration: underline;
}

ul, ol {
  padding-left: 1.5em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 600;
  color: #1B2838;
  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.35rem; margin-bottom: 10px;}
h4 {font-size: 1.05rem;}

p, li {
  font-size: 1rem;
  color: #222C36;
  margin-bottom: 12px;
}

strong {
  color: #1B2838;
}

button, .cta, input[type="submit"] {
  font-family: 'Oswald', Arial, sans-serif;
  padding: 12px 36px;
  border: none;
  border-radius: 30px;
  font-size: 1.08rem;
  background-color: #FFD500;
  color: #1B2838;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 2px 16px rgba(27,40,56,0.08);
  transition: background 0.17s, box-shadow 0.25s, color 0.17s;
  margin: 8px 0 8px 0;
  display: inline-block;
  min-width: 150px;
}
button:hover, .cta:hover, button:focus, .cta:focus, input[type="submit"]:hover {
  background: #F7D500;
  color: #1B2838;
  box-shadow: 0 6px 24px rgba(27,40,56,0.17);
  outline: none;
}

/* CONTAINER */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 22px;
  width: 100%;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .section { padding: 32px 8px; margin-bottom: 42px; }
}

/* HEADER */
header {
  background: #FFFFFFCC;
  box-shadow: 0 2px 18px rgba(23,34,44,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
header nav a {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.01rem;
  color: #1B2838;
  padding: 4px 10px;
  border-radius: 18px;
  transition: background 0.18s, color 0.18s;
}
header nav a.cta {
  background: #FFD500;
  color: #1B2838;
  box-shadow: 0 2px 12px #FFD50021;
  margin-left: 12px;
}
header nav a.cta:hover, header nav a.cta:focus {
  background: #F7D500;
  color: #1B2838;
}
header nav a:hover, header nav a:focus {
  background: #F3F4F6;
}

header img {
  height: 46px;
  width: auto;
  margin-right: 24px;
}

/* MOBILE BURGER */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #1B2838;
  padding: 8px 12px;
  cursor: pointer;
  z-index: 120;
  border-radius: 8px;
  transition: background 0.15s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #F3F4F6;
}

@media (max-width: 950px) {
  header .container {
    flex-direction: row;
    gap: 0;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #F7F8FAEE;
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.42s cubic-bezier(.59,-0.36,.65,1.32);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  background: none;
  border: none;
  color: #1B2838;
  position: absolute;
  top: 16px;
  right: 25px;
  cursor: pointer;
  border-radius: 8px;
  padding: 4px 10px;
  transition: background 0.15s;
  z-index: 220;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #E8EEF3;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin: 64px 0 0 32px;
}
.mobile-nav a {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.35rem;
  padding: 12px 0;
  color: #1B2838;
  border-radius: 12px;
  width: fit-content;
  min-width: 190px;
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #E8EEF3;
}

@media (max-width: 480px) {
  .mobile-nav { margin-left: 13px; }
}

/* HERO SECTIONS */
.hero {
  background: #F2F5F9 url('../assets/hero-bg.svg') no-repeat right center;
  background-size: cover;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 60px;
  padding: 32px 0 48px 0;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  max-width: 580px;
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #1B2838;
}
.hero .subheadline {
  font-family: 'Roboto', Arial, sans-serif;
  color: #374150;
  font-size: 1.2rem;
  margin-bottom: 18px;
}

@media (max-width: 850px) {
  .hero { padding: 24px 0 32px; margin-bottom: 40px; }
  .hero h1 { font-size: 2rem; }
  .hero .content-wrapper { max-width: 100%; }
}

/* CTA BANNER */
.cta-banner {
  background: #E8EEF3;
  padding: 32px 0;
  border-radius: 20px;
  box-shadow: 0 4px 18px #E8EEF388;
  margin: 45px 0 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta-banner .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 20px;
}
.cta-banner h2 {
  font-size: 2rem;
}

/* FLEX LAYOUTS */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 18px 0 0 0;
}
.feature-grid > div {
  background: #FFF;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(43,63,73,0.07);
  padding: 26px 25px 18px 25px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  min-width: 240px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 30px rgba(27,40,56,0.13);
  transform: translateY(-3px) scale(1.011);
  z-index: 1;
}
.feature-grid img {
  height: 44px;
  width: 44px;
  object-fit: contain;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #FFF;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(27,40,56,0.07);
  padding: 24px 22px 18px 22px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 13px;
  min-width: 180px;
  flex: 1 1 210px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 6px 30px rgba(40,55,81,0.14);
  transform: translateY(-2px) scale(1.01);
  z-index: 1;
}

.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #FAFBFD;
  border-radius: 16px;
  box-shadow: 0 3px 18px #76899A1C;
  padding: 20px 24px;
  margin-bottom: 20px;
  min-width: 250px;
  max-width: 340px;
  flex: 1 1 300px;
  border-left: 6px solid #8FB1CD;
  transition: border-color 0.18s, box-shadow 0.22s;
}
.testimonial-card p {
  color: #1B2838;
  font-size: 1.09rem;
  line-height: 1.7;
  margin-bottom: 8px;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: #52637F;
}
.testimonial-card:hover {
  border-left: 6px solid #FFD500;
  box-shadow: 0 6px 26px #8FB1CD29;
}

.news-teasers {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.news-teasers .text-section {
  background: #FFF;
  border-radius: 12px;
  box-shadow: 0 2px 14px #b2bdc811;
  padding: 22px 20px 20px;
  flex: 1 1 290px;
  min-width: 210px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.news-teasers .text-section h3 {margin-bottom: 3px;}
.news-teasers .text-section a {
  font-weight: 500;
  color: #8FB1CD;
}

/* LISTS & FEATURE LISTS */
.feature-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.feature-list li {
  background: #FAFBFC;
  box-shadow: 0 1px 8px #CEDBF71A;
  border-radius: 10px;
  padding: 13px 18px 13px 11px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #374150;
  font-size: 1.08rem;
}
.feature-list img {
  width: 28px;
  height: 28px;
}

ul, ol {
  margin-bottom: 12px;
}

/* TEXT SECTIONS */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
}
.text-section p:last-child {
  margin-bottom: 0;
}

.newsletter-signup {
  background: #F7F8FAC6;
  border-radius: 12px;
  padding: 18px 24px;
  text-align: center;
  margin: 12px 0 18px 0;
}
.newsletter-signup a {
  font-weight: 500;
  color: #8FB1CD;
}

/* FOOTER */
footer {
  background: #F9FAFC;
  box-shadow: 0 -2px 14px #b2bdc810;
  padding: 30px 0 0 0;
  font-size: 0.97rem;
  margin-top: 65px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-main nav {
  display: flex;
  gap: 21px;
}
.footer-main nav a {
  color: #60748C;
  font-size: 1rem;
  border-radius: 6px;
  padding: 2px 9px;
  transition: background 0.13s, color 0.14s;
}
.footer-main nav a:hover, .footer-main nav a:focus {
  background: #E8EEF3;
  color: #1B2838;
}
.footer-main img {
  height: 42px;
}
.footer-contact {
  color: #374150;
  line-height: 1.8;
  font-size: 1.01rem;
  margin-bottom: 8px;
}
.footer-contact a {
  color: #8FB1CD;
  word-break: break-all;
}
.footer-copy {
  color: #8593A1;
  border-top: 1px solid #E8EEF3;
  padding: 16px 0 10px 0;
  font-size: 0.91rem;
  text-align: left;
}

@media (max-width: 720px) {
  .footer-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
  }
  .footer-main nav {
    gap: 12px;
  }
  .footer-main img {
    margin-bottom: 9px;
  }
  .footer-copy {
    text-align: left;
  }
}

/* MAP */
.map {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 140px;
  background: #E8EEF3;
  border-radius: 16px;
  padding: 18px 8px;
  min-width: 200px;
  max-width: 280px;
  box-shadow: 0 2px 14px #8FB1CD10;
}

/* CONTACT INFO FLEX */
.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: flex-start;
  margin-bottom: 28px;
}
.contact-info .text-section {
  max-width: 360px;
  flex: 1 1 240px;
}
@media (max-width: 700px) {
  .contact-info {
    flex-direction: column;
    gap: 18px;
  }
  .map { max-width: 100%; margin-top: 15px; }
}

/* FAQ LISTS */
.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 12px 0 8px 0;
}
.faq-list > div {
  background: #FFF;
  border-radius: 12px;
  box-shadow: 0 2px 14px #b2bdc810;
  padding: 22px 20px 18px;
  min-width: 220px;
  flex: 1 1 265px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

/* OL, UL */
ul, ol {
  margin-bottom: 14px;
  padding-left: 20px;
}
li {
  margin-bottom: 7px;
}

ol {
  counter-reset: section;
}
ol li {
  position: relative;
  padding-left: 19px;
  margin-bottom: 8px;
}
ol li:before {
  counter-increment: section;
  content: counter(section) '.';
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 600;
  color: #8FB1CD;
  font-family: 'Oswald', Arial, sans-serif;
}

/* TEAM BIOS */
.team-bios {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 24px;
}
.team-bios .text-section {
  background: #F7F8FA;
  border-radius: 10px;
  box-shadow: 0 1px 8px #CEDBF721;
  padding: 18px 18px 13px 16px;
  flex: 1 1 190px;
  min-width: 170px;
  margin-bottom: 20px;
  gap: 5px;
}

/* RESPONSIVE FLEX DIRECTIONS */
@media (max-width: 900px) {
  .feature-grid, .news-teasers, .card-container, .content-grid, .testimonial-slider, .faq-list, .team-bios {
    flex-direction: column;
    gap: 21px;
  }
}

/* SPACING ENFORCEMENT */
section, .card, .feature-grid > div, .news-teasers .text-section, .testimonial-card, .faq-list > div, .team-bios .text-section {
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .section, section, .cta-banner { margin-bottom: 38px; padding-bottom: 8px; }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  z-index: 5000;
  width: 100vw;
  background: #F7F8FA;
  box-shadow: 0 -3px 16px #1B283813;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 8px 18px 8px;
  transition: transform 0.24s, opacity 0.2s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}
.cookie-banner .cookie-content {
  max-width: 820px;
  color: #222C36;
  font-size: 1rem;
  margin-right: 30px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
}
.cookie-banner button, .cookie-banner .cta, .cookie-banner input[type="button"] {
  padding: 8px 24px;
  min-width: 110px;
  font-size: 1rem;
  margin: 0 1px;
}
.cookie-banner .cookie-settings-btn {
  background: #8FB1CD;
  color: #fff;
}
.cookie-banner .cookie-settings-btn:hover {
  background: #6492B0;
  color: #fff;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 6px 10px 6px;
    font-size: 0.91rem;
  }
  .cookie-banner .cookie-actions {
    margin-top: 8px;
    gap: 9px;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .cookie-banner .cookie-content {
    margin-right: 0;
    margin-bottom: 8px;
  }
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: #1B283888;
  z-index: 6000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.22s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal .modal-content {
  background: #FFF;
  border-radius: 17px;
  box-shadow: 0 6px 48px rgba(40,61,81,0.22);
  padding: 39px 40px 28px 40px;
  max-width: 410px;
  width: 93vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modal-in 0.41s cubic-bezier(.61,-0.46,.46,1.54);
}
@keyframes modal-in {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 11px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  font-size: 1rem;
  gap: 10px;
  margin-bottom: 7px;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #8FB1CD;
  margin-right: 4px;
}
.cookie-modal .close-modal-btn {
  position: absolute;
  right: 38px;
  top: 19px;
  background: none;
  border: none;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  color: #1B2838;
  padding: 0 7px;
  transition: background 0.13s;
  border-radius: 7px;
}
.cookie-modal .close-modal-btn:focus, .cookie-modal .close-modal-btn:hover {
  background: #F7F8FA;
}
@media (max-width: 520px) {
  .cookie-modal .modal-content { padding: 18px 8px 18px 8px; }
  .cookie-modal .close-modal-btn { right: 8px; top: 8px; }
}

/* MICRO-INTERACTIONS AND BUTTON EFFEKTS */
button, .cta, .cookie-banner button, .cookie-banner .cta, .cookie-modal button, input[type="submit"] {
  transition: background 0.15s, color 0.18s, box-shadow 0.18s, border 0.14s, transform 0.12s;
}
button:active, .cta:active {
  transform: scale(0.985);
  box-shadow: 0 2px 8px #8FB1CD22;
}

/* HIDE ELEMENTS (for banners, menus, overlays) */
.hide, .hidden { display: none !important; }

/* SCROLLBAR CLEAN */
body, * {
  scrollbar-width: thin;
  scrollbar-color: #8FB1CD #F2F5F9;
}
body::-webkit-scrollbar, *::-webkit-scrollbar { height: 7px; width: 7px; background: #F2F5F9; }
body::-webkit-scrollbar-thumb, *::-webkit-scrollbar-thumb { background: #B6CCE2; border-radius: 6px; }

/* FONT IMPORTS: Use fallback if missing on device */
@import url('https://fonts.googleapis.com/css?family=Oswald:400,500,600,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,400italic,500,700&display=swap');

/* OVERRIDES FOR ACCENT/HIGHLIGHTS */
.bg-accent {
  background: #FFD500 !important;
  color: #1B2838 !important;
}
.color-accent { color: #FFD500 !important; }
.bg-secondary { background: #8FB1CD !important; color: #fff !important; }
.color-secondary { color: #8FB1CD !important; }

/* SHADOWS + RADIUS CONSISTENCY */
.shadow { box-shadow: 0 3px 18px #76899A1C; }
.rounded { border-radius: 18px; }

/* Visually hidden for a11y */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  clip: rect(1px,1px,1px,1px);
  white-space: nowrap;
}

/* ACCESSIBILITY: FOCUS */
a, button, .cta, input[type='submit'], .mobile-menu-toggle, .mobile-menu-close, .close-modal-btn {
  outline: none;
}
a:focus-visible, button:focus-visible, .cta:focus-visible, input[type='submit']:focus-visible, .mobile-menu-toggle:focus-visible, .mobile-menu-close:focus-visible, .close-modal-btn:focus-visible {
  outline: 2px solid #8FB1CD;
  outline-offset: 2px;
}

/* Utilty Spacing */
.mb-20 { margin-bottom: 20px !important; }
.mt-20 { margin-top: 20px !important; }
.mt-40 { margin-top: 40px !important; }
.mb-40 { margin-bottom: 40px !important; }

/* Ensure minimum touch target on all buttons */
button, .cta, input[type="submit"] {
  min-height: 44px;
}

/* END */
