/* ========================
   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,
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
html {
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background-color: #1D2229;
  color: #F5F3F0;
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.02em;
}
img, svg {
  max-width: 100%;
  display: block;
}
a {
  color: #8FC1B5;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F5F3F0;
  outline: none;
}
ul, ol {
  list-style: none;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

/* =========================
   TYPOGRAPHY
   ========================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #F5F3F0;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.4rem;
}
h4 {
  font-size: 1.1rem;
}
p, li, address {
  font-size: 1rem;
  color: #DADADC;
  margin-bottom: 12px;
}
strong {
  color: #8FC1B5;
  font-weight: 600;
}

/* =========================
   LAYOUT STRUCTURE / CONTAINERS
   ========================= */
.container {
  width: 100%;
  max-width: 1216px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(34, 51, 77, 0.97);
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(30,38,54,0.11), 0 1.5px 3px 0 rgba(80,90,110,0.10);
  position: relative;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #252F3E;
  color: #F5F3F0;
  margin-bottom: 20px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  min-width: 260px;
  max-width: 390px;
  flex: 1 1 300px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.card:hover {
  box-shadow: 0 10px 36px rgba(60,80,110,0.19);
  background: #2B384E;
}

.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;
  background: #F5F3F0;
  color: #22334D;
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(34,51,77,0.09);
  margin-bottom: 20px;
  flex-direction: column;
}
.testimonial-card p {
  color: #22334D;
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.testimonial-card span {
  font-size: 0.95rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #48506A;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* =========================
   NAVIGATION
   ========================= */
header {
  background-color: #1D2229;
  border-bottom: 1.5px solid #48506A;
  box-shadow: 0 1px 8px 0 rgba(80,90,110,0.10);
  z-index: 50;
  position: sticky;
  top: 0;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 0px;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.main-nav a {
  color: #F5F3F0;
  padding: 7px 13px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #22334D;
  color: #8FC1B5;
}
.main-nav a.cta-primary {
  background: #8FC1B5;
  color: #22334D;
  font-weight: 700;
  border-radius: 6px;
  padding: 7px 19px;
  box-shadow: 0 2px 8px 0 rgba(143,193,181,0.10);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.main-nav a.cta-primary:hover, .main-nav a.cta-primary:focus {
  background: #F5F3F0;
  color: #22334D;
  box-shadow: 0 4px 16px 0 rgba(143,193,181,0.18);
}

/* =========================
   HERO SECTIONS, CTA BANNERS
   ========================= */
.hero-section {
  background: linear-gradient(120deg, #22334D 80%, #1D2229 100%);
  padding: 48px 0 36px 0;
  min-height: 270px;
  margin-bottom: 40px;
}
.hero-section .container {
  display: flex;
  align-items: center;
  min-height: 220px;
}
.hero-section h1 {
  color: #F5F3F0;
  font-size: 2.3rem;
  margin-bottom: 8px;
}
.hero-section h2, .hero-section p {
  color: #B9BFC5;
  font-size: 1.18rem;
}
.hero-section .cta-primary {
  margin-top: 18px;
}

.cta-banner-section {
  background: #252F3E;
  border-radius: 18px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 2px 12px rgba(34,51,77,0.05);
}
.cta-banner-section h2, .cta-banner-section p {
  color: #F5F3F0;
}
.cta-banner-section a.cta-primary {
  margin-top: 14px;
}

/* =========================
   LISTS, FEATURES, TIMELINE
   ========================= */
.features-section, .about-preview-section, .services-preview-section, .publications-section, .workshop-list-section {
  margin-bottom: 60px;
}
.features-section ul, .about-preview-section ul, .services-preview-section ul, .workshop-list-section ul, .timeline-section ul, .case-study-section ul, .publications-section ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 16px;
  list-style: none;
}
.features-section ul li, .about-preview-section ul li, .services-preview-section ul li, .workshop-list-section ul li, .timeline-section ul li, .case-study-section ul li, .publications-section ul li {
  background: #222A36;
  border-radius: 10px;
  color: #F5F3F0;
  padding: 18px 18px 16px 16px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 2px 10px rgba(34,51,77,0.06);
  font-size: 1.05rem;
}
.features-section ul li img,
.features-section ul li svg {
  width: 32px;
  height: 32px;
  margin-right: 6px;
  filter: grayscale(80%) contrast(1.4);
}
.timeline-section ul li strong {
  font-size: 1.08em;
  color: #8FC1B5;
  font-weight: 700;
  margin-right: 10px;
}

/* =========================
   BUTTONS & CTA
   ========================= */
.cta-primary, .cta-secondary {
  display: inline-block;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  padding: 10px 28px;
  border-radius: 7px;
  box-shadow: 0 2px 8px 0 rgba(143,193,181,0.10);
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 6px;
  transition: background 0.16s, color 0.18s, box-shadow 0.18s, transform 0.18s;
}
.cta-primary {
  background: #8FC1B5;
  color: #183248;
}
.cta-primary:hover, .cta-primary:focus {
  background: #F5F3F0;
  color: #22334D;
  box-shadow: 0 7px 24px 0 rgba(143,193,181,0.24);
  transform: translateY(-2px) scale(1.03);
}
.cta-secondary {
  background: transparent;
  color: #8FC1B5;
  border: 2px solid #8FC1B5;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #8FC1B5;
  color: #22334D;
  box-shadow: 0 7px 24px 0 rgba(143,193,181,0.12);
  transform: translateY(-2px) scale(1.03);
}

/* =========================
   FOOTER
   ========================= */
footer {
  background: #181C23;
  border-top: 1.5px solid #48506A;
  margin-top: 70px;
}
footer .container {
  padding: 24px 20px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 8px;
}
.footer-nav a {
  color: #8FC1B5;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
  font-weight: 500;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #F5F3F0;
  text-decoration: underline;
}
.newsletter-signup {
  max-width: 340px;
  color: #C5D2D4;
}
.newsletter-signup h3 {
  color: #8FC1B5;
  font-size: 1rem;
  margin-bottom: 8px;
}
.brand-signature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.97rem;
  opacity: 0.69;
}
.brand-signature img {
  height: 36px;
  margin-right: 6px;
}

/* =========================
   MAP PLACEHOLDER (Kontakt)
   ========================= */
.map-placeholder {
  background: #19212A;
  color: #B9BFC5;
  border: 1.5px dashed #8FC1B5;
  border-radius: 10px;
  padding: 20px;
  margin-top: 24px;
  box-shadow: 0 1.5px 8px 0 rgba(143,193,181,0.09);
}

.faq-accordion > div {
  background: #252F3E;
  border-radius: 9px;
  padding: 16px 14px;
  margin-bottom: 16px;
  box-shadow: 0 2px 6px rgba(34,51,77,0.05);
}
.faq-accordion h3 {
  margin-bottom: 8px;
  color: #8FC1B5;
  font-size: 1.05rem;
}

.thank-you-section {
  background: #8FC1B5;
  color: #22334D;
  border-radius: 15px;
  margin-bottom: 60px;
  padding: 48px 24px 48px 24px;
  box-shadow: 0 2px 16px rgba(34,51,77,0.06);
}
.thank-you-section h1, .thank-you-section p, .thank-you-section ul li {
  color: #22334D;
}
.thank-you-section .cta-primary {
  margin-top: 24px;
}

.legal-section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #253049;
  border-radius: 18px;
  color: #F5F3F0;
  box-shadow: 0 4px 24px rgba(80,90,110,0.09);
}

/* =========================
   MOBILE NAVIGATION
   ========================= */
.mobile-menu-toggle {
  display: none;
  background: #8FC1B5;
  color: #22334D;
  padding: 10px 16px;
  font-size: 1.85rem;
  border-radius: 7px;
  margin-left: auto;
  z-index: 120;
  transition: background 0.18s, color 0.16s, transform 0.16s;
  box-shadow: 0 2px 8px rgba(143,193,181,0.10);
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #F5F3F0;
  color: #22334D;
  outline: none;
  transform: scale(1.08);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34, 51, 77, 0.98);
  z-index: 200;
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(0.7,0.16,0.28,1.0);
  box-shadow: 10px 0 28px 0 rgba(34,51,77,0.14);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 18px 24px 0 0;
  font-size: 2rem;
  color: #8FC1B5;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.16s, transform 0.16s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #F5F3F0;
  transform: scale(1.12);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  margin-top: 34px;
  padding: 0 34px;
}
.mobile-nav a {
  color: #F5F3F0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  padding: 12px 6px;
  border-radius: 6px;
  background: transparent;
  margin-bottom: 4px;
  transition: background 0.18s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #8FC1B5;
  color: #22334D;
}

/* =========================
   COOKIE CONSENT BANNER/MODAL
   ========================= */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #252F3E;
  color: #F5F3F0;
  box-shadow: 0 -2px 20px 0 rgba(34,51,77,0.13);
  padding: 28px 24px 18px 24px;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 1rem;
  animation: cookieFadeIn 0.6s;
}
@keyframes cookieFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 14px;
  margin-left: auto;
  flex-wrap: wrap;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 7px;
  border: none;
  padding: 9px 16px;
  font-weight: 600;
  margin-right: 3px;
  margin-top: 3px;
  cursor: pointer;
  transition: background 0.17s, color 0.17s, transform 0.15s;
}
.cookie-banner .btn-accept {
  background: #8FC1B5;
  color: #22334D;
}
.cookie-banner .btn-accept:hover, .cookie-banner .btn-accept:focus {
  background: #F5F3F0;
  color: #22334D;
  transform: translateY(-2px);
}
.cookie-banner .btn-reject {
  background: #48506A;
  color: #F5F3F0;
}
.cookie-banner .btn-reject:hover, .cookie-banner .btn-reject:focus {
  background: #F5F3F0;
  color: #22334D;
  transform: translateY(-2px);
}
.cookie-banner .btn-settings {
  background: transparent;
  border: 2px solid #8FC1B5;
  color: #8FC1B5;
}
.cookie-banner .btn-settings:hover, .cookie-banner .btn-settings:focus {
  background: #8FC1B5;
  color: #22334D;
  transform: translateY(-2px);
}
/* Cookie Modal Overlay */
.cookie-modal-overlay {
  position: fixed;
  z-index: 600;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34,51,77,0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #F5F3F0;
  color: #22334D;
  border-radius: 20px;
  max-width: 430px;
  width: 90%;
  padding: 34px 34px 28px 34px;
  box-shadow: 0 8px 40px 0 rgba(34,51,77,0.15);
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: cookieModalIn 0.4s;
  position: relative;
}
@keyframes cookieModalIn {
  from { opacity: 0; transform: scale(0.92) translateY(60px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal-close {
  position: absolute;
  right: 19px;
  top: 15px;
  background: transparent;
  border: none;
  font-size: 1.6rem;
  color: #8FC1B5;
  cursor: pointer;
  border-radius: 50%;
  transition: color 0.14s, background 0.15s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #8FC1B5;
  color: #22334D;
}
.cookie-modal h2 {
  color: #22334D;
  font-size: 1.3rem;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-modal .cookie-cat-item {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #e1eeea;
  padding: 10px 14px 10px 14px;
  border-radius: 7px;
}
.cookie-modal .cookie-cat-item label {
  font-weight: 600;
  color: #22334D;
  font-size: 1rem;
}
.cookie-modal .cookie-cat-switch {
  margin-left: auto;
}
.cookie-modal .cookie-cat-switch input[type=checkbox] {
  width: 44px;
  height: 22px;
  appearance: none;
  border-radius: 12px;
  background: #C5D2D4;
  box-shadow: inset 0 1.5px 2px #8FC1B5;
  outline: none;
  position: relative;
  transition: background 0.16s;
}
.cookie-modal .cookie-cat-switch input[type=checkbox]:checked {
  background: #8FC1B5;
}
.cookie-modal .cookie-cat-switch input[type=checkbox]::before {
  content: '';
  position: absolute;
  height: 20px;
  width: 20px;
  left: 0px;
  top: 1px;
  background: #F5F3F0;
  border-radius: 50%;
  transition: transform 0.19s;
  box-shadow: 1px 2px 4px 0 rgba(34,51,77,0.06);
}
.cookie-modal .cookie-cat-switch input[type=checkbox]:checked::before {
  transform: translateX(22px);
}
.cookie-modal .cookie-cat-switch input[type=checkbox][disabled] {
  background: #AEBCB6;
  cursor: default;
}
.cookie-modal .cookie-cat-switch input[type=checkbox][disabled]::before {
  background: #DADADC;
}

.cookie-modal .cookie-actions {
  display: flex;
  gap: 13px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.cookie-modal .cookie-actions button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 7px;
  padding: 8px 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.17s, color 0.17s, transform 0.15s;
  border: none;
}
.cookie-modal .cookie-actions .btn-accept {
  background: #8FC1B5;
  color: #22334D;
}
.cookie-modal .cookie-actions .btn-accept:hover,
.cookie-modal .cookie-actions .btn-accept:focus {
  background: #22334D;
  color: #8FC1B5;
  transform: translateY(-2px);
}
.cookie-modal .cookie-actions .btn-reject {
  background: #48506A;
  color: #F5F3F0;
}
.cookie-modal .cookie-actions .btn-reject:hover,
.cookie-modal .cookie-actions .btn-reject:focus {
  background: #8FC1B5;
  color: #22334D;
  transform: translateY(-2px);
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 1100px) {
  .content-wrapper, footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }
  .footer-nav {
    justify-content: flex-start;
    gap: 14px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 100vw;
    padding-left: 10px;
    padding-right: 10px;
  }
  .section {
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.35rem;
  }
  main, .section, .hero-section, .cta-banner-section {
    padding-left: 0;
    padding-right: 0;
  }
  .container {
    padding: 0 6px;
  }
  .content-grid, .card-container, .features-section ul, .about-preview-section ul,
  .services-preview-section ul, .timeline-section ul, .workshop-list-section ul, .publications-section ul {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    margin: 14px 15px 14px auto;
  }
  .mobile-menu {
    display: flex;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 440px) {
  .card, .section, .hero-section, .cta-banner-section {
    padding: 20px 3px;
    border-radius: 11px;
  }
  .cookie-modal {
    padding: 15px 6px 15px 6px;
    border-radius: 12px;
  }
}
