/* ===================================================
   CSS Reset / Normalize
=================================================== */
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: #F3F5F6;
  color: #123156;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
a {
  color: #19A39D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #123156;
  text-decoration: underline;
}
ul, ol { list-style: none; }
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
}
::-webkit-input-placeholder { color: #6A7C98; }
::-moz-placeholder { color: #6A7C98; }
:-ms-input-placeholder { color: #6A7C98; }
::placeholder { color: #6A7C98; }

/* ============================
    VARIABLES & FONTS
============================ */
:root {
  --primary: #123156;
  --secondary: #19A39D;
  --accent: #F3F5F6;
  --gray-light: #e7edf2;
  --gray-medium: #b8bfca;
  --gray-dark: #6A7C98;

  --font-display: 'Montserrat', Arial, 'Helvetica Neue', Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}
@import url('https://fonts.googleapis.com/css?family=Montserrat:600,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

body {
  font-family: var(--font-body);
  font-size: 16px;
  background-color: var(--accent);
  color: var(--primary);
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =============================
   TYPOGRAPHY
============================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-weight: 600;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}
p, ul, ol {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 16px;
}
.subheadline {
  font-family: var(--font-body);
  color: var(--gray-dark);
  font-size: 1.35rem;
  max-width: 38em;
  margin-bottom: 32px;
}
strong {
  font-weight: 700;
}
.intro {
  font-size: 1.1rem;
  color: var(--gray-dark);
  line-height: 1.6;
  margin-bottom: 22px;
}

.price {
  font-family: var(--font-display);
  color: var(--secondary);
  font-weight: 700;
  font-size: 1.05rem;
}

/* =============================
    HEADER & NAVBAR
============================= */
header {
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(18,49,86,0.03);
  border-bottom: 1px solid #e7edf2;
  position: sticky;
  top: 0;
  z-index: 1300;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 14px 20px;
}
header img {
  max-height: 43px;
  height: 41px;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  color: var(--primary);
  font-weight: 500;
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 7px 10px;
  border-radius: 6px;
  transition: background 0.2s, color 0.18s;
}
.main-nav a:hover {
  background: var(--accent);
  color: var(--secondary);
}
.cta-btn {
  background: var(--secondary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  padding: 11px 28px;
  border-radius: 27px;
  font-size: 1rem;
  box-shadow: 0 2px 8px 0 rgba(25,163,157,0.08);
  transition: background 0.25s, color 0.2s, box-shadow 0.2s;
  border: none;
  display: inline-block;
  cursor: pointer;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px 0 rgba(25,163,157,0.13);
}

/* =============================
    MOBILE NAVIGATION
============================= */
.mobile-menu-toggle {
  display: none;
  background: none;
  font-size: 2.2rem;
  color: var(--primary);
  border: none;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 2020;
}
.mobile-menu {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: #fff;
  z-index: 2000;
  transform: translateX(-100%);
  transition: transform 0.34s cubic-bezier(.7,.1,.3,1) 0s;
  box-shadow: 2px 0 16px 0 rgba(18,49,86,0.13);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
}
body.mobile-menu-open .mobile-menu {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--secondary);
  padding: 14px 16px 8px 16px;
  margin-left: auto;
  cursor: pointer;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  padding: 34px 36px 10px 32px;
}
.mobile-nav a {
  color: var(--primary);
  font-size: 1.18rem;
  font-family: var(--font-display);
  font-weight: 500;
  border-radius: 6px;
  padding: 7px 2px;
  width: 100%;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover {
  background: var(--accent);
  color: var(--secondary);
}

@media (max-width: 1024px) {
  .main-nav { gap: 16px; }
  header .container { gap: 18px; }
}
@media (max-width: 900px) {
  .main-nav { gap: 9px; }
  header .container { gap: 10px; }
}
@media (max-width: 820px) {
  header .container, .main-nav {
    gap: 6px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .cta-btn {
    padding: 9px 14px;
    font-size: 0.99rem;
  }
  .mobile-menu-toggle {
    display: inline-block;
    position: absolute;
    top: 20px;
    right: 22px;
  }
}
@media (min-width: 769px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* =============================
    FOOTER
============================= */
footer {
  background: #fff;
  border-top: 1px solid #e7edf2;
  padding: 42px 0 0 0;
  margin-top: 80px;
}
footer .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 30px;
}
footer img {
  height: 36px;
}
.footer-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-top: 6px;
}
.footer-nav a {
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.16s;
}
.footer-nav a:hover {
  color: var(--secondary);
}
.contact-block p, .contact-block {
  font-size: 0.98rem;
  color: var(--gray-dark);
  margin: 0;
}
.contact-block a {
  color: var(--secondary);
}
@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .footer-nav {
    margin-bottom: 3px;
  }
}

/* =============================
    HERO / SECTION / LAYOUTS
============================= */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 32px 0 rgba(18,49,86,0.05);
}
.hero {
  background: var(--primary);
  color: #fff;
  padding: 60px 0 48px 0;
  margin-bottom: 60px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero h1, .hero h2, .hero p {
  color: #fff;
}
.hero .cta-btn {
  background: #fff;
  color: var(--primary);
  margin-top: 18px;
}
.hero .cta-btn:hover {
  background: var(--secondary);
  color: #fff;
}

/* Content Wrappers / General spacing */
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 18px 0 rgba(18,49,86, 0.06);
  padding: 28px 20px 23px 20px;
  margin-bottom: 20px;
  position: relative;
  min-width: 250px;
  flex: 1 1 320px;
  transition: box-shadow 0.21s, transform 0.17s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(18,49,86,0.13);
  transform: translateY(-3px) 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;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; gap: 20px; }
}

.feature-grid, .service-list-preview, .benefit-list, .membership-tiers, .service-list, .event-list, .news-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
}
.feature-grid li, .service-list-preview li, .benefit-list li, .membership-tiers li, .service-list li, .event-list li, .news-list li {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(18,49,86,0.06);
  padding: 23px 17px 18px 17px;
  min-width: 240px;
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow 0.21s, transform 0.15s;
}
.feature-grid li:hover,
.service-list-preview li:hover,
.service-list li:hover {
  box-shadow: 0 8px 28px 0 rgba(25,163,157,0.09);
  transform: translateY(-2px) scale(1.02);
}
.event-list, .news-list {
  gap: 15px;
}
.event-list li, .news-list li {
  padding: 18px 13px;
  font-size: 1.08rem;
  box-shadow: 0 1px 4px 0 rgba(18,49,86,0.03);
  background: var(--accent);
}
.news-list li a {
  font-weight: 600;
  color: var(--primary);
}

.service-list-preview img,
.feature-grid img, .service-list img {
  height: 42px;
  width: 42px;
  margin-bottom: 4px;
}

@media (max-width: 900px) {
  .feature-grid, .service-list-preview, .service-list, .benefit-list, .membership-tiers {
    gap: 14px;
  }
  .feature-grid li, .service-list-preview li, .service-list li {
    min-width: 165px;
    padding: 17px 6px 12px 10px;
  }
}
@media (max-width: 540px) {
  .feature-grid, .service-list-preview, .service-list, .benefit-list, .membership-tiers {
    flex-direction: column;
    gap: 13px;
  }
  .feature-grid li, .service-list-preview li, .service-list li {
    min-width: unset;
    width: 100%;
  }
}

/* =============================
     TESTIMONIALS
============================= */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 14px 0 rgba(25,163,157,0.07);
  margin-bottom: 20px;
  color: var(--primary);
  font-size: 1.03rem;
  transition: box-shadow 0.22s;
}
.testimonial-card strong {
  font-weight: 700;
  color: var(--secondary);
  font-family: var(--font-display);
  margin-left: 14px;
  font-size: 1.02rem;
}
@media (max-width: 535px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 9px;
  }
  .testimonial-card strong { margin-left: 0; margin-top: 10px; }
}

/* =============================
     CTA BANNER
============================= */
.cta-banner {
  background: var(--secondary);
  padding: 36px 0 26px 0;
  border-radius: 20px;
  box-shadow: 0 2px 24px 0 rgba(25,163,157,0.09);
  margin-bottom: 60px;
}
.cta-banner .content-wrapper, .cta-banner h2, .cta-banner p {
  color: #fff;
}
.cta-banner .cta-btn {
  background: #fff;
  color: var(--secondary);
  margin-top: 15px;
}
.cta-banner .cta-btn:hover {
  background: var(--primary);
  color: #fff;
}

/* =============================
     FAQ ACCORDION
============================= */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-accordion div {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 1px 10px 0 rgba(18,49,86,0.04);
  padding: 18px 16px 13px 17px;
  margin-bottom: 10px;
}
.faq-accordion strong {
  display: block;
  color: var(--secondary);
  font-size: 1.06rem;
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 3px;
}

/* =============================
   FEATURE ITEMS
============================= */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* =============================
     MAP BLOCK (Kontakt)
============================= */
.map-block {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--accent);
  border-radius: 16px;
  box-shadow: 0 1px 14px 0 rgba(18,49,86,0.04);
  margin: 18px 0 0 0;
  padding: 22px 14px;
  min-height: 120px;
}

/* =============================
   UTILITY CLASSES
============================= */
.cta-link {
  color: var(--secondary);
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: underline;
  font-size: 1.08rem;
  transition: color 0.2s;
}
.cta-link:hover { color: var(--primary); }

.section:last-child { margin-bottom: 0; }

/* =============================
   BUTTONS (General)
============================= */
button, .button, .btn {
  border: none;
  outline: none;
  cursor: pointer;
  border-radius: 7px;
  transition: background 0.18s, color 0.18s, box-shadow 0.14s, border 0.17s;
}
.btn-secondary {
  background: var(--primary);
  color: #fff;
  padding: 10px 22px;
  font-family: var(--font-display);
  font-weight: 600;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--secondary);
  color: #fff;
}

/* =============================
   RESPONSIVE
============================= */
@media (max-width: 900px) {
  .container { max-width: 96vw; padding: 0 6vw; }
  h1 { font-size: 2.05rem; }
  h2 { font-size: 1.45rem; }
}
@media (max-width: 540px) {
  .container { padding: 0 6px; }
  h1 { font-size: 1.31rem; }
  h2 { font-size: 1.09rem; }
  .hero { padding-top: 32px; }
  .cta-banner { margin-bottom: 29px; border-radius: 9px; }
  .section { margin-bottom: 30px; border-radius: 12px; padding: 27px 6px; }
}

/* =============================
   COOKIE CONSENT BANNER
============================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #fff;
  color: var(--primary);
  box-shadow: 0 -2px 26px 0 rgba(18,49,86,0.08);
  border-top: 1px solid #e7edf2;
  z-index: 3000;
  padding: 18px 28px 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  transition: transform 0.36s cubic-bezier(.7,.1,.3,1);
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner__text {
  font-size: 1rem;
  color: var(--primary);
}
.cookie-banner__actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-btn {
  padding: 9px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-family: var(--font-display);
  border: 1px solid var(--gray-light);
  background: var(--secondary);
  color: #fff;
  margin-right: 4px;
  transition: background 0.18s, color 0.17s;
  box-shadow: 0 1px 7px 0 rgba(25,163,157,0.08);
}
.cookie-btn:focus, .cookie-btn:hover {
  background: var(--primary);
  color: #fff;
}
.cookie-btn.cookie-settings {
  background: var(--gray-light);
  color: var(--primary);
  border: 1px solid var(--gray-medium);
}
.cookie-btn.cookie-settings:hover {
  background: var(--secondary);
  color: #fff;
}

@media (max-width: 600px) {
  .cookie-banner {
    padding: 14px 9px 16px 13px;
    gap: 12px;
  }
  .cookie-banner__actions { gap: 10px; }
}

/* =============================
   COOKIE MODAL/PREFERENCES
============================= */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(18,49,86,0.25);
  z-index: 3010;
  display: none;
  justify-content: center;
  align-items: center;
}
.cookie-modal-overlay.active {
  display: flex;
}

.cookie-modal {
  background: #fff;
  border-radius: 16px;
  max-width: 390px;
  width: 98vw;
  padding: 38px 28px 22px 28px;
  box-shadow: 0 8px 40px 0 rgba(18,49,86,0.16);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  animation: cookieIn 0.44s cubic-bezier(.7,.1,.3,1) both;
}
@keyframes cookieIn {
  0% { transform: translateY(70px) scale(1.05); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.22rem;
  color: var(--primary);
  margin-bottom: 9px;
  font-family: var(--font-display);
}
.cookie-modal .modal-close {
  position: absolute;
  right: 24px;
  top: 18px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--secondary);
  cursor: pointer;
}
.cookie-modal-category {
  margin-bottom: 19px;
  padding: 13px 0 6px 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--gray-light);
}
.cookie-modal-category:last-child {
  border-bottom: none;
}
.cookie-modal-category label {
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--primary);
  flex-grow: 1;
}
.cookie-modal input[type='checkbox'] {
  width: 22px;
  height: 22px;
  accent-color: var(--secondary);
}
.cookie-modal-category .always-enabled {
  color: var(--gray-dark);
  font-size: 0.98rem;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 18px;
}
@media (max-width: 390px) {
  .cookie-modal { padding: 22px 7px 14px 7px; }
  .cookie-modal h3 { font-size: 1.09rem; }
}

/* =============================
  MICRO-INTERACTIONS/ANIMATION
============================= */
a, .cta-btn, button, .feature-grid li, .service-list li, .card {
  transition: box-shadow 0.22s, color 0.17s, background 0.19s, transform 0.16s;
}
.section, .card, .feature-grid li, .testimonial-card, .service-list-preview li {
  will-change: transform;
}

/* =============================
  Z-INDEX
============================= */
header { z-index: 1300; }
.mobile-menu { z-index: 2000; }
.cookie-banner { z-index: 3000; }
.cookie-modal-overlay { z-index: 3010; }

/* ============ End of CSS ============ */
