/* =====================
   CSS RESET & BASE
====================== */
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: #F7F8FC;
  color: #20314B;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  scroll-behavior: smooth;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

/* ===========================
   VARIABLES & LUXURY ACCENTS
=========================== */
:root {
  --primary: #20314B;
  --secondary: #5AB4CF;
  --accent: #F7F8FC;
  --gold: #C7A453;
  --gold-dark: #A58B36;
  --danger: #DF4949;
  --text-dark: #1B232F;
  --text-light: #FFFFFF;
  --shadow: 0 4px 24px 0 rgba(32, 49, 75, 0.08);
  --radius: 18px;
  --border-card: 1px solid #E4E5EA;
  --transition: 0.24s cubic-bezier(.25,.8,.25,1);
}

/* Google Fonts: Montserrat + Open Sans */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Open+Sans:wght@400;600&display=swap');

/* =========================
   TYPOGRAPHY & BASE SIZES
========================= */
h1, .hero h1 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
h2 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 16px;
  letter-spacing: -0.2px;
}
h3 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}
p, li, blockquote {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: var(--text-dark);
}
strong {
  color: var(--gold-dark);
  font-weight: bold;
}
blockquote {
  font-size: 1.125rem;
  font-style: italic;
  color: var(--primary);
  margin-bottom: 10px;
}
.subheadline {
  color: var(--secondary);
  font-size: 1.15rem;
  margin-bottom: 22px;
  line-height: 1.6;
}
.text-section {
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--primary);
}
.text-section strong {
  color: var(--gold-dark);
}

/* ===========================
   LAYOUT & CONTAINERS
=========================== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: var(--border-card);
}

/* ===========================
   HEADER/NAVIGATION
=========================== */
header {
  background: white;
  box-shadow: 0px 4px 16px 0 rgba(32, 49, 75, 0.04);
  position: relative;
  z-index: 999;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
header img {
  width: 172px;
  height: auto;
  margin-right: 24px;
  display: block;
}
nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
}
nav a {
  color: var(--primary);
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.02em;
  position: relative;
  padding: 6px 0;
  transition: color var(--transition);
}
nav a::after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: var(--gold);
  position: absolute;
  bottom: 0;
  left: 0;
  border-radius: 2px;
  transition: width var(--transition);
}
nav a:hover,
nav a:focus {
  color: var(--gold-dark);
}
nav a:hover::after,
nav a:focus::after {
  width: 90%;
}
header .cta-btn {
  margin-left: 32px;
}

/* Mobile Burger Nav */
.mobile-menu-toggle {
  display: none;
  background: var(--gold);
  color: var(--text-light);
  border-radius: 8px;
  font-size: 1.8rem;
  padding: 8px 14px;
  margin-left: 10px;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 10px 0 rgba(32,49,75,0.08);
  z-index: 1002;
  transition: background var(--transition), color var(--transition), transform 0.18s;
}
.mobile-menu-toggle:active {
  background: var(--gold-dark);
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 96vw;
  max-width: 380px;
  height: 100vh;
  background: #fff;
  box-shadow: -8px 0 40px 0 rgba(32,49,75,0.18);
  transform: translateX(110%);
  transition: transform var(--transition);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  padding: 32px 18px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  color: var(--gold-dark);
  font-size: 2rem;
  padding: 4px 4px 8px 4px;
  border: none;
  cursor: pointer;
  line-height: 1;
  transition: color 0.16s;
}
.mobile-menu-close:hover {
  color: var(--danger);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}
.mobile-nav a {
  font-size: 1.08rem;
  font-family: 'Montserrat', sans-serif;
  color: var(--primary);
  padding: 14px 0 12px 2px;
  border-bottom: 1px solid #ECECEC;
  transition: color 0.18s;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--gold-dark);
}

/* Overlay for mobile menu */

.mobile-menu.open ~ .mobile-menu-bg {
  display: block;
  opacity: 1;
}

@media (max-width: 940px) {
  header .container nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 500px) {
  .mobile-menu {
    max-width: 100vw;
    width: 100vw;
    padding: 18px 8px 18px 18px;
  }
}

/* =========================
   HERO SECTIONS
========================= */
.hero {
  background: linear-gradient(100deg, #fff 60%, #F5F6FB 100%);
  margin-bottom: 0;
  border-bottom: 1px solid #ECECEC;
  padding-top: 38px;
  padding-bottom: 38px;
}
.hero .container {
  min-height: 180px;
  display: flex;
  align-items: center;
}
.hero .content-wrapper {
  padding-top: 16px;
  padding-bottom: 16px;
  max-width: 690px;
}

/* =========================
   CTA & BUTTONS
========================= */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  background: linear-gradient(92deg, var(--gold) 85%, var(--gold-dark) 100%);
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0.94em 2.1em;
  border-radius: 100px;
  border: none;
  box-shadow: 0 4px 18px rgba(199,164,83,0.20);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform 0.18s;
  letter-spacing: 0.02rem;
  cursor: pointer;
  margin-top: 10px;
  outline: none;
  position: relative;
}
.cta-btn:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 1px;
}
.cta-btn:hover, .cta-btn:active {
  background: linear-gradient(92deg, var(--gold-dark) 90%, var(--gold) 100%);
  color: var(--text-light);
  box-shadow: 0 8px 24px rgba(199,164,83,0.30);
  transform: translateY(-2px) scale(1.035);
}

/* ==========================
   FLEXBOX CARDS & CONTENT
========================== */
.feature-grid, .trend-grid, .service-teasers, .service-list, .explanation-grid, .workshop-list, .learning-benefits-grid, .feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 20px;
  justify-content: flex-start;
}
.feature-grid > div, .trend-grid > div, .service-list > div, .service-teasers > div, .explanation-grid > div, .workshop-list > div, .learning-benefits-grid > div, .feature-list > div {
  background: #fff;
  border-radius: var(--radius);
  border: var(--border-card);
  box-shadow: 0 2px 12px 0 rgba(32,49,75,0.06);
  padding: 28px 22px 24px 22px;
  min-width: 240px;
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s;
}
.feature-grid > div:hover,
.trend-grid > div:hover,
.service-list > div:hover,
.explanation-grid > div:hover,
.workshop-list > div:hover,
.learning-benefits-grid > div:hover,
.feature-list > div:hover {
  box-shadow: 0 8px 34px 0 rgba(199,164,83,0.14);
}
.feature-grid img,
.feature-list img {
  width: 44px;
  height: 44px;
  margin-bottom: 8px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  padding: 26px 18px;
  box-shadow: var(--shadow);
  border: var(--border-card);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ===========================
   TESTIMONIAL CARDS
=========================== */
.testimonials {
  background: #F7F8FC;
  margin-bottom: 60px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 4px 22px 0 rgba(32,49,75,0.08), 0 1px 0 0 var(--gold) inset;
  margin-bottom: 24px;
  border-left: 3px solid var(--gold);
  color: #233042;
  min-width: 250px;
  max-width: 610px;
  transition: box-shadow 0.22s;
}
.testimonial-card blockquote {
  color: #233042;
  font-size: 1.11rem;
  font-style: italic;
  line-height: 1.5;
}
.testimonial-card strong {
  color: var(--primary);
  font-weight: bold;
}
.testimonial-card:hover {
  box-shadow: 0 8px 38px 0 rgba(32,49,75,0.21), 0 1px 0 0 var(--gold-dark) inset;
  border-left: 3px solid var(--gold-dark);
}

/* Ensure testimonials readable */
.testimonial-card, .testimonials {
  color: #233042;
  background: #fff;
}

/* =====================
   PLATFORM ELEMENTS
===================== */
.platform-benefits ul,
.collaboration-options, .price-information, .customized-platforms, .support-services {
  margin-bottom: 20px;
  font-size: 1rem;
}

/* =====================
   FOOTER
===================== */
footer {
  background: #eceff4;
  border-top: 1px solid #e4e5ea;
  padding: 25px 0 0 0;
  margin-top: 52px;
}
footer .container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 70px;
  padding-bottom: 14px;
}
footer nav {
  flex-wrap: wrap;
  gap: 18px;
}
footer nav a {
  font-size: 1rem;
  color: var(--primary);
  font-family: 'Montserrat', sans-serif;
  transition: color 0.18s;
  padding: 5px 0;
  border-bottom: 1px solid transparent;
}
footer nav a:hover, footer nav a:focus {
  color: var(--gold-dark);
  border-bottom: 1px solid var(--gold);
}
.copyright {
  color: #677898;
  font-size: 0.98rem;
  margin-left: 10px;
}

/* ================
   FORMS & LINKS
================= */
a[href^="mailto:"] {
  color: var(--secondary);
  font-weight: 600;
  text-decoration: underline dotted var(--gold);
}
a[href^="mailto:"]:hover {
  color: var(--gold-dark);text-decoration: underline solid var(--gold-dark);
}

/* ===============
   MODALS/OVERLAYS
================ */
.modal-bg {
  display: none;
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(32,49,75,0.19);
  z-index: 2000;
}
.modal.open + .modal-bg {
  display: block;
}

/* ===============
   COOKIE CONSENT
================ */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  max-width: 100vw;
  background: white;
  color: var(--primary);
  box-shadow: 0 -6px 24px 0 rgba(32,49,75,0.09);
  border-top: 2px solid var(--gold);
  z-index: 3000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 28px;
  font-size: 1rem;
  transition: transform 0.37s cubic-bezier(.16,1,.3,1);
  transform: translateY(0);
}
.cookie-banner.hide {
  transform: translateY(116%);
  pointer-events: none;
}
.cookie-banner__text {
  flex: 1 1 220px;
  color: var(--primary);
}
.cookie-banner__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--gold);
  color: var(--primary);
  border: none;
  border-radius: 42px;
  padding: 0.55em 1.7em;
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 0;
  cursor: pointer;
  box-shadow: 0 1px 8px 0 rgba(199,164,83,0.12);
  transition: background var(--transition), color var(--transition), transform 0.14s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--gold-dark);
  color: var(--text-light);
  outline: none;
  transform: translateY(-2px) scale(1.025);
}
.cookie-btn--secondary {
  background: #ececec;
  color: var(--primary);
  border: 1px solid #e4e5ea;
}
.cookie-btn--danger {
  background: var(--danger);
  color: #fff;
}
.cookie-btn--secondary:hover, .cookie-btn--danger:hover {
  background: var(--gold);
  color: var(--primary);
}
/* Cookie Modal */
.cookie-modal-bg {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(32,49,75,0.20);
  z-index: 3500;
  display: none;
}
.cookie-modal {
  position: fixed;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%) scale(1);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 14px 40px 0 rgba(32,49,75,0.17);
  min-width: 320px;
  max-width: 98vw;
  width: 390px;
  z-index: 4000;
  padding: 32px 20px 24px 20px;
  display: none;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal.open { display: flex; }
.cookie-modal-bg.open { display: block; }
.cookie-modal__header {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 9px;
}
.cookie-modal__cat {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  background: #f6f6f9;
  border-radius: 8px;
  padding: 10px 12px 10px 10px;
  margin-bottom: 7px;
  font-size: 1.02rem;
}
.cookie-modal input[type="checkbox"] {
  width: 20px; height: 20px;
  accent-color: var(--gold);
  border-radius: 6px;
  border: 1.5px solid var(--gold-dark);
}
.cookie-modal label {
  color: var(--primary);
  font-size: 1rem;
}
.cookie-modal .cookie-btn {
  width: 100%;
  margin-top: 16px;
}

/* Essential cookies row: lock icon and "immer aktiv" style */
.cookie-modal__cat--essential {
  font-weight: 700;
  color: var(--primary);
}
.cookie-modal__cat--essential label {
  font-weight: 600;
  color: #626984;
}
.cookie-modal__cat--essential input[type="checkbox"] {
  accent-color: var(--gold);
}

/* ===============
   MISC HELPER CLASSES
================ */
.hide {
  display: none !important;
}
.thin {
  font-weight: 400;
}

/* ===============
   RESPONSIVE DESIGN
================ */
@media (max-width: 1280px) {
  .container {
    max-width: 990px;
    padding-left: 18px; padding-right: 18px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 740px;
  }
  .content-wrapper { gap: 18px; }
}
@media (max-width: 768px) {
  body {
    font-size: 15.2px;
  }
  .container {
    max-width: 99vw;
    padding-left: 9px;
    padding-right: 9px;
  }
  .hero h1, h1 {
    font-size: 1.8rem;
  }
  h2 {
    font-size: 1.32rem;
  }
  nav {
    gap: 16px;
  }
  .feature-grid, .trend-grid, .service-teasers, .service-list, .explanation-grid, .workshop-list, .learning-benefits-grid, .feature-list {
    gap: 14px;
  }
  .feature-grid > div, .trend-grid > div, .service-list > div, .service-teasers > div, .explanation-grid > div, .workshop-list > div, .learning-benefits-grid > div, .feature-list > div {
    min-width: 122px;
    padding: 16px 8px;
    font-size: 0.98rem;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 7px;
    max-width: 98vw;
    min-width: 180px;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .section {
    margin-bottom: 36px;
    padding: 26px 6px;
  }
}
@media (max-width: 600px) {
  .hero .content-wrapper {
    max-width: 99vw;
  }
  .mobile-menu {
    padding: 10px 2vw 20px 2vw;
  }
  .feature-grid, .trend-grid, .service-list, .service-teasers, .learning-benefits-grid, .workshop-list, .feature-list {
    flex-direction: column;
    gap: 10px;
  }
  .card-container, .content-grid, .card-content {
    flex-direction: column;
    gap: 10px;
  }
  .section {
    padding: 16px 1.5vw;
  }
}
@media (max-width: 430px) {
  .cta-btn, .cookie-btn {
    width: 100%;
    font-size: 1em;
    padding: 1em 0.8em;
  }
}

/* ===============
   ANIMATION UTILITIES
================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fade-in-up {
  animation: fadeInUp 0.44s 0.2s backwards;
}

/* =========================
   LUXURY DETAILS & EFFECTS
========================= */
.card, .feature-grid>div, .trend-grid>div, .service-list>div, .service-teasers>div, .learning-benefits-grid>div {
  border-top: 3px solid var(--gold);
  box-shadow: 0 4px 24px 0 rgba(32,49,75,0.06);
}
.card:hover, .service-list>div:hover, .service-teasers>div:hover {
  border-top: 3px solid var(--gold-dark);
  box-shadow: 0 8px 34px 0 rgba(199,164,83,0.12);
}

hr {
  border: none;
  border-top: 1.5px solid #e2e2e5;
  margin: 20px 0;
}

/* =========================
   ACCESSIBILITY: FOCUS VISIBLE
========================= */
a:focus-visible, button:focus-visible, .cta-btn:focus-visible {
  outline: 2.5px solid var(--secondary);
  outline-offset: 1.5px;
}

/* ================
   PRINT FRIENDLY
================= */
@media print {
  * { background: #fff !important; color: #000 !important; box-shadow: none !important; }
  header, footer, .cta-btn, .cookie-banner, .mobile-menu { display: none !important; }
  .section, .card, .feature-grid > div, .trend-grid > div { box-shadow: none !important; border-radius: 0 !important; }
}
