/* =============================================================
   CSS RESET & NORMALIZATION (mobile-first)
   ============================================================= */
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,main,menu,nav,section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F1F3F8;
  color: #232A33;
}
img, svg {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #1C355E;
  text-decoration: none;
  background: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #6EB8D6;
  outline-offset: 2px;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}

/* =============================================================
   SCANDINAVIAN-CLEAN BRAND TYPOGRAPHY
   ============================================================= */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500,400|Open+Sans:400,600,700&display=swap');

body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  background: #F1F3F8;
  color: #232A33;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #1C355E;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; line-height: 1.1; }
h2 { font-size: 2rem; margin-bottom: 20px; line-height: 1.2; }
h3 { font-size: 1.33rem; margin-bottom: 12px; line-height: 1.3; }
h4 { font-size: 1.1rem; margin-bottom: 10px; }
p, blockquote {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  margin-bottom: 16px;
}
strong, b {
  font-weight: 700;
}

/* =============================================================
   LAYOUT CONTAINERS (Spaced, Flex: scandinavian_clean)
   ============================================================= */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 10px 0 rgba(70,90,110,0.04);
}
@media (max-width: 768px) {
  .section {
    padding: 26px 8px;
    border-radius: 13px;
  }
}

/* =============================================================
   HEADER & NAVIGATION
   ============================================================= */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(40,56,80,.08);
  padding: 0;
  z-index: 888;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo img {
  height: 46px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #1C355E;
  opacity: 0.95;
  padding: 7px 0;
  border-radius: 4px;
  transition: background 0.15s, color 0.18s;
}
.main-nav a:not(.cta-btn):hover {
  color: #15509B;
  background: #F1F3F8;
}
.main-nav .cta-btn {
  margin-left: 22px;
  background: #1C355E;
  color: #fff;
  border-radius: 8px;
  padding: 7px 20px;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 2px 12px 0 rgba(30,40,60,0.08);
  transition: background 0.13s, color 0.15s, box-shadow 0.19s;
}
.main-nav .cta-btn:hover {
  background: #6EB8D6;
  color: #1C355E;
  box-shadow: 0 4px 20px 0 rgba(30,80,140,0.10);
}

/* Hamburger mobile menu toggle */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  font-size: 2.2rem;
  color: #1C355E;
  padding: 6px 13px;
  margin: 0 0 0 18px;
  border-radius: 8px;
  aspect-ratio: 1/1;
  cursor: pointer;
  transition: background 0.18s;
  z-index: 9999;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #F1F3F8;
}

@media (min-width: 1000px) {
  .mobile-menu-toggle {
    display: none;
  }
}

@media (max-width: 999px) {
  .main-nav {
    display: none;
  }
}


/* =============================================================
   MOBILE MENU OVERLAY
   ============================================================= */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  height: 100dvh;
  width: 100vw;
  padding: 34px 30px 20px 30px;
  background: #F1F3F8;
  box-shadow: 0 8px 20px 0 rgba(30,40,60,.18);
  z-index: 9999;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(0.62,0.05,0.36,1);
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: transparent;
  border: none;
  font-size: 2.1rem;
  color: #1C355E;
  align-self: flex-end;
  margin-bottom: 26px;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #E6ECF1;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: #1C355E;
  border-radius: 8px;
  padding: 8px 0;
  transition: background .14s, color 0.17s;
}
.mobile-nav a:active,
.mobile-nav a:hover {
  background: #E6ECF1;
  color: #15509B;
}

@media (min-width: 1000px) {
  .mobile-menu {
    display: none !important;
  }
}


/* =============================================================
   HERO, ABOUT, CTA SECTIONS
   ============================================================= */
.hero {
  background: #E6ECF1;
  border-radius: 0 0 36px 36px;
  padding: 60px 0 40px 0;
  margin-bottom: 40px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero h1 {
  color: #1C355E;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.13;
  text-align: center;
}
.hero p {
  color: #304265;
  font-size: 1.13rem;
  margin-bottom: 24px;
  text-align: center;
}
.hero .cta-btn {
  display: inline-block;
  margin:0 auto;
  margin-bottom: 8px;
  font-size: 1.13rem;
}

@media (max-width: 520px) {
  .hero {
    padding: 36px 0 28px 0;
    border-radius: 0 0 24px 24px;
  }
  .hero h1 {
    font-size: 1.5rem;
  }
}


.cta-section, .blog-cta, .contact-cta {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 20px;
  background: #E6ECF1;
  box-shadow: 0 2px 10px 0 rgba(70,90,110,0.06);
  text-align: center;
}
.cta-section h2, .blog-cta h2, .contact-cta h2 {
  color: #1C355E;
  margin-bottom: 20px;
}

/* =============================================================
   FLEXBOX LAYOUTS - CARDS, GRIDS, TESTIMONIALS, FEATURES, ETC
   ============================================================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 250px;
  min-width: 220px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 10px 0 rgba(145,164,190,0.08);
  padding: 30px 24px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 6px 20px 0 rgba(30,64,134,0.14);
  transform: translateY(-6px);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 24px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
}

.feature-grid, .event-types-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.feature-grid > div, .event-types-grid>div {
  flex: 1 1 220px;
  min-width: 200px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 8px 0 rgba(64,110,168,0.06);
  padding: 30px 20px;
  text-align: left;
  transition: box-shadow 0.18s;
}
.feature-grid > div:hover, .event-types-grid>div:hover {
  box-shadow: 0 6px 28px 0 rgba(46,78,124,0.12);
}
.feature-grid img, .event-types-grid img {
  height: 44px; width: 44px; margin-bottom: 14px;
}

@media (max-width: 800px) {
  .feature-grid, .event-types-grid {
    flex-direction: column;
    gap: 14px;
  }
}

.features, .benefit-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.benefit-icons li {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 0 12px 0;
  font-size: 1.05rem;
  color: #1C355E;
  font-weight: 500;
}
.benefit-icons img {
  height: 27px;
  width: 27px;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin: 30px 0 0 0;
}
.plan-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: none;
  font-size: 1rem;
  color: #1C355E;
}
.plan-features img {
  height: 23px;
  width: 23px;
}

.blog-list .blog-teaser {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px 0 rgba(160,160,190,0.04);
  padding: 25px 18px;
  margin-bottom: 24px;
}

.blog-cta {
  margin-top: 50px;
  margin-bottom: 50px;
}

.blog-post-list {
  list-style: none;
  margin-left: 0;
}
.blog-post-list li {
  background: #fff;
  border-radius: 10px;
  padding: 18px 15px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px 0 rgba(224,234,248,0.10);
}

.event-overview {
  list-style: none;
  margin-left: 0;
}
.event-overview li {
  margin-bottom: 28px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(168,180,202,0.04);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.register-btn {
  margin-top: 10px;
  background: #6EB8D6;
  color: #fff;
  border-radius: 7px;
  border: none;
  padding: 7px 20px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  text-align: center;
  transition: background 0.14s, color 0.13s;
  display: inline-block;
}
.register-btn:hover, .register-btn:focus {
  background: #1C355E;
  color: #fff;
}

/* Testimonials */
.testimonials {
  margin-bottom: 60px;
  padding: 40px 0 30px 0;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 2px 13px 0 rgba(64,110,168,0.11);
  padding: 25px 22px 20px 22px;
  margin-bottom: 20px;
  transition: box-shadow .18s, transform .16s;
  min-width: 260px;
  max-width: 590px;
}
.testimonial-card blockquote {
  color: #1C355E;
  font-size: 1.25rem;
  font-style: italic;
  margin-bottom: 10px;
  line-height: 1.56;
}
.testimonial-details {
  font-size: 0.98rem;
  color: #23394D;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
}
.testimonial-card:hover {
  box-shadow: 0 8px 30px 0 rgba(51,80,140,0.13);
  transform: translateY(-2px);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.testimonials .content-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
}
@media (max-width: 768px) {
  .testimonials .content-wrapper {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    max-width: 100%;
  }
}

/* Table (Mitgliedschaftstabelle) */
.plan-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  margin-bottom: 32px;
  box-shadow: 0 1px 8px rgba(120,150,175,0.06);
  border-radius: 13px;
  overflow: hidden;
}
.plan-table th, .plan-table td {
  padding: 15px 12px;
  text-align: left;
}
.plan-table th {
  background: #EEF1F6;
  color: #1C355E;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.04rem;
  font-weight: 600;
}
.plan-table td {
  font-size: 1rem;
}
.plan-table tr:nth-child(even) td {
  background: #F6F8FA;
}

@media (max-width: 700px) {
  .plan-table {
    font-size: 0.92rem;
  }
  .plan-table th, .plan-table td {
    padding: 10px 6px;
  }
}

/* Community & Team Presentation */
.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.team-bio {
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 2px 10px rgba(70,100,145,0.07);
  padding: 24px 16px;
  flex: 1 1 220px;
  min-width: 190px;
  margin-bottom: 20px;
}
@media (max-width: 700px) {
  .team-list {
    flex-direction: column;
    gap: 14px;
  }
}

/* For .about, .legal, .community sections */
.text-section {
  margin-bottom: 18px;
}

/* FAQ Section Accordions */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-accordion h3 {
  font-size: 1.09rem;
  color: #1C355E;
}
.faq-accordion p {
  font-size: 0.99rem;
  color: #34425a;
}

/* =======================================
   BUTTONS, LINKS, CTA LINK
   ======================================= */
.cta-btn {
  display: inline-block;
  background: #6EB8D6;
  color: #fff !important;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  padding: 12px 30px;
  font-size: 1.18rem;
  box-shadow: 0 2px 12px 0 rgba(30,40,60,0.08);
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.11s, color 0.14s, box-shadow .15s, transform .16s;
}
.cta-btn:hover, .cta-btn:focus {
  background: #1C355E;
  color: #fff;
  box-shadow: 0 4px 16px rgba(20,60,100,0.08);
  transform: translateY(-1px);
}
.cta-link {
  color: #1C355E;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  border-bottom: 1.5px solid #6EB8D6;
  transition: color .18s, border-color .17s;
  padding: 2px;
  font-size: 1.08rem;
}
.cta-link:hover, .cta-link:focus {
  color: #6EB8D6;
  border-color: #1C355E;
}


/* =======================================
   FOOTER
   ======================================= */
footer {
  background: #fff;
  border-top: 1.5px solid #EEF1F6;
  padding: 36px 0 18px 0;
  box-shadow: 0 -2px 20px 0 rgba(30,60,90,0.04);
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
footer nav.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
footer nav.footer-nav a {
  font-size: 0.98rem;
  color: #1C355E;
  opacity: 0.9;
  transition: color .14s;
}
footer nav.footer-nav a:hover {
  color: #6EB8D6;
}
footer address {
  font-size: 0.96rem;
  color: #23394D;
  font-style: normal;
  margin-bottom: 10px;
}
.footer-cta {
  margin-top: 8px;
}
.footer-cta .cta-btn {
  padding: 10px 22px;
  font-size: 1rem;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 25px;
    align-items: flex-start;
  }
  .footer-cta {
    margin-bottom: 10px;
  }
}

/* =======================================
   COOKIE CONSENT BANNER
   ======================================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  color: #1C355E;
  box-shadow: 0 -4px 22px 0 rgba(30,60,140,0.08);
  padding: 24px 16px 16px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  z-index: 10999;
  transition: transform 0.36s cubic-bezier(0.72,0.01,0.21,0.99);
  transform: translateY(0);
  font-size: 1rem;
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner-text {
  width: 100%;
  max-width: 720px;
  text-align: center;
}
.cookie-banner-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-btn, .cookie-settings-btn {
  background: #6EB8D6;
  color: #fff;
  border: none;
  border-radius: 9px;
  padding: 9px 22px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.14s, color 0.15s;
  cursor: pointer;
}
.cookie-btn.reject {
  background: #E6ECF1;
  color: #1C355E;
  border: 1.5px solid #6EB8D6;
}
.cookie-btn:hover, .cookie-btn:focus,
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #1C355E;
  color: #fff;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 11000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(44,60,120,0.17);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.22s;
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 38px 0 rgba(0,40,100,0.13);
  padding: 32px 26px;
  min-width: 290px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  position: relative;
}
.cookie-modal h3 {
  font-size: 1.3rem;
  color: #1C355E;
  margin-bottom: 10px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 9px;
  font-size: 1.03rem;
}
.cookie-switch {
  width: 38px;
  height: 22px;
  background: #E6ECF1;
  border-radius: 13px;
  position: relative;
  margin-right: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  transition: background 0.18s;
}
.cookie-switch input {
  display: none;
}
.cookie-switch .dot {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.18s, background 0.18s;
  z-index: 1;
}
.cookie-switch input:checked + .dot {
  transform: translateX(16px);
  background: #6EB8D6;
}

.cookie-modal-footer {
  margin-top: 18px;
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal-close-btn {
  position: absolute;
  top: 19px;
  right: 18px;
  background: none;
  color: #23394D;
  border: none;
  font-size: 1.5rem;
  border-radius: 8px;
  cursor: pointer;
}
.cookie-modal-close-btn:hover,
.cookie-modal-close-btn:focus {
  background: #EEF1F6;
}

@media (max-width: 500px) {
  .cookie-modal {
    padding: 18px 7px;
    border-radius: 7px;
  }
}

/* =======================================
   RESPONSIVENESS (MOBILE FIRST!)
   ======================================= */
@media (max-width: 768px) {
  .container {
    max-width: 99vw;
    padding: 0 10px;
  }
  .hero, .section, .cta-section, .blog-cta, .contact-cta {
    padding-left: 8px;
    padding-right: 8px;
  }
  .card, .feature-grid > div, .event-types-grid>div {
    padding: 20px 9px;
    min-width: 0;
  }
}
@media (max-width: 560px) {
  .container { padding: 0 3px; }
  .hero h1, .section h1, h2 { font-size: 18px !important; }
  .cta-btn, .register-btn { font-size: 1rem!important; padding: 10px 12px!important; }
}

/* ========================
   COLOR ACCESSIBILITY
   ======================== */
.testimonial-card, .testimonial-details {
  color: #1C355E !important;
  background: #fff !important;
}
.testimonial-card blockquote {
  color: #15509B !important;
}
@media (max-width: 500px) {
  .testimonials {
    padding-left: 0;
    padding-right: 0;
  }
  .testimonial-card {
    padding: 18px 5px;
  }
}

/* ========================
   MISCELLANEOUS
   ======================== */
::-webkit-scrollbar {
  width: 10px;
  background: #F1F3F8;
}
::-webkit-scrollbar-thumb {
  background: #E0E7F1;
  border-radius: 6px;
}

/* Hide number input arrows (for cookie modal, if any) */
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* ========================
   PRINT OVERRIDE (Minimal for scandi style)
   ======================== */
@media print {
  header, footer, nav, .cookie-banner, .mobile-menu { display: none !important; }
  main, .container, .section { box-shadow: none !important; }
}
