/* ================================================================== */
/* RESET & BASE TYPOGRAPHY */
/* ================================================================== */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #fff;
  color: #181818;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #264653;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:active {
  color: #111;
}
ul, ol {
  padding-left: 1.5em;
}
th, td {
  padding: 12px 18px;
  text-align: left;
}

/* ================================================================== */
/* BRAND FONTS */
/* ================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.18;
  color: #000;
  letter-spacing: -0.009em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.38rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.08rem;
  margin-bottom: 8px;
  font-weight: 600;
}
p {
  margin-bottom: 18px;
  font-size: 1rem;
  color: #232323;
}
strong {
  color: #181818;
  font-weight: 700;
}

/* ================================================================== */
/* LAYOUT CONTAINERS */
/* ================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section,
.features,
.features-network,
.features-membership,
.features-events,
.features-investors,
.features-projects,
.resources-investors,
.membership-comparison,
.events-calendar,
.about-values,
.team,
.process-invest,
.process-presentation,
.contacts,
.faq,
.privacy-policy,
.cookie-policy,
.terms-of-use,
.gdpr,
.thankyou {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
}

.content-wrapper,
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(24,24,24,0.07);
  transition: box-shadow 0.18s, transform 0.18s;
  overflow: hidden;
}
.card:hover {
  box-shadow: 0 4px 32px rgba(24,24,24,0.13);
  transform: translateY(-2px) scale(1.01);
}

.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: #f6f6f6;
  border-radius: 14px;
  box-shadow: 0 1px 7px rgba(0,0,0,0.05);
  min-width: 260px;
  margin-bottom: 20px;
  flex: 1 1 320px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 7px rgba(0,0,0,0.05);
  padding: 32px 22px;
  flex: 1 1 220px;
  min-width: 240px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.feature-item:hover {
  box-shadow: 0 4px 24px rgba(38,70,83,0.09);
  transform: translateY(-2px) scale(1.01);
}

/* ================================================================== */
/* HEADER & NAVIGATION */
/* ================================================================== */
header {
  background: #fff;
  border-bottom: 1px solid #e2e2e2;
  box-shadow: 0 0.5px 0 #e5e5e5;
  padding: 0 0 0 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  height: 70px;
  padding-top: 0;
  padding-bottom: 0;
  gap: 18px;
}
header a img {
  height: 44px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #181818;
  font-weight: 600;
  font-size: 1.07rem;
  padding: 6px 0;
  position: relative;
  transition: color 0.22s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #264653;
}
.cta-primary {
  display: inline-block;
  background: #264653;
  color: #fff;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 28px;
  margin-left: 14px;
  text-align: center;
  letter-spacing: 0.03em;
  box-shadow: 0 1px 7px rgba(38,70,83, 0.06);
  transition: background 0.2s, color 0.2s, box-shadow 0.15s, transform 0.18s;
}
.cta-primary:hover, .cta-primary:focus {
  background: #181818;
  color: #fff;
  box-shadow: 0 3px 14px rgba(0,0,0,0.13);
  transform: translateY(-1px) scale(1.03);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #264653;
  font-size: 2.1rem;
  padding: 4px 12px;
  margin-left: 10px;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 1200;
}
.mobile-menu-toggle:focus {
  outline: 2px dashed #264653;
}

/* ================================================================== */
/* MOBILE MENU OVERLAY */
/* ================================================================== */
.mobile-menu {
  position: fixed;
  inset: 0;
  left: 0; right: 0; top: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24,24,24,0.93);
  z-index: 1250;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  pointer-events: none;
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 0.28s cubic-bezier(.87,.16,.16,.87), transform 0.33s cubic-bezier(.87,.16,.16,.87);
}
.mobile-menu.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 16px;
  right: 30px;
  font-size: 2.2rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  z-index: 1300;
  transition: color 0.2s;
}
.mobile-menu-close:focus {
  outline: 2px solid #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  background: #fff;
  min-width: 260px;
  max-width: 340px;
  height: 100vh;
  padding: 56px 18px 20px 34px;
  box-shadow: -10px 0 28px rgba(0,0,0,0.15);
  border-top-left-radius: 18px;
  border-bottom-left-radius: 18px;
  gap: 18px;
}
.mobile-nav a {
  color: #181818;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.16rem;
  font-weight: 600;
  padding: 13px 5px;
  border-radius: 7px;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: #264653;
  color: #fff;
}

/* Hide main nav/cta on mobile, show burger */
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ================================================================== */
/* HERO SECTION */
/* ================================================================== */
.hero {
  background: linear-gradient(135deg,#fafbfc 0%,#f6f1ee 100%);
  padding-top: 54px;
  padding-bottom: 54px;
  border-bottom: 1px solid #e6e6e6;
  margin-bottom: 60px;
}
.hero .content-wrapper {
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
}
.hero h1 {
  color: #181818;
  font-size: 2.4rem;
  letter-spacing: -0.01em;
}
.hero p {
  font-size: 1.18rem;
  max-width: 650px;
  margin-bottom: 0;
  color: #282828;
  font-weight: 400;
}

/* ================================================================== */
/* FEATURES GRID (vorteile, member-benefits, etc) */
/* ================================================================== */
.feature-grid {
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}
.feature-item img {
  width: 44px;
  height: 44px;
  filter: grayscale(100%) contrast(1.2) brightness(0.95);
  opacity: 0.92;
}
.feature-item h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.feature-item p {
  margin-bottom: 0;
  color: #1a1a1a;
  font-size: 1rem;
}

/* ================================================================== */
/* SECTION & SPACING PATTERNS */
/* ================================================================== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container,
.features,
.feature-grid,
.content-grid {
  gap: 24px;
}
.card {
  margin-bottom: 20px;
}
.text-image-section {
  gap: 30px;
  align-items: center;
  flex-wrap: wrap;
}
.testimonial-card {
  padding: 20px;
  gap: 20px;
  align-items: center;
}
.feature-item {
  gap: 15px;
  align-items: flex-start;
}
.content-wrapper {
  gap: 20px;
}

@media (max-width: 768px) {
  .content-wrapper,
  .feature-grid,
  .content-grid,
  .footer-main {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 20px;
  }
  .feature-item, .testimonial-card {
    min-width: unset;
    width: 100%;
  }
  .hero {
    padding-top: 30px;
    padding-bottom: 38px;
    margin-bottom: 32px;
  }
  header .container {
    height: auto;
    min-height: 54px;
    padding-top: 8px;
    padding-bottom: 8px;
    gap: 10px;
  }
  .hero h1 {
    font-size: 2rem;
  }
}

/* ================================================================== */
/* TABLES, ABOUT, FAQ, TEAM AND TEXT-IMAGE SECTION */
/* ================================================================== */
table {
  width: 100%;
  border: 1px solid #d5d5d5;
  border-radius: 7px;
  border-collapse: collapse;
  background: #f8f8f8;
  margin-bottom: 20px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
}
thead {
  background: #eaeaea;
}
th {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #181818;
  font-size: 1.05rem;
  border-bottom: 1px solid #ccc;
}
td {
  color: #333;
  font-size: 1rem;
  border-bottom: 1px solid #eee;
}
tr:last-child td {
  border-bottom: none;
}
.text-section {
  flex: 1 1 380px;
  padding: 8px 0 8px 0;
  word-break: break-word;
}
.text-section ul, .text-section ol {
  margin-bottom: 18px;
}
.text-section h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
  margin-top: 16px;
  color: #222;
}

/* ================================================================== */
/* TESTIMONIALS */
/* ================================================================== */
.testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 22px;
}
.testimonial-card {
  background: #FAF9F8;
  color: #121212;
  box-shadow: 0 2px 16px rgba(53,53,53,0.08);
  border-radius: 14px;
  flex: 1 1 300px;
  min-width: 270px;
  font-size: 1.08rem;
  position: relative;
}
.testimonial-card p {
  font-style: italic;
  color: #222;
  font-size: 1.07rem;
}
.testimonial-card span {
  font-size: 0.96rem;
  color: #888;
  margin-left: 9px;
}

/* ================================================================== */
/* EVENTS AND EVENT-CALENDAR */
/* ================================================================== */
.events-highlight-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.event-item {
  background: #fff;
  box-shadow: 0 1px 7px rgba(24,24,24,0.09);
  border-radius: 12px;
  padding: 26px 18px 22px 18px;
  flex: 1 1 280px;
  min-width: 235px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.18s;
  border-left: 6px solid #264653;
}
.event-item:hover {
  box-shadow: 0 3px 18px rgba(38,70,83,0.13);
  transform: translateY(-2px) scale(1.01);
}
.event-registration-cta {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
}

/* ================================================================== */
/* CTA SECTION */
/* ================================================================== */
.cta {
  background: #264653;
  color: #fff;
  padding: 50px 0 48px 0;
  border-radius: 34px;
  box-shadow: 0 2px 18px rgba(38,70,83,0.09);
  margin-bottom: 44px;
}
.cta .content-wrapper {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.cta h2 {
  color: #fff;
  font-size: 2rem;
  margin: 0 0 10px 0;
}
.cta a.cta-primary {
  margin-left: 0;
  background: #fff;
  color: #264653;
  transition: background 0.2s, color 0.2s, box-shadow 0.16s, transform 0.16s;
  box-shadow: 0 1px 14px rgba(255,255,255,0.09);
}
.cta a.cta-primary:hover,
.cta a.cta-primary:focus {
  background: #181818;
  color: #fff;
  transform: translateY(-1px) scale(1.03);
}

@media (max-width: 900px) {
  .cta {
    border-radius: 18px;
    padding: 36px 0 30px 0;
  }
  .cta h2 {
    font-size: 1.5rem;
  }
}

/* ================================================================== */
/* FOOTER */
/* ================================================================== */
footer {
  background: #181818;
  color: #fff;
  padding-top: 40px;
  padding-bottom: 0;
}
.footer-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding-bottom: 32px;
}
.footer-logo img {
  height: 38px;
  width: auto;
  filter: grayscale(1) brightness(2.6);
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.footer-nav a {
  color: #f6f1ee;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  opacity: 0.93;
  transition: color 0.13s, opacity 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #f6f1ee;
  opacity: 1;
  text-decoration: underline;
}
.footer-contact p, .footer-contact a {
  font-size: 0.99rem;
  color: #dcdcdc;
  opacity: 0.95;
}
.footer-contact img {
  width: 16px;
  height: 16px;
  margin-right: 7px;
  display: inline-block;
  vertical-align: middle;
}
.footer-social {
  display: flex;
  gap: 14px;
}
.footer-social a img {
  width: 28px;
  height: 28px;
  filter: grayscale(1) brightness(1.9);
  opacity: 0.72;
  transition: filter 0.15s, opacity 0.15s;
}
.footer-social a:hover img {
  opacity: 1;
  filter: grayscale(0) brightness(1.1);
}
.footer-legal {
  text-align: center;
  padding: 14px 0 10px 0;
  color: #e5e5e5;
  font-size: 0.95rem;
  opacity: 0.92;
}

@media (max-width: 900px) {
  .footer-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }
}

/* ================================================================== */
/* FORMS & FAQ */
/* ================================================================== */
input,
select,
textarea {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid #bbb;
  background: #fafbfc;
  color: #222;
  margin-bottom: 14px;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus,
select:focus,
textarea:focus {
  border-color: #264653;
  outline: none;
  box-shadow: 0 2px 8px #26465310;
}
label {
  font-size: 1rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
}
button,
input[type="submit"] {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  background: #264653;
  color: #fff;
  border: 0;
  padding: 12px 32px;
  border-radius: 27px;
  font-size: 1.08rem;
  cursor: pointer;
  transition: background 0.16s, box-shadow 0.17s, color 0.13s, transform 0.16s;
}
button:hover,
input[type="submit"]:hover,
button:focus {
  background: #181818;
  color: #fff;
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 2px 8px #0001;
}

/* ================================================================== */
/* MAP LOCATION in kontakt.html */
/* ================================================================== */
.map-location {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.map-location img {
  width: 100%;
  max-width: 390px;
  border-radius: 16px;
  box-shadow: 0 1px 8px rgba(24,24,24,0.08);
}

/* ================================================================== */
/* COOKIE BANNER & CONSENT MODAL */
/* ================================================================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #181818;
  color: #fff;
  z-index: 2000;
  border-top: 2px solid #264653;
  box-shadow: 0 -2px 14px rgba(38,70,83, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 24px 12px 18px 12px;
  font-size: 1rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: opacity 0.22s, transform 0.32s;
}
.cookie-banner.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-banner .cookie-banner-content {
  flex: 1 1 300px;
  min-width: 220px;
  max-width: 580px;
  color: #fff;
}
.cookie-banner .cookie-btns {
  display: flex;
  align-items: center;
  gap: 13px;
}
.cookie-banner button {
  border: none;
  padding: 11px 23px;
  border-radius: 21px;
  font-size: 1rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  margin: 0 3px;
  background: #264653;
  color: #fff;
  transition: background 0.18s, color 0.18s, box-shadow 0.17s, transform 0.12s;
}
.cookie-banner button.accept {
  background: #264653;
  color: #fff;
}
.cookie-banner button.reject {
  background: #e0e0e0;
  color: #222;
}
.cookie-banner button.settings {
  background: #181818;
  color: #fff;
  border: 1px solid #fff;
  opacity: 0.85;
}
.cookie-banner button:focus,
.cookie-banner button:hover {
  background: #55828B;
  color: #fff;
  opacity: 1;
}

/* Cookie Modal Overlay */
.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(20,20,20,0.93);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.cookie-modal.visible {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-dialog {
  background: #fff;
  color: #181818;
  border-radius: 18px;
  max-width: 420px;
  min-width: 260px;
  padding: 34px 28px 24px 28px;
  box-shadow: 0 6px 28px rgba(38,70,83,0.12);
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  position: relative;
}
.cookie-modal-dialog h2 {
  font-size: 1.32rem;
  margin-bottom: 10px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}
.cookie-modal-dialog .cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.cookie-modal-dialog label {
  font-size: 1rem;
  color: #222;
  margin-bottom: 0;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}
.cookie-modal-dialog .always-on {
  color: #339966;
  font-weight: 700;
  margin-left: 8px;
  font-size: 0.93rem;
}
.cookie-modal-dialog input[type="checkbox"] {
  accent-color: #264653;
  width: 20px;
  height: 20px;
  margin-right: 4px;
}
.cookie-modal-dialog .cookie-modal-actions {
  display: flex;
  gap: 14px;
  width: 100%;
  justify-content: flex-end;
}
.cookie-modal-dialog button {
  font-size: 0.99rem;
  border-radius: 19px;
  padding: 10px 22px;
}
.cookie-modal-close {
  position: absolute;
  top: 10px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #444;
  cursor: pointer;
  z-index: 10;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  color: #264653;
}

@media (max-width: 550px) {
  .cookie-modal-dialog {
    max-width: 92vw;
    padding: 23px 9vw 19px 9vw;
  }
}

/* ================================================================== */
/* UTILITY CLASSES & EFFECTS */
/* ================================================================== */
.shadow-md {
  box-shadow: 0 3px 26px rgba(0,0,0,0.08);
}
.rounded {
  border-radius: 14px;
}
.hide {
  display: none !important;
}
.visible {
  display: block !important;
}

/* ================================================================== */
/* RESPONSIVENESS */
/* ================================================================== */
@media (max-width: 1235px) {
  .container {
    max-width: 100vw;
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 1024px) {
  .feature-grid,
  .events-highlight-list,
  .footer-main {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .footer-main {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .feature-item,
  .testimonial-card,
  .event-item {
    min-width: unset;
    width: 100%;
    flex: 1 1 100%;
  }
  .event-registration-cta {
    justify-content: center;
  }
  .map-location img {
    max-width: 98vw;
  }
}
@media (max-width: 600px) {
  h1 {
    font-size: 1.6rem;
  }
  h2 {
    font-size: 1.27rem;
  }
  .footer-main {
    gap: 10px;
  }
  .footer-logo img {
    height: 28px;
  }
  .hero {
    padding-left: 2vw;
    padding-right: 2vw;
  }
  .cookie-modal-dialog {
    min-width: 180px;
    padding: 13px 4vw 13px 4vw;
  }
}

/* ======================== END OF CSS ============================ */