/* ============================================================
   PS PARTNERS — custom-style.css
   Design: Clean · Sportlich · Professionell · Präzise
   Methodik: Mobile-First · CSS Custom Properties · WCAG AA
   ============================================================ */

/* =========================
   0. GOOGLE FONTS
========================= */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Barlow:ital,wght@0,400;0,500;0,600;1,400&display=swap');

/* =========================
   1. DESIGN TOKENS
========================= */

:root {
  /* Brand */
  --primary:       #002d73;
  --primary-dark:  #001d4d;
  --primary-mid:   #003d99;
  --secondary:     #dabc7c;
  --secondary-dk:  #c09a50;

  /* Neutrals */
  --bg:            #ffffff;
  --bg-subtle:     #f4f5f7;
  --bg-dark:       #0a0f1a;
  --text:          #0d0f14;
  --muted:         #5c6370;
  --muted-light:   rgba(255,255,255,0.72);
  --border:        #dde0e6;
  --border-light:  rgba(255,255,255,0.12);
  --white:         #ffffff;

  /* Typography */
  --font-head:     'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --font-body:     'Barlow', system-ui, -apple-system, sans-serif;

  /* Fluid type scale */
  --text-xs:       clamp(0.75rem,  1.5vw, 0.8rem);
  --text-sm:       clamp(0.875rem, 1.8vw, 0.95rem);
  --text-base:     clamp(1rem,     2vw,   1.05rem);
  --text-lg:       clamp(1.1rem,   2.2vw, 1.2rem);
  --text-xl:       clamp(1.3rem,   2.5vw, 1.5rem);
  --text-2xl:      clamp(1.6rem,   3vw,   2rem);
  --text-3xl:      clamp(1.9rem,   4vw,   2.6rem);
  --text-4xl:      clamp(2.4rem,   5vw,   3.4rem);
  --text-hero:     clamp(2.8rem,   7vw,   4.8rem);

  /* Spacing */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-24: 6rem;
  --sp-32: 8rem;

  /* Section rhythm */
  --section-py:    clamp(4rem, 8vw, 7rem);

  /* Shapes */
  --radius-sm:  4px;
  --radius:     10px;
  --radius-lg:  18px;
  --radius-xl:  28px;

  /* Limits */
  --max-width:  1160px;
  --max-prose:  680px;

  /* Motion */
  --ease:       cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in:    cubic-bezier(0.4, 0, 1, 1);

  /* Shadows */
  --shadow-sm:  0 1px 4px rgba(0,0,0,0.06);
  --shadow-md:  0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.12);
  --shadow-xl:  0 24px 60px rgba(0,0,0,0.16);
}

/* =========================
   2. RESET / BASE
========================= */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin:     0;
  padding:    0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family:            var(--font-body);
  font-size:              var(--text-base);
  line-height:            1.65;
  color:                  var(--text);
  background:             var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x:             hidden;
}

::selection {
  background: var(--secondary);
  color:      var(--primary-dark);
}

:focus-visible {
  outline:        3px solid var(--secondary);
  outline-offset: 3px;
  border-radius:  var(--radius-sm);
}

img, video {
  max-width:     100%;
  height:        auto;
  display:       block;
  border-radius: var(--radius);
}

a {
  color:           var(--primary);
  text-decoration: none;
  transition:      color 0.2s ease;
}

a:hover {
  color: var(--primary-mid);
}

ul, ol {
  list-style: none;
}

/* =========================
   3. TYPOGRAPHY SYSTEM
========================= */

h1, h2, h3, h4, h5 {
  font-family:    var(--font-head);
  font-weight:    800;
  line-height:    1.08;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color:          var(--text);
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-xl);  font-weight: 700; }
h4 { font-size: var(--text-lg);  font-weight: 700; }

p {
  color:     var(--muted);
  max-width: 65ch;
}

p + p { margin-top: var(--sp-4); }

strong { font-weight: 600; color: var(--text); }

small { font-size: var(--text-xs); }

/* Eyebrow label */
.eyebrow {
  display:        inline-block;
  font-family:    var(--font-head);
  font-weight:    700;
  font-size:      var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color:          var(--secondary);
  margin-bottom:  var(--sp-3);
}

.eyebrow--light { color: rgba(255,255,255,0.6); }
.eyebrow--gold  { color: var(--secondary); }

/* Section header block */
.section-header {
  margin-bottom: var(--sp-12);
}

.section-header h2 {
  margin-top: var(--sp-2);
}

.section-header .section-intro {
  margin-top: var(--sp-4);
  max-width:  var(--max-prose);
  font-size:  var(--text-lg);
}

.section-header--light h2,
.section-header--light .section-intro {
  color: rgba(255,255,255,0.9);
}

.section-header--centered {
  text-align: center;
}

.section-header--centered p {
  margin-left:  auto;
  margin-right: auto;
}

/* Gold accent underline on h2 */
.section-header h2::after {
  content:       '';
  display:       block;
  width:         44px;
  height:        3px;
  background:    var(--secondary);
  margin-top:    var(--sp-3);
  border-radius: 2px;
}

.section-header--centered h2::after {
  margin-left:  auto;
  margin-right: auto;
}

/* =========================
   4. LAYOUT
========================= */

.section-inner {
  max-width: var(--max-width);
  margin:    0 auto;
  padding:   0 var(--sp-6);
}

section {
  padding: var(--section-py) 0;
}

/* =========================
   5. BUTTONS
========================= */

.btn {
  display:         inline-flex;
  align-items:     center;
  gap:             var(--sp-2);
  padding:         0.75rem 1.6rem;
  border-radius:   var(--radius-sm);
  font-family:     var(--font-head);
  font-weight:     700;
  font-size:       var(--text-sm);
  letter-spacing:  0.06em;
  text-transform:  uppercase;
  text-decoration: none;
  border:          2px solid transparent;
  cursor:          pointer;
  transition:      background 0.2s ease, color 0.2s ease,
                   border-color 0.2s ease, transform 0.2s var(--ease),
                   box-shadow 0.2s ease;
  white-space:     nowrap;
}

/* Gold — for dark backgrounds */
.btn--gold {
  background:   var(--secondary);
  color:        var(--primary-dark);
  border-color: var(--secondary);
}
.btn--gold:hover {
  background:   var(--secondary-dk);
  border-color: var(--secondary-dk);
  color:        var(--primary-dark);
  transform:    translateY(-2px);
  box-shadow:   0 8px 24px rgba(218,188,124,0.3);
}

/* Outline — for light backgrounds */
.btn--outline {
  background:   transparent;
  color:        var(--primary);
  border-color: var(--primary);
}
.btn--outline:hover {
  background: var(--primary);
  color:      var(--white);
  transform:  translateY(-2px);
}

/* Ghost — for dark backgrounds */
.btn--ghost {
  background:   transparent;
  color:        var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn--ghost:hover {
  border-color: var(--white);
  background:   rgba(255,255,255,0.08);
  color:        var(--white);
  transform:    translateY(-2px);
}

/* Ghost dark — for light backgrounds */
.btn--ghost-dark {
  background:   transparent;
  color:        var(--primary);
  border-color: rgba(0,45,115,0.3);
}
.btn--ghost-dark:hover {
  border-color: var(--primary);
  transform:    translateY(-2px);
}

/* =========================
   6. HEADER
========================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: var(--sp-4) var(--sp-6);
  background: white;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.site-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.site-branding img {
  height: 80px;
  width: auto;
  display: block;
}

/* BURGER */
.menu-toggle {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 20px;
  position: relative;
  z-index: 300;
}

.menu-toggle span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #111;
  transition: all 0.3s ease;
}

.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 9px; }
.menu-toggle span:nth-child(3) { bottom: 0; }

/* BURGER ANIMATION */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 9px;
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
  bottom: 9px;
}

/* MOBILE NAV (FULLSCREEN) */
.main-navigation {
  position: fixed;
  inset: 0;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateY(-100%);
  transition: transform 0.4s ease;
  z-index: 250;
}

.main-navigation.is-open {
  transform: translateY(0);
}

.main-navigation ul {
  list-style: none;
  text-align: center;
}

.main-navigation a {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-dark);
  text-decoration: none;
}

/* DESKTOP */
@media (min-width: 768px) {

  .menu-toggle {
    display: none;
  }

  .main-navigation {
    position: static;
    transform: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: flex-end
  }

  .main-navigation ul {
    display: flex;
    gap: var(--sp-6);
  }

  .main-navigation li {
    margin: 0;
  }

  .main-navigation a {
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary-dark);
  }

  .main-navigation a:hover {
    color: var(--secondary);
  }
}

/* =========================
   7. FOOTER
========================= */

.site-footer {
  background:  var(--primary-dark);
  color:       rgba(255,255,255,0.65);
  padding:     var(--sp-16) 0 var(--sp-8);
  font-size:   var(--text-sm);
}

.site-footer__inner {
  max-width: var(--max-width);
  margin:    0 auto;
  padding:   0 var(--sp-6);
}

.site-footer__top {
  display:               grid;
  gap:                   var(--sp-8);
  padding-bottom:        var(--sp-12);
  border-bottom:         1px solid rgba(255,255,255,0.1);
  margin-bottom:         var(--sp-8);
}

.site-footer__brand {
  font-family:    var(--font-head);
  font-weight:    800;
  font-size:      1.4rem;
  text-transform: uppercase;
  color:          var(--white);
  letter-spacing: 0.04em;
  margin-bottom:  var(--sp-3);
}

.site-footer__brand span { color: var(--secondary); }

.site-footer__tagline {
  color:    rgba(255,255,255,0.5);
  max-width: 28ch;
  font-size: var(--text-sm);
}

.site-footer h4 {
  color:          var(--white);
  font-size:      var(--text-xs);
  letter-spacing: 0.1em;
  margin-bottom:  var(--sp-4);
  text-transform: uppercase;
}

.site-footer ul { list-style: none; }

.site-footer ul li + li { margin-top: var(--sp-2); }

.site-footer a {
  color:           rgba(255,255,255,0.6);
  text-decoration: none;
  transition:      color 0.2s ease;
}

.site-footer a:hover { color: var(--secondary); }

.site-footer__bottom {
  display:         flex;
  flex-wrap:       wrap;
  gap:             var(--sp-4);
  align-items:     center;
  justify-content: space-between;
  font-size:       var(--text-xs);
  color:           rgba(255,255,255,0.35);
}

/* =========================
   8. HERO SECTION
========================= */

.hero {
  position:         relative;
  min-height:       100svh;
  display:          flex;
  align-items:      center;
  justify-content:  center;
  text-align:       center;
  overflow:         hidden;
  background-color: var(--primary-dark);
  background-size:  cover;
  background-position: center;
  background-repeat:   no-repeat;
}

/* Dark overlay */
.hero::before {
  content:    '';
  position:   absolute;
  inset:      0;
  background: linear-gradient(
    160deg,
    rgba(0,13,40,0.75) 0%,
    rgba(0,30,80,0.55) 60%,
    rgba(0,10,30,0.8)  100%
  );
  z-index: 1;
}

.hero__inner {
  position:  relative;
  z-index:   2;
  max-width: 860px;
  padding:   var(--sp-8) var(--sp-6);
  margin:    0 auto;
  padding-top: calc(var(--sp-16) + 60px); /* offset fixed header */
}

.hero__headline {
  font-size:   var(--text-hero);
  color:       var(--white);
  line-height: 1.0;
  margin-top:  var(--sp-3);
  text-shadow: 0 2px 30px rgba(0,0,0,0.35);
}

.hero__sub {
  font-size:   var(--text-lg);
  color:       var(--muted-light);
  max-width:   55ch;
  margin:      var(--sp-6) auto var(--sp-8);
  line-height: 1.6;
}

.hero__actions {
  display:         flex;
  flex-wrap:       wrap;
  gap:             var(--sp-3);
  justify-content: center;
}

/* Scroll hint */
.hero__scroll-hint {
  position:       absolute;
  bottom:         2rem;
  left:           50%;
  transform:      translateX(-50%);
  z-index:        2;
  display:        flex;
  flex-direction: column;
  align-items:    center;
  gap:            var(--sp-2);
}

.hero__scroll-line {
  display:    block;
  width:      1px;
  height:     40px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.45));
  animation:  scrollPulse 2s ease-in-out infinite;
}

.hero__scroll-label {
  font-family:    var(--font-head);
  font-size:      0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color:          rgba(255,255,255,0.4);
}

@keyframes scrollPulse {
  0%   { opacity: 0; transform: scaleY(0.3); transform-origin: top; }
  50%  { opacity: 1; }
  100% { opacity: 0; transform: scaleY(1);   transform-origin: bottom; }
}

/* =========================
   9. PROBLEM SECTION
========================= */

.problem {
  background: var(--primary);
  color:      var(--white);
}

.problem .section-header h2 { color: var(--white); }

.problem .section-header h2::after { background: var(--secondary); }

.problem__grid {
  display: grid;
  gap:     var(--sp-4);
  list-style: none;
}

.problem__card {
  padding:    var(--sp-6);
  background: rgba(255,255,255,0.05);
  border:     1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.problem__card:hover {
  background:   rgba(255,255,255,0.09);
  border-color: rgba(218,188,124,0.3);
}

.problem__icon {
  display:         flex;
  align-items:     center;
  justify-content: center;
  width:           48px;
  height:          48px;
  border-radius:   50%;
  background:      rgba(218,188,124,0.15);
  margin-bottom:   var(--sp-4);
  flex-shrink:     0;
}

.problem__icon img {
  width:         28px;
  height:        28px;
  object-fit:    contain;
  border-radius: 0;
}

.problem__icon--placeholder::before {
  content:       '';
  display:       block;
  width:         20px;
  height:        20px;
  border-radius: 50%;
  background:    var(--secondary);
  opacity:       0.5;
}

.problem__card-title {
  font-size:     var(--text-lg);
  color:         var(--white);
  margin-bottom: var(--sp-2);
  text-transform: uppercase;
}

.problem__card p {
  color:     rgba(255,255,255,0.72);
  max-width: none;
  font-size: var(--text-sm);
}

/* =========================
   10. SOLUTION SECTION
========================= */

.solution {
  background: var(--bg-subtle);
}

.solution__split {
  display: grid;
  gap:     var(--sp-12);
  align-items: center;
}

.solution__text .btn {
  margin-top: var(--sp-6);
}

.solution__image img {
  width:      100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

/* =========================
   11. RESULTS SECTION
========================= */

.results {
  background: var(--bg);
}

.results__grid {
  display: grid;
  gap:     var(--sp-6);
}

/* Counter for cards */
.results__grid { counter-reset: results-counter; }

.result-card {
  counter-increment: results-counter;
  position:      relative;
  padding:       var(--sp-8);
  background:    var(--bg);
  border:        1px solid var(--border);
  border-radius: var(--radius);
  overflow:      hidden;
  transition:    transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
                 border-color 0.25s ease;
}

/* Gold top line on hover */
.result-card::before {
  content:    '';
  position:   absolute;
  top:        0; left: 0; right: 0;
  height:     3px;
  background: linear-gradient(90deg, var(--secondary), var(--primary-mid));
  opacity:    0;
  transition: opacity 0.25s ease;
}

.result-card:hover {
  transform:    translateY(-5px);
  box-shadow:   var(--shadow-lg);
  border-color: transparent;
}

.result-card:hover::before { opacity: 1; }

/* Large number watermark */
.result-card::after {
  content:        counter(results-counter, decimal-leading-zero);
  position:       absolute;
  bottom:         var(--sp-4);
  right:          var(--sp-6);
  font-family:    var(--font-head);
  font-weight:    800;
  font-size:      3.5rem;
  color:          rgba(0,45,115,0.05);
  line-height:    1;
  pointer-events: none;
  user-select:    none;
}

.result-card__title {
  font-size:     var(--text-xl);
  color:         var(--primary);
  margin-bottom: var(--sp-3);
}

.result-card__text {
  font-size: var(--text-sm);
  max-width: none;
}

/* =========================
   12. MODULES SECTION
========================= */

.modules {
  background: var(--bg-subtle);
}

.modules__grid {
  display: grid;
  gap:     var(--sp-6);
}

.module-card {
  position:      relative;
  padding:       var(--sp-8);
  background:    var(--bg);
  border:        1px solid var(--border);
  border-radius: var(--radius-lg);
  display:       flex;
  flex-direction: column;
  gap:           var(--sp-4);
  transition:    transform 0.25s var(--ease), box-shadow 0.25s ease;
}

.module-card:hover {
  transform:  translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Featured variant */
.module-card--featured {
  background:   var(--primary);
  border-color: transparent;
  color:        var(--white);
}

.module-card--featured .module-card__title,
.module-card--featured .module-card__duration,
.module-card--featured .module-card__desc {
  color: var(--white);
}

.module-card--featured .module-card__feature {
  color: rgba(255,255,255,0.85);
}

.module-card--featured .module-card__check::before {
  border-color: var(--secondary);
}

.module-card__badge {
  display:        inline-block;
  background:     var(--secondary);
  color:          var(--primary-dark);
  font-family:    var(--font-head);
  font-weight:    700;
  font-size:      var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding:        0.2rem 0.6rem;
  border-radius:  var(--radius-sm);
  align-self:     flex-start;
}

.module-card__duration {
  font-family:    var(--font-head);
  font-weight:    700;
  font-size:      var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color:          var(--secondary);
}

.module-card--featured .module-card__duration {
  color: var(--secondary);
}

.module-card__title {
  font-size:   var(--text-2xl);
  color:       var(--primary);
  line-height: 1.1;
}

.module-card__desc {
  color:     var(--muted);
  font-size: var(--text-sm);
  max-width: none;
}

.module-card__features {
  list-style: none;
  display:    flex;
  flex-direction: column;
  gap:        var(--sp-3);
  margin-top: var(--sp-2);
  flex-grow:  1;
}

.module-card__feature {
  display:     flex;
  align-items: flex-start;
  gap:         var(--sp-3);
  font-size:   var(--text-sm);
  color:       var(--muted);
  line-height: 1.4;
}

/* Checkmark */
.module-card__check {
  flex-shrink: 0;
  width:       18px;
  height:      18px;
  margin-top:  1px;
}

.module-card__check::before {
  content:      '';
  display:      block;
  width:        18px;
  height:       18px;
  border:       2px solid var(--secondary);
  border-radius: 50%;
  background:   url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%23dabc7c' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/10px no-repeat;
}

/* =========================
   13. TESTIMONIALS SECTION
========================= */

.testimonials {
  background: var(--bg);
}

.testimonials__grid {
  display: grid;
  gap:     var(--sp-6);
}

.testimonial-card {
  position:      relative;
  padding:       var(--sp-8);
  background:    var(--bg-subtle);
  border:        1px solid var(--border);
  border-radius: var(--radius);
  margin:        0;
  transition:    transform 0.25s var(--ease), box-shadow 0.25s ease;
}

.testimonial-card:hover {
  transform:  translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Large decorative quote mark */
.testimonial-card::before {
  content:     '\201C';
  position:    absolute;
  top:         var(--sp-4);
  left:        var(--sp-6);
  font-family: Georgia, serif;
  font-size:   5rem;
  line-height: 1;
  color:       var(--secondary);
  opacity:     0.25;
  pointer-events: none;
}

.testimonial-card__quote {
  font-size:    var(--text-base);
  line-height:  1.7;
  color:        var(--text);
  font-style:   italic;
  max-width:    none;
  padding-top:  var(--sp-6);
  margin-bottom: var(--sp-6);
}

.testimonial-card__footer {
  display:     flex;
  align-items: center;
  gap:         var(--sp-3);
  border-top:  1px solid var(--border);
  padding-top: var(--sp-4);
}

.testimonial-card__photo {
  width:         48px;
  height:        48px;
  border-radius: 50%;
  object-fit:    cover;
  flex-shrink:   0;
}

.testimonial-card__meta {
  display:        flex;
  flex-direction: column;
  gap:            var(--sp-1);
}

.testimonial-card__name {
  font-family:  var(--font-head);
  font-weight:  700;
  font-size:    var(--text-sm);
  font-style:   normal;
  color:        var(--text);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.testimonial-card__role {
  font-size: var(--text-xs);
  color:     var(--secondary);
  font-family: var(--font-head);
  font-weight: 600;
}

/* =========================
   14. TEAM SECTION
========================= */

.team {
  background: var(--bg-subtle);
}

.team__grid {
  display: grid;
  gap:     var(--sp-8);
}

.team-card {
  background:    var(--bg);
  border:        1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow:      hidden;
  transition:    transform 0.25s var(--ease), box-shadow 0.25s ease;
}

.team-card:hover {
  transform:  translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.team-card__photo-wrap {
  overflow:        hidden;
  aspect-ratio:    1 / 1;
  background:      var(--bg-subtle);
}

.team-card__photo-wrap--placeholder {
  display:         flex;
  align-items:     center;
  justify-content: center;
}

.team-card__photo {
  width:         100%;
  height:        100%;
  object-fit:    cover;
  border-radius: 0;
  transition:    transform 0.4s var(--ease);
}

.team-card:hover .team-card__photo {
  transform: scale(1.04);
}

.team-card__body {
  padding: var(--sp-6);
}

.team-card__name {
  font-size:     var(--text-xl);
  color:         var(--primary);
  margin-bottom: var(--sp-1);
}

.team-card__role {
  display:        block;
  font-family:    var(--font-head);
  font-weight:    700;
  font-size:      var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color:          var(--secondary);
  margin-bottom:  var(--sp-4);
}

.team-card__bio {
  list-style: none;
  display:    flex;
  flex-direction: column;
  gap:        var(--sp-1);
}

.team-card__bio li {
  font-size:   var(--text-xs);
  color:       var(--muted);
  padding-left: var(--sp-4);
  position:    relative;
}

.team-card__bio li::before {
  content:    '—';
  position:   absolute;
  left:       0;
  color:      var(--secondary);
  font-size:  var(--text-xs);
}

.team-card__linkedin {
  display:        inline-block;
  margin-top:     var(--sp-4);
  font-family:    var(--font-head);
  font-weight:    700;
  font-size:      var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color:          var(--primary);
  text-decoration: none;
  transition:     color 0.2s ease;
}

.team-card__linkedin:hover { color: var(--secondary); }

/* =========================
   15. CTA SECTION
========================= */

.cta-section {
  background: var(--primary);
  position:   relative;
  overflow:   hidden;
}

/* Decorative circle */
.cta-section::before {
  content:       '';
  position:      absolute;
  top:           -120px;
  right:         -120px;
  width:         480px;
  height:        480px;
  border-radius: 50%;
  border:        1px solid rgba(218,188,124,0.12);
  pointer-events: none;
}

.cta-section::after {
  content:       '';
  position:      absolute;
  bottom:        -80px;
  left:          -80px;
  width:         320px;
  height:        320px;
  border-radius: 50%;
  border:        1px solid rgba(218,188,124,0.08);
  pointer-events: none;
}

.cta-section__inner {
  position:  relative;
  z-index:   1;
  text-align: center;
  max-width:  var(--max-prose);
  margin:     0 auto;
}

.cta-section h2 {
  color:         var(--white);
  margin-top:    var(--sp-2);
  margin-bottom: var(--sp-4);
}

.cta-section h2::after {
  margin-left:  auto;
  margin-right: auto;
  background:   var(--secondary);
}

.cta-section__sub {
  color:         rgba(255,255,255,0.75);
  margin:        0 auto var(--sp-8);
  font-size:     var(--text-lg);
  max-width:     50ch;
}

.cta-section__actions {
  display:         flex;
  flex-wrap:       wrap;
  gap:             var(--sp-3);
  justify-content: center;
}

/* =========================
   16. CONTACT SECTION
========================= */

.contact {
  background: var(--bg-subtle);
}

.contact__layout {
  display: grid;
  gap:     var(--sp-12);
}

.contact__intro h2 { margin-top: var(--sp-2); }

.contact__intro p {
  max-width:  55ch;
  font-size:  var(--text-lg);
  margin-top: var(--sp-4);
}

.contact__meta {
  list-style:  none;
  margin-top:  var(--sp-6);
  display:     flex;
  flex-direction: column;
  gap:         var(--sp-2);
}

.contact__meta a {
  font-family:    var(--font-head);
  font-weight:    700;
  font-size:      var(--text-base);
  color:          var(--primary);
  text-decoration: none;
  transition:     color 0.2s ease;
}

.contact__meta a:hover { color: var(--secondary); }

/* Form styles — CF7 compatible */
.contact__form .wpcf7,
.contact__form form {
  display:        flex;
  flex-direction: column;
  gap:            var(--sp-4);
}

.contact__form label {
  font-family:    var(--font-head);
  font-weight:    700;
  font-size:      var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color:          var(--text);
  display:        flex;
  flex-direction: column;
  gap:            var(--sp-2);
}

.contact__form input[type="text"],
.contact__form input[type="email"],
.contact__form input[type="tel"],
.contact__form textarea,
.contact__form select {
  width:         100%;
  padding:       0.75rem 1rem;
  border:        1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family:   var(--font-body);
  font-size:     var(--text-base);
  color:         var(--text);
  background:    var(--white);
  transition:    border-color 0.2s ease, box-shadow 0.2s ease;
  appearance:    none;
}

.contact__form input:focus,
.contact__form textarea:focus {
  border-color: var(--primary);
  box-shadow:   0 0 0 3px rgba(0,45,115,0.1);
  outline:      none;
}

.contact__form textarea {
  resize:     vertical;
  min-height: 140px;
}

.contact__form input[type="submit"],
.contact__form .wpcf7-submit {
  display:        inline-flex;
  align-items:    center;
  justify-content: center;
  padding:        0.8rem 1.8rem;
  background:     var(--primary);
  color:          var(--white);
  border:         none;
  border-radius:  var(--radius-sm);
  font-family:    var(--font-head);
  font-weight:    700;
  font-size:      var(--text-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor:         pointer;
  transition:     background 0.2s ease, transform 0.2s var(--ease);
  align-self:     flex-start;
}

.contact__form input[type="submit"]:hover,
.contact__form .wpcf7-submit:hover {
  background: var(--primary-dark);
  transform:  translateY(-2px);
}

/* =========================
   17. WORDPRESS EDITOR CONTENT
       (Datenschutz, Impressum etc.)
========================= */

.entry-content,
.page-content {
  max-width:    var(--max-prose);
  margin:       0 auto;
  padding:      var(--sp-24) var(--sp-6);
  font-size:    var(--text-base);
  color:        var(--muted);
  line-height:  1.75;
}

/* Überschriften im Editor */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  color:        var(--text);
  margin-top:   var(--sp-12);
  margin-bottom: var(--sp-4);
}

.entry-content h1 { font-size: var(--text-3xl); }
.entry-content h2 { font-size: var(--text-2xl); }
.entry-content h3 { font-size: var(--text-xl);  }
.entry-content h4 { font-size: var(--text-lg);  }

/* h2 ohne Underline-Dekoration im Editor */
.entry-content h2::after { display: none; }

.entry-content p {
  color:         var(--muted);
  margin-bottom: var(--sp-4);
  max-width:     none;
}

.entry-content a {
  color:           var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.entry-content a:hover { color: var(--secondary-dk); }

.entry-content ul,
.entry-content ol {
  list-style:    revert;
  padding-left:  var(--sp-6);
  margin-bottom: var(--sp-4);
}

.entry-content li { margin-bottom: var(--sp-2); }

.entry-content strong { color: var(--text); font-weight: 600; }

.entry-content hr {
  border:     none;
  border-top: 1px solid var(--border);
  margin:     var(--sp-8) 0;
}

.entry-content table {
  width:          100%;
  border-collapse: collapse;
  margin-bottom:  var(--sp-6);
  font-size:      var(--text-sm);
}

.entry-content th,
.entry-content td {
  text-align:  left;
  padding:     var(--sp-3) var(--sp-4);
  border:      1px solid var(--border);
}

.entry-content th {
  background:  var(--bg-subtle);
  font-family: var(--font-head);
  font-weight: 700;
  font-size:   var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color:       var(--text);
}

/* =========================
   18. SCROLL ANIMATION HOOK
       (JS-optional)
========================= */

.fade-up {
  opacity:   0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.fade-up.is-visible {
  opacity:   1;
  transform: translateY(0);
}

/* =========================
   19. RESPONSIVE — TABLET (≥ 640px)
========================= */

@media (min-width: 640px) {
  .problem__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .modules__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-card__photo-wrap {
    aspect-ratio: auto;
    height: 260px;
  }
}

/* =========================
   20. RESPONSIVE — DESKTOP (≥ 1024px)
========================= */

@media (min-width: 1024px) {

  /* Header nav visible */
  .site-header nav {
    display:     flex;
    align-items: center;
    gap:         var(--sp-8);
    justify-content: flex-end;
  }

  /* Problem: 3 columns */
  .problem__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Solution: split */
  .solution__split {
    grid-template-columns: 1fr 1fr;
    gap:                   var(--sp-16);
  }

  /* Results: 3 columns */
  .results__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Modules: max 3 columns */
  .modules__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Testimonials: 3 columns */
  .testimonials__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Team: 3 or 4 columns based on count */
  .team__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .team-card__photo-wrap {
    height: 280px;
  }

  /* Contact: 2-col split */
  .contact__layout {
    grid-template-columns: 1fr 1fr;
    align-items:           start;
  }

  /* Footer top: 3 cols */
  .site-footer__top {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

/* =========================
   21. RESPONSIVE — LARGE (≥ 1280px)
========================= */

@media (min-width: 1280px) {
  .team__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .modules__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* =========================
   22. PRINT
========================= */

@media print {
  .hero          { min-height: auto; }
  .site-header,
  .btn,
  .hero__scroll-hint { display: none; }
  body           { font-size: 12pt; }
}