/* RESET & BASE TYPOGRAPHY ------------------------------ */
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;
  box-sizing: border-box;
  vertical-align: baseline;
}
body {
  background: #F9F6EE;
  color: #21314A;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #21314A;
  font-weight: 700;
  letter-spacing: 0;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: .01em;
}
h2 {
  font-size: 2rem;
  line-height: 1.1;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: .01em;
}
h3 {
  font-size: 1.25rem;
  line-height: 1.2;
  margin-bottom: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
}
h4, h5, h6 {
  font-size: 1rem;
  font-weight: 600;
}
p {
  margin-bottom: 16px;
}
ul, ol {
  margin-bottom: 18px;
  padding-left: 24px;
}
ul li, ol li {
  margin-bottom: 8px;
}
a {
  color: #57A9A2;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #21314A;
  text-decoration: underline;
}  
img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 0.5rem;
}
strong {
  font-weight: 700;
  color: #21314A;
}
::-webkit-input-placeholder{ color: #898989; }
::-moz-placeholder{ color: #898989; }
:-ms-input-placeholder{ color: #898989; }
::placeholder { color: #898989; }

/* GEOMETRIC STRUCTURE & LAYOUT ------------------------------ */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: #fff;
  border: 2px solid #21314A33;
  border-radius: 16px;
  box-shadow: 0 2px 14px 0 #21314a13;
  padding: 28px 24px;
  margin-bottom: 20px;
  position: relative;
  min-width: 250px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow .2s, transform .2s;
}
.card:hover, .card:focus {
  box-shadow: 0 4px 24px 0 #21314a24;
  transform: translateY(-2px) scale(1.01);
  z-index: 2;
}
.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;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.feature-grid > div {
  background: #fff;
  border: 2px solid #21314A2f;
  border-radius: 16px;
  box-shadow: 0 1.5px 12px 0 #21314a13;
  padding: 28px 18px 24px 18px;
  flex: 1 1 230px;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow .19s;
  margin-bottom: 20px;
  gap: 8px;
}
.feature-grid > div:hover {
  box-shadow: 0 4px 18px 0 #57A9A233;
  border-color: #57A9A2;
  z-index: 2;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  padding: 24px 20px;
  margin-bottom: 20px;
  background: #F9F6EE;
  border-left: 6px solid #57A9A2;
  border-radius: 12px 28px 12px 12px;
  box-shadow: 0 1px 8px 0 #57A9A212;
  color: #21314A;
  font-size: 1rem;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  position: relative;
}
.testimonial-card strong {
  color: #21314A;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.08rem;
}
.testimonial-card span {
  font-size: 0.96rem;
  color: #486680;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
/* SHAPES & ANGULAR STYLES ----------------------------------- */
section, .card, .feature-grid > div, .testimonial-card, .cta-primary, .cta-secondary, .mobile-menu, .cookie-consent-banner, .cookie-modal {
  border-radius: 16px;
}
.card, .feature-grid > div {
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
  /* Geometric right corner cut */
}
.cta-primary, .cta-secondary {
  text-transform: uppercase;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.02em;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  outline: none;
  border-radius: 12px 22px 12px 12px;
  padding: 14px 34px;
  margin-top: 12px;
  transition: background .18s, box-shadow .18s, color .18s, transform .18s;
  box-shadow: 0 2px 8px 0 #21314a12;
  cursor: pointer;
  min-width: 152px;
  position: relative;
  gap: 10px;
}
.cta-primary {
  background: #21314A;
  color: #fff;
  border-bottom: 3px solid #57A9A2;
}
.cta-primary:hover, .cta-primary:focus {
  background: #57A9A2;
  color: #21314A;
  box-shadow: 0 4px 16px 0 #21314a1a;
  transform: translateY(-2px) scale(1.03);
}
.cta-secondary {
  background: #fff;
  color: #21314A;
  border: 2px solid #57A9A2;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #21314A;
  color: #fff;
  border-color: #21314A;
}

/* HEADER & NAVIGATION --------------------------------------- */
header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: #fff;
  box-shadow: 0 2px 8px 0 #21314a10;
  padding: 20px 0;
  position: relative;
  z-index: 80;
}
header > a img {
  width: 140px;
  min-width: 77px;
  margin-right: 18px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  color: #21314A;
  padding: 6px 15px;
  border-radius: 6px;
  transition: background .14s, color .14s;
}
.main-nav a:hover, .main-nav a.active {
  background: #57A9A2;
  color: #fff;
}
header .cta-primary {
  margin-left: 24px;
}

/* MOBILE MENU ----------------------------------------------- */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  right: 24px;
  top: 22px;
  z-index: 110;
  background: #21314A;
  color: #fff;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 12px 20px 12px 12px;
  font-size: 2rem;
  box-shadow: 0 2px 14px 0 #21314a12;
  transition: background .14s;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.mobile-menu-toggle:hover {
  background: #57A9A2;
  color: #21314A;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #f9f6eeee;
  box-shadow: 0 4px 40px rgba(33,49,74,0.18);
  z-index: 150;
  display: flex;
  flex-direction: column;
  transform: translateX(-100vw);
  transition: transform .30s cubic-bezier(0.77,0,0.18,1);
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0 0 0 0;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #21314A;
  color: #fff;
  border: none;
  border-radius: 12px 18px 12px 12px;
  font-size: 1.8rem;
  width: 46px;
  height: 46px;
  align-self: flex-end;
  margin: 24px 24px 18px 0;
  cursor: pointer;
  box-shadow: 0 1.5px 7px 0 #21314a18;
  transition: background .15s, color .15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus{
  background: #57A9A2;
  color: #21314A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 0 34px;
  width: 100vw;
}
.mobile-nav a {
  font-size: 1.4rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #21314A;
  padding: 12px 0 8px 0;
  width: 100%;
  border-bottom: 1px solid #e0e2e7;
  transition: background .15s, color .15s;
  border-radius: 0 0 9px 9px;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #57A9A2;
  color: #fff;
}
@media (max-width: 1100px) {
  .container {
    max-width: 96vw;
  }
}
@media (max-width: 950px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 0 8px 0;
  }
  .main-nav {
    margin-bottom: 8px;
  }
}
@media (max-width: 840px) {
  .main-nav {
    gap: 8px;
  }
  header .cta-primary {
    margin-left: 0;
    margin-top: 12px;
  }
}
@media (max-width: 800px) {
  .main-nav {
    display: none;
  }
  header .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 768px) {
  .content-wrapper, .text-section {
    gap: 18px;
  }
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.5rem; }
  .container {
    padding: 0 8px;
  }
  .section {
    padding: 32px 8px;
  }
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > div, .card {
    min-width: 0;
    width: 100%;
    margin-bottom: 16px;
  }
  .footer-info, .footer-nav {
    font-size: 0.98rem;
  }
  .text-image-section {
    flex-direction: column !important;
    gap: 22px;
  }
}
@media (max-width: 520px) {
  h1 { font-size: 1.28rem; }
  h2 { font-size: 1.03rem; }
  header > a img {
    width: 90px;
  }
}

/* FOOTER --------------------------------------------------- */
footer {
  background: #21314A;
  color: #fff;
  margin-top: 60px;
  padding: 36px 0 0 0;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  justify-content: space-between;
}
footer a {
  color: #57A9A2;
  font-weight: 500;
  transition: color 0.18s;
}
footer a:hover, footer a:focus {
  color: #fff;
}
.footer-info {
  font-size: 1rem;
  color: #f1f1f1;
  min-width: 230px;
  margin-bottom: 18px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 180px;
}
.footer-nav a {
  color: #a3b4c8;
  font-size: 1rem;
}
.footer-nav a:hover {
  color: #57A9A2;
}
.social-media-icons {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 12px;
}
.social-media-icons img {
  width: 32px;
  height: 32px;
  box-shadow: 0 2px 8px 0 #21314A15;
  border-radius: 10px 16px 10px 10px;
  background: #fff;
  padding: 6px;
  transition: box-shadow .17s, background .17s;
}
.social-media-icons img:hover {
  box-shadow: 0 4px 14px 0 #57A9A230;
  background: #57A9A2;
}
@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 24px;
  }
}

/* BUTTONS & INTERACTIVES ------------------------------------ */
button, .cta-primary, .cta-secondary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}
button:focus-visible, a:focus-visible {
  outline: 2px solid #57A9A2;
  outline-offset: 2px;
}

/* MISC COMPONENTS: News Categories (Forscher-News) ----------- */
.news-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 14px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.98rem;
  color: #57A9A2;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.news-categories a {
  color: #21314A;
  background: #57A9A212;
  padding: 4px 16px;
  border-radius: 9px;
  margin-right: 6px;
  text-transform: uppercase;
  font-size: 0.92rem;
  letter-spacing: .04em;
  font-weight: 700;
  transition: background .14s, color .14s;
}
.news-categories a:hover, .news-categories a.active {
  background: #57A9A2;
  color: #fff;
}

/* SPACING UTILITY CLASSES ----------------------------------- */
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.mt-32 { margin-top: 32px; }
.pt-20 { padding-top: 20px; }
.pb-28 { padding-bottom: 28px; }
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }

/* COOKIE CONSENT BANNER ------------------------------------- */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -4px 28px 0 #21314A23;
  border-top: 3.5px solid #57A9A2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 32px;
  z-index: 900;
  font-size: 1.06rem;
  transition: transform .29s cubic-bezier(0.77,0,0.18,1);
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-consent-banner.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-consent-banner .cookie-message {
  color: #21314A;
  flex: 2 1 280px;
  margin-right: 20px;
}
.cookie-consent-banner .cookie-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-actions button {
  border: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 8px 20px 8px 8px;
  padding: 11px 22px;
  margin-left: 0;
  margin-right: 0;
  background: #57A9A2;
  color: #fff;
  box-shadow: 0 2px 8px 0 #21314a14;
  transition: background .15s, color .15s;
  cursor: pointer;
}
.cookie-actions button:hover, .cookie-actions button:focus {
  background: #21314A;
  color: #fff;
}
.cookie-actions .cookie-secondary {
  background: #fff;
  color: #21314A;
  border: 2px solid #57A9A2;
}
.cookie-actions .cookie-secondary:hover, .cookie-actions .cookie-secondary:focus {
  background: #21314A;
  color: #fff;
}
@media (max-width: 768px) {
  .cookie-consent-banner {
    flex-direction: column;
    padding: 22px 10px;
    gap: 10px;
    font-size: 0.97rem;
  }
  .cookie-consent-banner .cookie-message {
    margin-right: 0;
  }
}

/* COOKIE MODAL ---------------------------------------------- */
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: #21314A70;
  z-index: 9999;
  display: none;
  justify-content: center;
  align-items: center;
  transition: opacity .25s;
  opacity: 0;
}
.cookie-modal.active {
  display: flex;
  opacity: 1;
}
.cookie-modal .modal-content {
  background: #fff;
  color: #21314A;
  max-width: 400px;
  padding: 34px 28px 24px 28px;
  border-radius: 24px 36px 24px 24px;
  box-shadow: 0 7px 36px 0 #21314A35;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cookie-modal h3 {
  margin-bottom: 2px;
  text-transform: uppercase;
  font-size: 1.22rem;
}
.cookie-preference-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cookie-toggle {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.08rem;
  margin-bottom: 4px;
}
.cookie-toggle input[type='checkbox'] {
  accent-color: #57A9A2;
  width: 23px;
  height: 23px;
  margin: 0;
  border-radius: 7px;
}
.cookie-toggle .label-essential {
  color: #56a;
  font-weight: 700;
}
.cookie-modal .modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}
.cookie-modal button {
  border: none;
  border-radius: 8px 20px 8px 8px;
  background: #21314A;
  color: #fff;
  padding: 11px 20px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background .13s, color .13s;
}
.cookie-modal button.secondary {
  background: #fff;
  color: #21314A;
  border: 2px solid #57A9A2;
}
.cookie-modal button:hover, .cookie-modal button:focus {
  background: #57A9A2;
  color: #fff;
}
@media (max-width: 520px) {
  .cookie-modal .modal-content {
    max-width: 97vw;
    padding: 18px 4px 14px 10px;
  }
}

/* FORM ELEMENTS --------------------------------------------- */
input, textarea {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 10px 13px;
  border: 2px solid #57A9A2;
  border-radius: 7px 18px 7px 7px;
  background: #fff;
  color: #21314A;
  margin-bottom: 16px;
  box-shadow: 0 0.5px 5px 0 #21314A09;
  transition: border-color .16s, box-shadow .14s;
}
input:focus, textarea:focus {
  outline: none;
  border-color: #21314A;
  box-shadow: 0 1px 12px 0 #57A9A229;
}
label {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #21314A;
  margin-bottom: 7px;
  font-weight: 700;
}

/* LIST STYLES ----------------------------------------------- */
ul {
  list-style-type: disc;
  padding-left: 25px;
}
ul li {
  margin-bottom: 9px;
}
ol {
  list-style-type: decimal-leading-zero;
  padding-left: 27px;
  letter-spacing: .04em;
}
strong {
  font-weight: bold;
}

/* VISUAL MICRO-INTERACTIONS --------------------------------- */
.card, .feature-grid > div, .testimonial-card, .cta-primary, .cta-secondary, button, .mobile-menu, .cookie-consent-banner, .cookie-modal .modal-content {
  transition: box-shadow .17s, background .17s, color .17s, transform .17s;
}

/* SEPARATORS & DECORATIVE ----------------------------------- */
hr {
  border: none;
  border-top: 2px solid #57A9A2;
  margin: 24px 0;
}

/* RESPONSIVE FIXES/SAFEGUARDS */
@media (max-width: 600px) {
  .feature-grid > div,
  .card {
    padding: 16px 8px;
  }
  .testimonial-card {
    padding: 14px 7px;
  }
}

/* PRINT STYLES (MINIMAL) ------------------------------------ */
@media print {
  header, footer, .mobile-menu-toggle, .mobile-menu, .cookie-consent-banner {
    display: none !important;
  }
  body {
    background: #fff;
    color: #21314A;
  }
}
section {
  padding: 15px;
}
/* END */
