/* CSS RESET & BASE STYLES */
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;
  vertical-align: baseline;
  box-sizing: border-box;
}

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F9FBFD;
  color: #222E3A;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: inside disc;
  margin-bottom: 24px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', 'Georgia', serif;
  color: #222E3A;
  font-weight: 700;
  line-height: 1.2;
}
a {
  color: #223D77;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #345E97;
  text-decoration: underline;
}

/* TYPOGRAPHY SCALE */
h1 { font-size: 2.25rem; margin-bottom: 16px; }
h2 { font-size: 1.5rem; margin-bottom: 16px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
h4 { font-size: 1.125rem; margin-bottom: 10px; }
p, li { font-size: 1rem; }

.subheadline {
  color: #345E97;
  font-size: 1.125rem;
  font-weight: 400;
  margin-bottom: 16px;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}

.price {
  color: #111D29;
  background: #F8CB2E;
  border-radius: 6px;
  padding: 1px 7px;
  font-weight: 600;
  font-size: 1rem;
  margin-left: 8px;
}

strong {
  font-weight: 700;
}

/* CONTAINER & STRUCTURE */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 18px 0 rgba(34,46,58,0.06);
}

/* HERO SECTION */
.hero {
  background: #222E3A url('../assets/hero-bg.svg') no-repeat center/cover;
  color: #fff;
  padding: 60px 0 50px 0;
}
.hero .content-wrapper {
  gap: 20px;
  align-items: flex-start;
}
.hero h1 {
  color: #fff;
  font-size: 2.5rem;
}
.hero .subheadline {
  color: #97C1E9;
}
.hero .cta {
  margin-top: 12px;
}

/* NAVIGATION */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 3px 16px rgba(34,46,58,0.07);
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 32px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  color: #222E3A;
  font-weight: 500;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 8px 10px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
  letter-spacing: 0.01em;
}
.main-nav .cta {
  background: #F8CB2E;
  color: #222E3A;
  font-weight: 700;
  border: none;
  outline: none;
  font-family: 'Roboto Slab', 'Georgia', serif;
  padding: 8px 18px;
  border-radius: 8px;
  box-shadow: 0 2px 10px 0 rgba(224,186,0,0.07);
  transition: background 0.18s, color 0.1s, box-shadow 0.18s;
  margin-left: 8px;
  cursor: pointer;
}
.main-nav .cta:hover, .main-nav .cta:focus {
  background: #ffe07a;
  color: #222E3A;
  box-shadow: 0 4px 12px 0 rgba(224,186,0,0.18);
}
.main-nav a:hover, .main-nav a:focus:not(.cta) {
  background: #eaf0f8;
}

header img {
  height: 46px;
  width: auto;
  display: block;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: none;
  color: #222E3A;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  z-index: 95;
  padding: 8px 14px;
  margin-left: 12px;
  border-radius: 6px;
  transition: background 0.15s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #dbe9f6;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #222E3A;
  color: #fff;
  z-index: 100;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.65,.05,.36,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 28px 28px 0 28px;
  width: 100vw;
  max-width: 380px;
  box-shadow: 2px 0 30px rgba(34,46,58,0.38);
  overflow-y: auto;
  gap: 30px;
  height: 100vh;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  margin-bottom: 12px;
  z-index: 108;
  transition: background 0.18s;
  padding: 8px 14px;
  border-radius: 6px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #2c3b4b;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  margin-top: 20px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  padding: 12px 8px;
  border-radius: 7px;
  background: transparent;
  font-weight: 500;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #344356;
  color: #F8CB2E;
}
.mobile-nav .cta {
  background: #F8CB2E;
  color: #222E3A;
  font-family: 'Roboto Slab', 'Georgia', serif;
  font-weight: 700;
  margin-top: 12px;
  box-shadow: 0 2px 10px 0 rgba(224,186,0,0.13);
  text-align: center;
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 14px;
  }
  header .container {
    gap: 14px;
  }
}

@media (max-width: 900px) {
  .main-nav {
    gap: 3vw;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .container {
    padding: 0 12px;
  }
}

/* MAIN & SECTIONS */
main {
  min-height: 60vh;
}
section {
  margin-bottom: 60px;
  padding: 40px 0;
}

@media (max-width: 768px) {
  section {
    margin-bottom: 36px;
    padding: 24px 0;
  }
}

.section, .legal {
  background: #fff;
  border-radius: 14px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 2px 18px 0 rgba(34,46,58,0.06);
}
.legal {
  margin-top: 36px;
}

/* CARDS & FLEX CONTAINERS */
.card-container, .feature-grid, .content-grid, .testimonial-slider, .trend-spotlights ul, .funding-insights ul, .statistic-highlights ul, .value-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: flex-stretch;
}
.card-container {
  gap: 24px;
}
.card, .feature-grid > div {
  background: #fff;
  border: 1px solid #e2eaf2;
  border-radius: 14px;
  box-shadow: 0 2px 8px 0 rgba(34,46,58,0.05);
  padding: 26px 20px 22px 20px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s, border 0.18s;
  width: 100%;
  min-width: 220px;
  max-width: 310px;
  flex: 1 1 210px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card:hover, .feature-grid > div:hover {
  box-shadow: 0 4px 24px 0 rgba(52,94,151,0.13);
  border: 1px solid #97C1E9;
}

.feature-grid {
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.feature-grid > div {
  align-items: flex-start;
  text-align: left;
}
.feature-grid img {
  width: 54px; height: 54px; margin-bottom: 10px;
}
.feature-grid h3 {
  margin-bottom: 8px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* Cards Responsive */
@media (max-width: 900px) {
  .feature-grid, .card-container {
    gap: 14px;
    justify-content: center;
  }
  .card, .feature-grid > div {
    min-width: 180px;
    max-width: 100%;
  }
}
@media (max-width: 600px) {
  .card, .feature-grid > div {
    min-width: unset;
    width: 100%;
  }
}

/* GRID-LIKE LAYOUTS VIA FLEXBOX */
.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: 16px;
    align-items: stretch;
  }
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
}

.text-section {
  margin-bottom: 20px;
}
.text-section h3 {
  margin-top: 14px;
}

/* TIMELINE, HIGHLIGHTS ETC */
.timeline, .statistic-highlights, .trend-spotlights, .funding-insights {
  background: #f5f8fa;
  border-radius: 10px;
  padding: 24px 22px;
  box-shadow: 0 1px 8px 0 rgba(34,46,58,0.04);
  margin-bottom: 20px;
}

.value-icons {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: flex-start;
}
.value-icons img {
  width: 46px; height: 46px;
}

/* TESTIMONIALS */
.testimonials {
  background: #f3f7fb;
  padding: 48px 0;
}
.testimonials h2 {
  text-align: left;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  background: #fff;
  border: 1px solid #dce8f4;
  border-radius: 10px;
  padding: 20px;
  min-width: 220px;
  max-width: 370px;
  box-shadow: 0 3px 16px rgba(150,180,210,0.08);
  font-size: 1rem;
  color: #222E3A;
  transition: box-shadow 0.19s, border 0.15s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 24px rgba(34,46,58,0.11);
  border-color: #97C1E9;
}
.testimonial-author {
  color: #345E97;
  font-weight: 600;
  font-size: 0.98rem;
  margin-top: 6px;
  letter-spacing: 0.01em;
}
@media (max-width: 900px) {
  .testimonial-slider {
    gap: 12px;
  }
  .testimonial-card {
    min-width: 160px;
    max-width: 100%;
  }
}

/* CALL TO ACTION / BUTTONS */
.cta, .button {
  background: #97C1E9;
  color: #222E3A;
  font-weight: 700;
  font-family: 'Roboto Slab', 'Georgia', serif;
  border: none;
  border-radius: 8px;
  padding: 11px 28px;
  font-size: 1.13rem;
  box-shadow: 0 2px 12px 0 rgba(79,143,219,0.08);
  cursor: pointer;
  transition: background 0.16s, box-shadow 0.19s, color 0.14s;
  outline: none;
  display: inline-block;
  margin-top: 6px;
}
.cta:hover, .cta:focus, .button:hover, .button:focus {
  background: #F8CB2E;
  color: #222E3A;
  box-shadow: 0 5px 24px 0 rgba(248,203,46,0.13);
  text-decoration: none;
}

.button--secondary {
  background: #222E3A;
  color: #fff;
}
.button--secondary:hover, .button--secondary:focus {
  background: #345E97;
  color: #F8CB2E;
}

.button--outline {
  background: #fff;
  color: #222E3A;
  border: 2px solid #97C1E9;
  box-shadow: none;
}
.button--outline:hover, .button--outline:focus {
  background: #d2e3f6;
  color: #222E3A;
}

/* CONTACT BLOCK */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  background: #f5f8fa;
  border-radius: 9px;
  padding: 16px 22px 13px 22px;
  box-shadow: 0 1px 8px 0 rgba(34,46,58,0.04);
  color: #1a2a37;
}
.contact-info a {
  color: #345E97;
  text-decoration: underline;
  font-weight: 600;
}
.contact-info a:hover, .contact-info a:focus {
  color: #222E3A;
}

/* FOOTER */
footer {
  background: #222E3A;
  color: #fff;
  padding: 32px 0 26px 0;
  font-size: 1rem;
  margin-top: 64px;
}
footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
footer img {
  height: 40px;
  width: auto;
}
.footer-nav {
  display: flex;
  gap: 22px;
}
.footer-nav a {
  color: #97C1E9;
  font-weight: 400;
  padding: 4px 6px;
  border-radius: 5px;
  transition: background 0.14s, color 0.12s;
  font-size: 0.98rem;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #344356;
  color: #F8CB2E;
}
footer div:last-child {
  font-size: 0.96rem;
}
@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .footer-nav {
    gap: 14px;
  }
}

/* LEGAL PAGES */
.legal h1, .legal h2, .legal h3 {
  color: #222E3A;
}
.legal .text-section {
  color: #222E3A;
  font-size: 1rem;
  margin-bottom: 10px;
}
.legal a {
  color: #345E97;
  text-decoration: underline;
}
.legal a:hover, .legal a:focus {
  color: #F8CB2E;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  background: #222E3A;
  color: #fff;
  width: 100%;
  z-index: 2000;
  box-shadow: 0 -8px 28px 0 rgba(34,46,58,0.13);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 40px 20px 24px;
  font-size: 1rem;
  animation: cookieBannerSlideUp 0.7s cubic-bezier(.44,1.65,.36,1) 1;
}
@keyframes cookieBannerSlideUp {
  from { transform: translateY(60px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner__message {
  flex: 3;
  min-width: 0;
}
.cookie-banner__actions {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.cookie-banner button,.cookie-banner .button{
  padding: 8px 18px;
  border-radius: 7px;
  border: none;
  font-size: 1rem;
  font-family: 'Roboto Slab', 'Georgia', serif;
  font-weight: 700;
  cursor: pointer;
  background: #F8CB2E;
  color: #222E3A;
  transition: background 0.14s, color 0.14s;
  margin-left: 2px;
}
.cookie-banner button:hover,
.cookie-banner .button:focus {
  background: #ffe07a;
  color: #223D77;
}
.cookie-banner button.cookie-banner__reject {
  background: #e2eaf2;
  color: #222E3A;
}
.cookie-banner button.cookie-banner__reject:hover {
  background: #BFCBD9;
}
.cookie-banner .button--settings {
  background: #97C1E9;
  color: #222E3A;
}
.cookie-banner .button--settings:hover {
  background: #eaf0f8;
  color: #345E97;
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 14px;
    gap: 14px;
    font-size: 1rem;
  }
  .cookie-banner__actions {
    flex-direction: row;
    gap: 8px;
    width: 100%;
    justify-content: flex-start;
  }
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  position: fixed;
  z-index: 2020;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(34,46,58,0.54);
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: auto;
}
.cookie-modal__content {
  background: #fff;
  color: #222E3A;
  border-radius: 14px;
  box-shadow: 0 8px 48px 0 rgba(34,46,58,0.27);
  padding: 38px 34px 28px 34px;
  max-width: 410px;
  width: 94vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: cookieModalFadeIn 0.45s;
}
@keyframes cookieModalFadeIn {
 from { opacity: 0; transform: scale(0.96); }
 to { opacity: 1; transform: scale(1); }
}
.cookie-modal__close {
  position: absolute;
  right: 30px;
  top: 18px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #222E3A;
  cursor: pointer;
  z-index: 2021;
}
.cookie-modal__categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal__category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.02rem;
}
.cookie-modal__category-label {
  flex: 1;
}
.cookie-switch {
  width: 38px;
  height: 20px;
  background: #dbe9f6;
  border-radius: 20px;
  position: relative;
  cursor: pointer;
  transition: background 0.15s;
  margin-left: 3px;
}
.cookie-switch input[type="checkbox"] {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-switch__slider {
  position: absolute;
  height: 18px;
  width: 18px;
  border-radius: 50%;
  left: 1px; top: 1px;
  background: #97C1E9;
  transition: left 0.22s cubic-bezier(.68,-0.55,.27,1.55);
}
.cookie-switch input[type="checkbox"]:checked + .cookie-switch__slider {
  left: 19px;
  background: #F8CB2E;
}
.cookie-modal__category--essential .cookie-switch {
  background: #97C1E9;
  cursor: not-allowed;
}
.cookie-modal__category--essential .cookie-switch__slider {
  background: #F8CB2E;
}
.cookie-modal__actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.cookie-modal__actions button {
  padding: 9px 21px;
  font-size: 1.04rem;
  border-radius: 7px;
  font-family: 'Roboto Slab', 'Georgia', serif;
  font-weight: 700;
  border: none;
  cursor: pointer;
  background: #97C1E9;
  color: #222E3A;
  transition: background 0.14s, color 0.12s;
}
.cookie-modal__actions button:hover, .cookie-modal__actions button:focus {
  background: #F8CB2E;
  color: #222E3A;
}
@media (max-width: 480px) {
  .cookie-modal__content {
    padding: 18px 4vw 16px 4vw;
    max-width: 96vw;
  }
  .cookie-modal__close {
    right: 8px; top: 5px;
  }
}

/* FORMS (for Kontakt) */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  padding: 10px 13px;
  border: 1px solid #BFCBD9;
  border-radius: 7px;
  margin-bottom: 16px;
  background: #f7fafc;
  outline: none;
  width: 100%;
  transition: border 0.15s, box-shadow 0.13s;
}
input:focus, textarea:focus, select:focus {
  border-color: #97C1E9;
  box-shadow: 0 0 0 2px #BEE2FC;
}
label {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 600;
  margin-bottom: 6px;
}

/* Animations/Micro-interactions */
.cta, .button, .main-nav a, .footer-nav a, .feature-grid > div, .testimonial-card, .mobile-nav a, .cookie-banner button, .cookie-modal__actions button {
  transition: box-shadow 0.2s, background 0.18s, color 0.16s, border 0.18s, transform 0.18s;
}
.cta:active, .button:active {
  transform: translateY(1px) scale(0.99);
}
.feature-grid > div:active, .testimonial-card:active {
  transform: scale(0.98);
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .container {
    padding: 0 6px;
  }
  .section, .legal {
    padding: 18px 4px;
    margin-bottom: 32px;
  }
  .footer-nav {
    flex-wrap: wrap;
    gap: 7px;
  }
  .content-wrapper {
    gap: 14px;
  }
}

/* Accessibility / Contrast Improvements */
.testimonial-card p, .testimonial-author {
  color: #222E3A;
  background: none;
}
.testimonial-card {
  background: #fff;
}

/* Utility classes (occasionally used for space) */
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.pb-2 { padding-bottom: 16px; }

/* Hide visually, but accessible to screen readers */
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(1px,1px,1px,1px) !important; white-space: nowrap !important; border: 0 !important; }

/* END OF CSS */
