/* ------- CSS RESET AND NORMALIZATION ------- */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  background: #f6f6fa;
  color: #19203c;
  font-family: 'Open Sans', Arial, sans-serif;
  line-height: 1.6;
  font-smooth: always;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #14213d;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: #fca311;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font: inherit;
  outline: none;
  border: none;
  background: none;
  color: inherit;
}

/* ------- BRAND & PASTEL COLORS (SOFT PASTEL) ------- */
:root {
  --primary: #14213d;
  --secondary: #fca311;
  --accent: #e5e5e5;
  --pastel-bg1: #f6f6fa;
  --pastel-bg2: #e5e8f8;
  --pastel-bg3: #f7e3d2;
  --pastel-bg4: #d6eaf6;
  --pastel-bg5: #feeff1;
  --pastel-card: #ffffff;
  --pastel-accent: #ffeec6;
  --pastel-cta: #ffb6b9;
  --shadow: 0 4px 24px rgba(20,33,61,0.07), 0 1.5px 8px rgba(252,163,17, 0.06);
  --radius: 18px;
}

/************************** TYPOGRAPHY **************************/
body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  background: var(--pastel-bg1);
  color: var(--primary);
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 16px;
  font-weight: 700;
  color: var(--primary);
}
h1 { font-size: 2.5rem; letter-spacing: -1px; line-height: 1.15; }
h2 { font-size: 2rem;  letter-spacing: -0.75px; }
h3 { font-size: 1.35rem;  }
.subheadline {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: #666693;
  margin-bottom: 24px;
}
strong { font-weight: 700; }

/***** CONTAINERS AND LAYOUTS *****/
.container {
  width: 100%;
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.text-section {
  background: var(--pastel-bg4);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px 24px;
}

/**** FLEX CONTAINER UTILS (PER MANDATORY) ****/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--pastel-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 20px;
  transition: box-shadow 0.25s, transform 0.24s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 260px;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(20,33,61,0.15);
  transform: translateY(-3px) scale(1.02);
}
.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: var(--pastel-card);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  margin-bottom: 20px;
  margin-top: 12px;
  color: #19203c;
  max-width: 700px;
  transition: box-shadow 0.2s, background 0.22s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(20,33,61,0.13);
  background: #f6f7fc;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/**** HERO SECTION ****/
section:first-of-type {
  margin-top: 0;
  background: linear-gradient(140deg, var(--pastel-bg2) 70%, var(--pastel-bg5) 100%);
  border-bottom: 5px solid var(--pastel-accent);
}

/**** LISTS & FEATURE GRIDS ****/
ul.feature-grid, section ul {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 28px 32px;
  justify-content: flex-start;
  margin: 22px 0 8px 0;
}
ul.feature-grid li, section ul li {
  background: var(--pastel-bg3);
  padding: 22px 18px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 220px;
  gap: 6px;
  color: #242c54;
  margin-bottom: 0;
}
ul.feature-grid li img,
ul li img {
  width: 32px;
  height: 32px;
  margin-bottom: 6px;
}
ul.feature-grid li strong, ul li strong {
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 4px;
  font-weight: 700;
}

/**** CTA (CALL TO ACTION) BUTTONS ****/
.cta-primary {
  display: inline-block;
  background: linear-gradient(90deg, var(--secondary), #ffd6ba 80%);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  transition: background 0.28s, box-shadow 0.23s, transform 0.2s;
  cursor: pointer;
  margin-top: 12px;
  letter-spacing: 0.03em;
}
.cta-primary:hover, .cta-primary:focus {
  background: linear-gradient(90deg, #ffd6ba, var(--secondary) 95%);
  box-shadow: 0 6px 32px rgba(252,163,17, 0.13);
  color: var(--primary);
  transform: scale(1.045);
}

/**** HEADER & NAVIGATION ****/
header {
  background: #fff;
  box-shadow: 0px 3px 18px rgba(20,33,61,0.07);
  position: sticky;
  top: 0;
  z-index: 40;
}
header .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  gap: 16px;
}
header img {
  height: 46px;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: var(--primary);
  font-size: 1rem;
  padding: 8px 18px;
  border-radius: 8px;
  transition: background 0.2s, color 0.22s;
}
nav a:hover, nav a:focus {
  background: var(--pastel-accent);
  color: var(--secondary);
}
header .cta-primary {
  margin-left: 8px;
  font-size: 1rem;
  padding: 9px 26px;
}

/**** MOBILE NAVIGATION / HAMBURGER MENU ****/
.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  color: #fff;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 101;
  margin-left: auto;
  margin-right: 0;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  border: none;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:hover {
  background: #e8ca72;
  color: var(--primary);
  transform: scale(1.08);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 200;
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(.47,1.38,.67,1);
  box-shadow: 3px 0 40px rgba(20,33,61,0.15);
  padding: 0 0 48px 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  color: var(--primary);
  font-size: 2rem;
  margin: 18px 22px 10px 0;
  border: none;
  cursor: pointer;
  transition: color 0.16s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 24px 34px 0 34px;
}
.mobile-nav a {
  font-size: 1.15rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  padding: 14px 12px;
  border-radius: 9px;
  transition: background 0.15s, color 0.18s;
  font-weight: 600;
  text-align: left;
}
.mobile-nav a:hover {
  background: var(--pastel-accent);
  color: var(--secondary);
}

/* Responsive Hide Main Nav, Show Bar */
@media (max-width: 960px) {
  header nav,
  header .cta-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 961px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/**** FOOTER ****/
footer {
  background: var(--pastel-bg2);
  color: #222b47;
  padding: 32px 0 20px 0;
  margin-top: 38px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  gap: 30px 48px;
  flex-wrap: wrap;
  font-size: 1rem;
}
footer img {
  height: 46px;
}
footer nav {
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: #2e3350;
  background: none;
  font-size: 1rem;
  padding: 3px 4px;
}
footer nav a:hover {
  color: var(--secondary);
  background: none;
}
footer address {
  font-style: normal;
  font-size: 0.98rem;
  color: #1a2246;
  margin-bottom: 10px;
}
footer div:last-child {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02rem;
  color: #888fb5;
  margin-top: 8px;
}

/**** TABLES (Vergleichstabelle in Mitgliedschaft) ****/
.comparison-table {
  margin: 28px 0 12px 0;
}
.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  background: #fffbe6;
  border-radius: 13px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.comparison-table th,
.comparison-table td {
  border: none;
  padding: 13px 18px;
  font-size: 1rem;
  text-align: left;
}
.comparison-table th {
  background: #fff2af;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
.comparison-table td {
  background: #fffbe6;
}
.comparison-table tr:nth-child(even) td {
  background: #fff5c6;
}

/**** SPECIAL CARD/GRID STYLES (Mitgliedschaft) ****/
.membership-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
}
.membership-grid > div {
  background: var(--pastel-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 18px 22px 18px;
  flex: 1 1 240px;
  min-width: 240px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.membership-grid > div:hover {
  box-shadow: 0 10px 32px rgba(252,163,17,0.14), 0 14px 36px rgba(20,33,61,0.06);
  transform: translateY(-2px) scale(1.025);
}
.membership-grid h3 {
  font-size: 1.15rem;
  margin-bottom: 9px;
  color: var(--secondary);
}

/**** BLOCKQUOTES IN TESTIMONIALS ****/
.testimonial-card blockquote {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.55;
  color: #222b47;
  margin: 0 0 0 0;
  quotes: '“' '”' '‘' '’';
}
.testimonial-card blockquote:before {
  content: open-quote;
  color: #fca311;
  font-size: 2.1rem;
  vertical-align: -0.3em;
  margin-right: 0.1em;
}
.testimonial-card blockquote:after {
  content: close-quote;
  color: #fca311;
  font-size: 2.1rem;
  vertical-align: -0.3em;
  margin-left: 0.1em;
}
.testimonial-card > div {
  font-size: 0.99rem;
  color: #49619b;
  line-height: 1.35;
  margin-left: 10px;
}

/**** FORMS, INPUTS (if present in contact or future) ****/
input, textarea, select {
  border: 1.5px solid #d5dbe6;
  border-radius: 7px;
  padding: 12px 11px;
  margin-bottom: 16px;
  font-size: 1rem;
  background: #fff;
  transition: border-color 0.17s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--secondary);
  outline: none;
}

button:disabled, .cta-primary:disabled {
  opacity: 0.6;
  pointer-events: none;
}

/**** SPACING FOR CARDS/SECTIONS (MANDATORY) ****/
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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 !important;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/**** RESPONSIVE DESIGN (MOBILE-FIRST) ****/
@media (max-width: 768px) {
  html { font-size: 15px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
  .container {
    padding: 0 8px;
    max-width: 100vw;
  }
  header .container, footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .content-grid, .membership-grid, .card-container {
    flex-direction: column;
    gap: 16px;
    justify-content: stretch;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  section, .section {
    padding: 29px 4px;
    margin-bottom: 32px;
  }
  ul.feature-grid, section ul {
    flex-direction: column;
    gap: 15px;
  }
  .comparison-table table, .comparison-table th, .comparison-table td {
    font-size: 0.98rem;
    padding: 10px 6px;
  }
  .membership-grid > div {
    max-width: 100%;
    min-width: unset;
    padding: 18px 8px 18px 10px;
  }
}
@media (max-width: 600px) {
  html { font-size: 14px; }
  header img, footer img { height: 40px; }
  .testimonial-card { padding: 13px 7px; font-size: 1rem; }
}

/**** MICRO-INTERACTIONS, TRANSITIONS, EFFECTS ****/
.card,
.membership-grid > div,
.comparison-table table,
ul.feature-grid li {
  transition: box-shadow 0.18s, transform 0.18s;
}
ul.feature-grid li:hover,
.membership-grid > div:hover {
  box-shadow: 0 8px 28px rgba(20,33,61,0.13);
  transform: translateY(-2px) scale(1.017);
}
nav a, .mobile-nav a, .cta-primary {
  transition: background 0.19s, color 0.19s, box-shadow 0.19s;
}

/**** COOKIE CONSENT BANNER (MANDATORY) ****/
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff6e3;
  color: #222b47;
  box-shadow: 0px -3px 14px 0px rgba(20,33,61,0.07);
  border-top: 2px solid var(--secondary);
  z-index: 9999;
  padding: 24px 15px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  font-size: 1.04rem;
  animation: cookieBannerSlideIn 0.4s cubic-bezier(.42,1.29,.65,1);
}
@keyframes cookieBannerSlideIn {
  from { transform: translateY(100px); opacity: 0.2; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.cookie-banner button {
  background: var(--secondary);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 18px;
  border: none;
  padding: 10px 24px;
  font-size: 1rem;
  margin: 0;
  box-shadow: 0 1.5px 11px rgba(252,163,17,0.11);
  cursor: pointer;
  transition: background 0.17s, color 0.17s;
}
.cookie-banner button:hover,
.cookie-banner button:focus {
  background: #ffd276;
  color: var(--primary);
}
.cookie-banner .cookie-settings-btn {
  background: #fffbe6;
  color: var(--primary);
  border: 2px solid #ffd276;
}
.cookie-banner .cookie-settings-btn:hover {
  background: #ffeec6; color: var(--secondary); border-color: var(--secondary);
}

/***** COOKIE CONSENT MODAL POPUP *****/
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 10010;
  transform: translate(-50%, -50%) scale(1.04);
  background: #fff6e3;
  border-radius: 18px;
  box-shadow: 0 7px 30px rgba(20,33,61,0.19);
  padding: 32px 24px 24px 24px;
  min-width: 310px;
  max-width: 94vw;
  max-height: 90vh;
  overflow-y: auto;
  animation: cookieModalAppear 0.23s cubic-bezier(.5,1.15,.7,1);
}
@keyframes cookieModalAppear {
  from { opacity: 0; transform: translate(-50%, 0%) scale(0.93); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1.04); }
}
.cookie-modal h2 {
  font-size: 1.15rem;
  margin-bottom: 14px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 17px;
  margin-bottom: 18px;
  background: #fffbe6;
  border-radius: 13px;
  padding: 11px 16px;
  box-shadow: 0 1px 8px rgba(252,163,17,0.07);
}
.cookie-modal .cookie-category label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #222b47;
}
.cookie-toggle {
  appearance: none;
  width: 38px;
  height: 21px;
  background: #e5e5e5;
  border-radius: 21px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.18s;
}
.cookie-toggle:checked {
  background: var(--secondary);
}
.cookie-toggle::before {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1.5px 8px rgba(20,33,61,0.13);
  transition: left 0.17s;
}
.cookie-toggle:checked::before {
  left: 19px;
}
.cookie-modal .modal-close {
  position: absolute;
  right: 16px;
  top: 14px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--primary);
  cursor: pointer;
  padding: 0;
  transition: color 0.15s;
}
.cookie-modal .modal-close:hover {
  color: var(--secondary);
}
.cookie-modal .cookie-footer-btns {
  display: flex;
  gap: 14px;
  margin-top: 20px;
}

/**** ACCESSIBILITY HOVERS/FOCUS ****/
a:focus, button:focus, .cta-primary:focus, .mobile-nav a:focus {
  outline: 2px dashed var(--secondary);
  outline-offset: 2px;
}

/**** MISC SMALL UTILITIES ****/
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-20 { margin-bottom: 20px !important; }
.mt-12 { margin-top: 12px !important; }

/**** HIDE ELEMENTS UTILITY ****/
.d-none { display: none !important; }

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