/* --------------------- 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,
main, 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;
}

html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #fff;
  color: #233746;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: #233746; text-decoration: none; transition: color 0.2s; }
a:focus { outline: 2px solid #BCA56A; outline-offset: 2px; }
ul, ol { list-style: none; margin: 0; padding: 0; }
strong, b { font-weight: 700; }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: 8px 12px; }
hr { border: 0; border-top: 1px solid #E5E9EC; margin: 32px 0; }

/* --------------------- FONT IMPORTS --------------------- */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600&family=Roboto:wght@400;500;700&display=swap');

/* --------------------- ROOT VARS (with fallbacks) --------------------- */
:root {
  --color-primary: #233746;
  --color-secondary: #BCA56A;
  --color-accent: #E5E9EC;
  --font-display: 'Oswald', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* --------------------- TYPOGRAPHY --------------------- */
h1, .h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2.125rem;
  line-height: 1.185;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
@media (min-width: 600px) {
  h1, .h1 { font-size: 2.75rem; }
}
@media (min-width: 1024px) {
  h1, .h1 { font-size: 3rem; }
}

h2, .h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}
@media (min-width: 600px) {
  h2, .h2 { font-size: 2rem; }
}
h3, .h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.125rem;
  margin-bottom: 12px;
}
@media (min-width: 600px) {
  h3, .h3 { font-size: 1.25rem; }
}

.subtitle {
  font-family: var(--font-body);
  color: #526476;
  font-weight: 400;
  font-size: 1.10rem;
  margin-bottom: 24px;
  max-width: 600px;
  letter-spacing: 0;
}
p, ul li, ol li, blockquote, dl, table {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #233746;
  margin-bottom: 16px;
  line-height: 1.7;
}
blockquote {
  font-size: 1.125rem;
  font-style: italic;
  color: #233746;
  margin-bottom: 8px;
  border-left: 4px solid #BCA56A;
  padding-left: 16px;
}

/* Headings spacing */
h1, h2, h3, h4, h5, h6 { margin-top: 0; }
h1 + p, h2 + p, h3 + p { margin-top: 0; }

/* --------------------- GLOBAL LAYOUT --------------------- */
.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 8px 0 rgba(35, 55, 70, 0.05), 0 0.5px 2px 0 rgba(35, 55, 70, 0.06);
  padding: 32px 24px;
  flex: 1 1 260px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 4px 20px 0 rgba(35, 55, 70, 0.11), 0 2px 6px 0 rgba(188, 165, 106, 0.04);
  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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #FAFBFC;
  margin-bottom: 24px;
  padding: 28px 22px 18px 22px;
  border-radius: 12px;
  box-shadow: 0 2px 18px 0 rgba(35,53,70,0.10);
  border: 1px solid #E5E9EC;
  transition: box-shadow 0.18s, border-color 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 28px 0 rgba(35,53,70,0.13);
  border-color: #BCA56A;
}
.testimonial-footer {
  font-size: 0.95em;
  color: #526476;
  margin-top: -10px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --------------------- NAVIGATION --------------------- */
header {
  background: #fff;
  box-shadow: 0 1px 4px 0 rgba(35, 55, 70, 0.08);
  position: sticky;
  top: 0;
  z-index: 1001;
}
.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 16px 0;
}
.main-nav > a {
  font-family: var(--font-body);
  color: #233746;
  font-size: 1rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 7px;
  transition: background 0.18s, color 0.18s;
}
.main-nav > a:hover, .main-nav > a.active {
  color: #BCA56A;
  background: #E5E9EC;
}
.main-nav img {
  display: block;
  width: 40px;
  margin-right: 6px;
}

.cta-btn {
  font-family: var(--font-display);
  color: #fff;
  background: #233746;
  border: none;
  border-radius: 8px;
  padding: 10px 22px;
  font-size: 1rem;
  font-weight: 600;
  margin-left: 8px;
  margin-bottom: 0;
  cursor: pointer;
  box-shadow: 0 2px 10px 0 rgba(35,55,70,0.09);
  letter-spacing: 0.02em;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
}
.cta-btn:hover, .cta-btn:focus {
  background: #BCA56A;
  color: #233746;
  box-shadow: 0 6px 18px 0 rgba(35,53,70,0.14);
  transform: translateY(-1px) scale(1.03);
}

/* Hide desktop nav on mobile */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #233746;
  padding: 6px 10px;
  margin-left: auto;
  cursor: pointer;
  z-index: 1051;
}
@media (max-width: 950px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
}

/* --- Mobile Menu --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px 24px 24px 24px;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.58,.2,.4,.94);
  box-shadow: 0 8px 60px 0 rgba(35,55,70,0.18);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2rem;
  color: #BCA56A;
  margin-bottom: 18px;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.mobile-nav a {
  font-family: var(--font-display);
  color: #233746;
  font-size: 1.25rem;
  padding: 12px 8px;
  border-radius: 8px;
  width: 100%;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a.active {
  background: #E5E9EC;
  color: #BCA56A;
}

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

/* Fade overlay for mobile menu (optional, add if implemented in JS)
.mobile-menu-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(35, 55, 70, 0.20);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.mobile-menu.open + .mobile-menu-backdrop {
  opacity: 1;
  pointer-events: all;
} */

/* --------------------- HERO SECTIONS --------------------- */
.hero {
  background: #FAFBFC;
  min-height: 270px;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 58px 0 42px 0;
}
.hero .content-wrapper {
  align-items: flex-start;
  max-width: 720px;
}
.hero h1 {
  color: #233746;
}

/* --------------------- FEATURE/GRID STYLES --------------------- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 24px 0 0 0;
}
.feature-grid > li {
  background: #fff;
  border-radius: 11px;
  box-shadow: 0 2px 12px 0 rgba(35,55,70,0.07);
  padding: 28px 20px;
  flex: 1 1 230px;
  max-width: 270px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, border-color 0.2s, transform 0.16s;
  border: 1px solid #E5E9EC;
}
.feature-grid > li:hover {
  box-shadow: 0 6px 22px 0 rgba(35,53,70,0.12);
  border-color: #BCA56A;
  transform: translateY(-1px) scale(1.015);
}
.feature-grid img {
  width: 44px; height:44px;
  margin-bottom: 4px;
}

/***** SERVICE LISTS (angebote, coaching, etc.) *****/
.service-list,
.coaching-types,
.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.service-list li,
.coaching-types li,
.team-list li {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px 0 rgba(35,55,70,0.07);
  padding: 22px 16px 19px 16px;
  flex: 1 1 210px;
  min-width: 180px;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid #E5E9EC;
  transition: box-shadow 0.17s, border-color 0.2s, transform 0.14s;
}
.service-list li:hover,
.coaching-types li:hover,
.team-list li:hover {
  box-shadow: 0 6px 24px 0 rgba(35,53,70,0.13);
  border-color: #BCA56A;
  transform: scale(1.015);
}
.service-list .price,
.coaching-types .price {
  color: #BCA56A;
  font-weight: 500;
  font-size: 1.05em;
  margin-top: 6px;
}

.team-list img {
  width: 42px;
  margin-bottom: 7px;
}

/***** PRICING TABLE (mitgliedschaft) *****/
.pricing-table table {
  width: 100%;
  border: 1px solid #E5E9EC;
  background: #fff;
  border-radius: 10px;
  margin-top: 14px;
  box-shadow: 0 1px 9px 0 rgba(35,55,70,0.05);
  overflow: hidden;
}
.pricing-table th, .pricing-table td {
  text-align: left;
  padding: 12px 10px;
}
.pricing-table th {
  background: #FAFBFC;
  color: #233746;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 500;
}
.pricing-table tr:nth-child(2n) td {
  background: #FAFBFC;
}
.pricing-table td {
  color: #233746;
  font-size: 0.98rem;
}

/***** LEGAL SECTION STYLES *****/
.legal-section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FAFBFC;
  border-radius: 15px;
}

.legal-section h1, .legal-section h2 {
  margin-bottom: 16px;
}
.legal-section .text-section {
  margin-top: 8px;
  line-height: 1.7;
}
.legal-section ul, .legal-section ol {
  margin-left: 20px;
  margin-bottom: 18px;
  list-style: disc;
}

/***** CTA CARD *****/
.cta {
  background: #FAFBFC;
  border-radius: 10px;
  min-height: 80px;
  box-shadow: 0 2px 14px 0 rgba(35,55,70,0.04);
  margin-bottom: 50px;
}
.cta .content-wrapper {
  align-items: flex-start;
}
.cta-btn + .cta-btn { margin-left: 18px; }

/***** TABLET & MOBILE RESPONSIVENESS *****/
@media (max-width: 900px) {
  .container {
    max-width: 96vw;
    padding: 0 8px;
  }
  .feature-grid, .service-list, .coaching-types, .team-list, .card-container, .content-grid {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  .content-wrapper {
    gap: 14px;
  }
  .feature-grid,
  .service-list,
  .coaching-types,
  .team-list,
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid > li,
  .service-list li,
  .coaching-types li,
  .team-list li {
    max-width: 100%;
    min-width: 0;
  }
  .hero {
    min-height: 0;
    padding: 38px 0 24px 0;
  }
  .testimonial-card {
    padding: 20px 12px 12px 14px;
  }
  .section {
    margin-bottom: 36px;
    padding: 24px 6px;
  }
  .legal-section {
    padding: 23px 6px;
    margin-bottom: 24px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

@media (max-width: 500px) {
  .container {
    padding: 0 2vw;
  }
  .hero {
    padding: 22px 0 8px 0;
  }
}

/* --------------------- FOOTER --------------------- */
footer {
  background: #fff;
  border-top: 1px solid #E5E9EC;
  padding: 32px 0 10px 0;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 14px;
  justify-content: flex-start;
}
.footer-nav a {
  color: #526476;
  font-size: 0.98rem;
  transition: color 0.17s;
  border-radius: 6px;
  padding: 5px 10px;
}
.footer-nav a:hover { color: #BCA56A; background: #FAFBFC; }
.footer-contact {
  color: #526476;
  font-size: 0.97rem;
}
.footer-contact a { color: #526476; text-decoration: underline dotted; }
@media (max-width: 650px) {
  footer .container { flex-direction: column; }
  .footer-nav { flex-direction: column; gap: 10px; }
}

/* --------------------- CARD/ELEMENT SHADOWS & RADIUS --------------------- */
.card, .feature-grid > li, .service-list li, .team-list li, .testimonial-card {
  box-shadow: 0 2px 12px 0 rgba(35,55,70,0.07);
  border-radius: 10px;
}

/* --------------------- MISCELLANEOUS --------------------- */
a.cta-btn, button.cta-btn {
  text-align: center;
}
a.cta-btn:active, button.cta-btn:active {
  transform: scale(0.97);
}

ul > li:not(:last-child), ol > li:not(:last-child) {
  margin-bottom: 8px;
}
ul, ol { margin-bottom: 16px; }
dt { font-weight: bold; margin-top: 18px; }
dd { margin-left: 14px; margin-bottom: 10px; }

/* --------------------- COOKIE CONSENT BANNER --------------------- */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #233746;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px 18px 16px;
  z-index: 3000;
  box-shadow: 0 -3px 22px -6px rgba(35,55,70,0.11);
  gap: 14px;
  animation: banner-slide-up 0.45s cubic-bezier(.68,.41,.51,1.02);
}
@keyframes banner-slide-up {
  from { transform: translateY(110%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner p {
  color: #fff;
  margin: 0 0 6px 0;
  font-size: 1rem;
}
.cookie-consent-banner .cookie-btns {
  display: flex;
  gap: 14px;
  margin-top: 8px;
}
.cookie-btn {
  background: transparent;
  border: 1.5px solid #BCA56A;
  color: #BCA56A;
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.18s, color 0.17s, border-color 0.18s;
}
.cookie-btn.accept {
  background: #BCA56A;
  color: #233746;
  border: 1.5px solid #BCA56A;
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
  background: #fff;
  color: #BCA56A;
  border-color: #BCA56A;
}
.cookie-btn.reject {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: #fff;
  color: #BCA56A;
  border: 1.5px solid #BCA56A;
}
.cookie-btn.settings {
  background: #233746;
  color: #BCA56A;
  border: 1.5px solid #233746;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: #BCA56A;
  color: #233746;
  border: 1.5px solid #BCA56A;
}

/***** Cookie Preferences Modal *****/
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(35,55,70,0.37);
  z-index: 3100;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fade-in 0.24s;
}
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #233746;
  border-radius: 14px;
  max-width: 390px;
  width: 94vw;
  padding: 36px 24px 24px 24px;
  box-shadow: 0 4px 32px 0 rgba(35,55,70,0.16);
  display: flex;
  flex-direction: column;
  gap: 22px;
  z-index: 3200;
  animation: modal-scalein 0.32s cubic-bezier(.69,.18,.36,1.09);
}
@keyframes modal-scalein {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}
.cookie-modal h2 {
  font-size: 1.38rem;
  font-family: var(--font-display);
  margin-bottom: 10px;
}
.cookie-modal .category-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  color: #233746;
}
.cookie-modal .cookie-category input[type="checkbox"],
.cookie-modal .cookie-category input[type="radio"] {
  width: 18px; height: 18px;
  accent-color: #BCA56A;
  margin-right: 3px;
}
.cookie-modal .cookie-footer {
  display: flex;
  justify-content: flex-end;
  gap: 13px;
  margin-top: 14px;
}
.cookie-modal .close-modal-btn {
  position: absolute;
  top: 8px; right: 10px;
  background: none;
  border: none;
  font-size: 1.35em;
  color: #BCA56A;
  cursor: pointer;
}

/* --------------------- INTERACTIVE ELEMENTS --------------------- */
button, .button { font-family: var(--font-body); cursor: pointer; outline: none; }
button:focus, a:focus-visible { outline: 2px solid #BCA56A; }
button[disabled], .button[disabled] { opacity: 0.65; cursor: not-allowed; }

/* --------------------- FORMS (minimal) --------------------- */
input, textarea, select {
  padding: 7px 10px;
  border-radius: 7px;
  border: 1px solid #E5E9EC;
  background: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  color: #233746;
  outline: none;
  margin-bottom: 10px;
  transition: border-color 0.17s;
}
input:focus, textarea:focus, select:focus {
  border-color: #BCA56A;
  box-shadow: 0 1px 6px 0 rgba(188,165,106,0.10);
}
label {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  margin-bottom: 7px;
}

/* --------------------- HIGHLIGHTED TEXT --------------------- */
mark {
  background: #BCA56A;
  color: #233746;
  padding: 0 2px;
  border-radius: 2px;
}

/* --------------------- UTILITY CLASSES --------------------- */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-20 { margin-top: 20px !important; }
.mb-20 { margin-bottom: 20px !important; }

/* --------------------- ANIMATIONS (micro-interactions) --------------------- */
.cta-btn, .card, .service-list li, .feature-grid > li, .team-list li, .testimonial-card, .main-nav > a, .footer-nav a, .mobile-nav a {
  transition: box-shadow 0.20s, background 0.19s, color 0.20s, border-color 0.18s, transform 0.13s;
}

/* --------------------- OVERLAY Z-INDICES --------------------- */
header { z-index: 1001; }
.mobile-menu { z-index: 2000; }
.cookie-consent-banner, .cookie-modal-overlay, .cookie-modal { z-index: 3000; }

/* --------------------- PRINT STYLES --------------------- */
@media print {
  header,footer,.cookie-consent-banner,.cookie-modal-overlay { display: none !important; }
  body { background: #fff; color: #000; }
}
