/* ═══════════════════════════════════════════════════
   CSS CUSTOM PROPERTIES
═══════════════════════════════════════════════════ */
:root {
  --blue-light:   #5CB8E4;
  --blue-mid:     #3A72B4;
  --blue-dark:    #1E3A6E;
  --blue-deep:    #152a52;
  --white:        #FFFFFF;
  --gray-light:   #F4F7FB;
  --gray-border:  #E2E8F0;
  --gray-accent:  #6B7280;
  --gray-body:    #4B5563;

  --blue-light-10: rgba(92, 184, 228, 0.10);
  --blue-light-15: rgba(92, 184, 228, 0.15);
  --blue-dark-92:  rgba(30, 58, 110, 0.92);

  --font-display: 'Urbanist', system-ui, sans-serif;
  --font-body:    'Poppins', system-ui, sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  --shadow-card:   0 2px 12px rgba(30, 58, 110, 0.07);
  --shadow-hover:  0 16px 40px rgba(30, 58, 110, 0.14);
  --shadow-btn:    0 8px 24px rgba(92, 184, 228, 0.38);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ═══════════════════════════════════════════════════
   CSS RESET
═══════════════════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--gray-body);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; }

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, textarea {
  font-family: inherit;
  font-size: 1rem;
}

/* ═══════════════════════════════════════════════════
   BASE TYPOGRAPHY
═══════════════════════════════════════════════════ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  color: var(--blue-dark);
}

h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); font-weight: 900; }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
h4 { font-size: 0.95rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }

p { line-height: 1.75; }

.break-md { display: none; }
@media (min-width: 768px) { .break-md { display: block; } }

/* ═══════════════════════════════════════════════════
   UTILITY CLASSES
═══════════════════════════════════════════════════ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 110px 0;
}

.section--gray { background: var(--gray-light); }
.section--dark { background: var(--blue-dark); }
.section--cta  {
  background: linear-gradient(135deg, var(--blue-mid) 0%, var(--blue-deep) 100%);
  position: relative;
  overflow: hidden;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: 14px;
}

.section-label--light {
  color: var(--blue-light);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 { margin-bottom: 16px; }

.section-header p {
  font-size: 1.05rem;
  color: var(--gray-accent);
  max-width: 600px;
  margin: 0 auto;
}

.section-header--light h2 { color: var(--white); }
.section-header--light p  { color: rgba(255,255,255,0.65); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-pill);
  padding: 13px 28px;
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.btn-nav {
  background: var(--blue-light);
  color: var(--blue-dark);
  font-size: 0.875rem;
  padding: 10px 22px;
}
.btn-nav:hover {
  background: var(--white);
  transform: translateY(-1px);
}

.btn-primary-hero {
  background: var(--blue-light);
  color: var(--blue-dark);
  font-size: 1rem;
  padding: 16px 36px;
  box-shadow: var(--shadow-btn);
}
.btn-primary-hero:hover {
  background: #79caea;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(92, 184, 228, 0.5);
}

.btn-ghost-hero {
  border: 2px solid rgba(255,255,255,0.7);
  color: var(--white);
  font-size: 1rem;
  padding: 14px 34px;
}
.btn-ghost-hero:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--blue-dark);
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--blue-mid);
  color: var(--white);
  padding: 14px 32px;
}
.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30, 58, 110, 0.25);
}

.btn-cta-submit {
  background: var(--white);
  color: var(--blue-dark);
  font-size: 1rem;
  font-weight: 700;
  padding: 18px 44px;
  border-radius: var(--radius-pill);
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.btn-cta-submit:hover {
  background: var(--blue-light);
  color: var(--blue-dark);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 48px rgba(92, 184, 228, 0.45);
}

/* ═══════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 72px;
  background: rgba(30, 58, 110, 0.08);
  transition: background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition);
}

#navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

#navbar.scrolled .nav-logo-text       { color: var(--blue-dark); }
#navbar.scrolled .nav-links a         { color: var(--gray-body); }
#navbar.scrolled .nav-links a:hover   { color: var(--blue-dark); }
#navbar.scrolled .nav-links a::after  { background: var(--blue-mid); }
#navbar.scrolled .hamburger span      { background: var(--blue-dark); }
#navbar.scrolled .btn-nav             { background: var(--blue-mid); color: var(--white); }

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-text {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.01em;
}
.nav-logo-text strong {
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 36px;
  margin-left: auto;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  position: relative;
  transition: color var(--transition);
  padding-bottom: 3px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue-light);
  border-radius: 2px;
  transition: width var(--transition);
}
.nav-links a:hover {
  color: var(--white);
}
.nav-links a:hover::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  margin-left: auto;
  padding: 4px;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
@media (max-width: 767px) {
  .hamburger { display: flex; }
  .btn-nav   { display: none; }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--blue-dark);
    flex-direction: column;
    gap: 0;
    padding: 12px 0 24px;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.25s;
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
    margin-left: 0;
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-links a {
    display: block;
    padding: 14px 28px;
    font-size: 1rem;
    color: var(--white);
  }
  .nav-links a::after { display: none; }
  .nav-links a:hover { background: rgba(255,255,255,0.06); }
}

/* ═══════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════ */
#hero {
  position: relative;
  min-height: 100svh;
  background: var(--white);
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

/* Hide legacy bg panels */
.hero-bg-left,
.hero-bg-right { display: none; }

/* 70 / 30 layout */
.hero-layout {
  display: flex;
  align-items: stretch;
  width: 100%;
  min-height: 100svh;
  padding-top: 80px;
  padding-bottom: 60px;
}

.hero-content {
  flex: 1;
  padding-right: 52%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.hero-person-wrap {
  position: absolute;
  right: -140px;
  top: 0;
  height: 100%;
  width: 50%;
  pointer-events: none;
  z-index: 1;
}

.hero-person-img {
  position: absolute;
  bottom: 0;
  right: 0;
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: bottom right;
  pointer-events: none;
}

/* Slot reserves fixed space in h1 flow; wrapper is absolute so width changes don't reflow text above */
.hero-rotate-slot {
  position: relative;
  height: calc(1.1em + 12px);
  overflow: visible;
}

/* Rotating text wrapper — dark blue, dynamic width animated left-anchored */
.hero-rotate-wrapper {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: var(--blue-dark);
  color: var(--white);
  border-radius: 14px;
  padding: 4px 20px 6px 16px;
  overflow: hidden;
  white-space: nowrap;
  line-height: 1.1;
  font-size: inherit;
  font-weight: inherit;
  /* width-only transition – JS sets initial width and animates on change */
  transition: width 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-rotate-text-char {
  display: inline-block;
  animation-duration: 0.45s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  animation-fill-mode: both;
}

@keyframes char-in {
  from { transform: translateY(110%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

@keyframes char-out {
  from { transform: translateY(0);     opacity: 1; }
  to   { transform: translateY(-120%); opacity: 0; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-light-10);
  border: 1px solid rgba(92,184,228,0.3);
  border-radius: var(--radius-pill);
  padding: 7px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue-mid);
  letter-spacing: 0.03em;
  margin-bottom: 28px;
  animation: badge-appear 1s ease 0.3s both;
}

@keyframes badge-appear {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-headline {
  color: var(--blue-dark);
  margin-bottom: 24px;
  animation: hero-slide 0.9s ease 0.5s both;
  line-height: 1.1;
}

@keyframes hero-slide {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-sub {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--gray-body);
  margin-bottom: 40px;
  line-height: 1.8;
  animation: hero-slide 0.9s ease 0.7s both;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
  animation: hero-slide 0.9s ease 0.9s both;
}

/* Ghost button — dark on white hero */
.btn-ghost-hero {
  border: 2px solid var(--gray-border);
  color: var(--blue-dark);
  font-size: 1rem;
  padding: 14px 34px;
}
.btn-ghost-hero:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: var(--white);
  transform: translateY(-2px);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  animation: hero-slide 0.9s ease 1.1s both;
}
.hero-trust span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.825rem;
  font-weight: 500;
  color: var(--gray-accent);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  animation: bounce 2s ease infinite 2s;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* Mobile hero */
@media (max-width: 767px) {
  #hero {
    min-height: 100svh;
    overflow: hidden;
  }

  .hero-layout {
    flex-direction: column;
    padding-top: 60px; /* navbar height */
    padding-bottom: 0;
    gap: 0;
    min-height: 100svh;
    align-items: stretch;
  }

  /* Hide elements we don't need on mobile to fit one screen */
  .hero-badge  { display: none; }
  .hero-trust  { display: none; }
  .hero-scroll-indicator { display: none; }
  .btn-ghost-hero { display: none; }

  /* Fatemeh image – top, fills ~48% of screen */
  .hero-person-wrap {
    order: 1;
    position: static;
    width: 100%;
    height: 48svh;
    flex: none;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    overflow: hidden;
  }

  .hero-person-img {
    position: static;
    height: 100%;
    width: auto;
    max-width: none;
    right: auto;
    object-fit: contain;
    object-position: bottom center;
  }

  /* Text + CTA – below image, fills rest of screen */
  .hero-content {
    order: 2;
    flex: 1;
    padding-right: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 24px 20px;
    gap: 10px;
    z-index: 2;
  }

  .hero-headline {
    font-size: clamp(1.6rem, 6.5vw, 2.2rem);
    margin-bottom: 0;
  }

  .hero-sub {
    font-size: 0.85rem;
    margin-bottom: 0;
    line-height: 1.55;
  }

  .hero-ctas {
    justify-content: center;
    margin-bottom: 0;
    gap: 10px;
  }

  /* Center the dynamic text box on mobile (desktop stays left-anchored) */
  .hero-rotate-wrapper {
    left: 50%;
    transform: translateX(-50%);
  }
}

/* ═══════════════════════════════════════════════════
   BOUNCE CARDS (Leistungen)
═══════════════════════════════════════════════════ */
.bounce-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 640px) {
  .bounce-cards-grid { grid-template-columns: 1fr; }
}

.bounce-card {
  position: relative;
  min-height: 300px;
  background: var(--gray-light);
  border-radius: var(--radius-xl);
  padding: 40px 36px 180px;
  overflow: hidden;
  cursor: default;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.25s;
}
.bounce-card:hover {
  box-shadow: var(--shadow-hover);
}

.bounce-card h3 {
  font-size: 1.45rem;
  color: var(--blue-dark);
  margin-bottom: 10px;
}
.bounce-card-sub {
  color: var(--gray-body);
  font-size: 0.925rem;
  line-height: 1.6;
  font-style: italic;
}

.bounce-card-panel {
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  top: auto;
  min-height: 160px;
  background: linear-gradient(135deg, var(--panel-from, #5CB8E4), var(--panel-to, #3A72B4));
  border-radius: 20px 20px 24px 24px;
  padding: 24px 28px;
  transform: translateY(12px);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  color: white;
  font-size: 0.875rem;
  line-height: 1.65;
}
@keyframes card-rock {
  0%   { transform: translateY(-4px) rotate(0deg); }
  25%  { transform: translateY(-4px) rotate(4deg); }
  75%  { transform: translateY(-4px) rotate(-4deg); }
  100% { transform: translateY(-4px) rotate(0deg); }
}

.bounce-card:hover .bounce-card-panel {
  animation: card-rock 0.45s ease-in-out 1 forwards;
}

@media (prefers-reduced-motion: reduce) {
  .bounce-card:hover .bounce-card-panel {
    animation: none;
    transform: translateY(-4px);
  }
}

/* ═══════════════════════════════════════════════════
   SERVICES GRID (legacy, kept for fallback)
═══════════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition), border-top-color var(--transition);
  border-top: 3px solid transparent;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--blue-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--blue-light-10);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background var(--transition);
}
.service-card:hover .service-icon {
  background: var(--blue-light-15);
}

.service-card h3 {
  color: var(--blue-dark);
  margin-bottom: 10px;
  font-size: 1.05rem;
}
.service-card p {
  font-size: 0.875rem;
  color: var(--gray-accent);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════════
   CTA BLOCK (inline CTAs, repeated 3×)
═══════════════════════════════════════════════════ */
.section--cta-block {
  background: var(--gray-light);
  padding: 60px 0;
}

.cta-block-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px 60px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--gray-border);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s;
}
.cta-block-inner:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 56px rgba(30, 58, 110, 0.16);
}

.cta-deco-img {
  align-self: stretch;
  height: auto;
  width: 180px;
  object-fit: contain;
  object-position: center bottom;
  flex-shrink: 0;
  margin-top: -48px;
  margin-bottom: -48px;
  margin-right: 0;
  border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
}

@media (max-width: 860px) {
  .cta-deco-img { display: none; }
}

@media (max-width: 860px) {
  .cta-block-inner {
    flex-direction: column;
    padding: 36px 28px;
    gap: 32px;
  }
}

.cta-block-text { max-width: 420px; }
.cta-block-text h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: var(--blue-dark);
  margin-bottom: 12px;
  font-weight: 800;
}
.cta-block-text p {
  color: var(--gray-body);
  margin-bottom: 28px;
  font-size: 0.975rem;
  line-height: 1.7;
}

.cta-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 260px;
}
.cta-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--gray-body);
  font-weight: 500;
  line-height: 1.4;
}
.check-icon {
  width: 22px;
  height: 22px;
  background: var(--blue-dark);
  color: white;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1;
}

/* ═══════════════════════════════════════════════════
   WARUM DOK MARKETING
═══════════════════════════════════════════════════ */
.warum-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

/* Warum photo wrapper */
.warum-photo-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(30, 58, 110, 0.22);
  align-self: start;
}

.warum-photo {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.warum-stats-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  background: rgba(21, 42, 82, 0.93);
  border-radius: var(--radius-lg);
  padding: 28px 40px;
  margin-top: 40px;
  border: 1px solid rgba(92,184,228,0.15);
}

@media (max-width: 600px) {
  .warum-stats-row {
    gap: 16px;
    padding: 20px 24px;
  }
  .warum-divider { display: none; }
}

.warum-stat { text-align: center; }

.stat-number {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--blue-light);
  line-height: 1;
}
.stat-plus {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--blue-light);
  vertical-align: top;
  margin-top: 4px;
  display: inline-block;
}
.stat-label {
  display: block;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  font-weight: 400;
  margin-top: 6px;
  white-space: nowrap;
}

.warum-divider {
  width: 1px;
  align-self: stretch;
  background: rgba(255,255,255,0.15);
  margin: 0;
}

.warum-content h2 {
  margin-bottom: 20px;
  margin-top: 12px;
}
.warum-content > p {
  color: var(--gray-accent);
  margin-bottom: 32px;
  font-size: 0.975rem;
}

.usp-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}
.usp-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--gray-body);
}
.usp-list svg { flex-shrink: 0; }

@media (max-width: 767px) {
  .warum-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ═══════════════════════════════════════════════════
   TESTIMONIALS / REFERENZEN
═══════════════════════════════════════════════════ */
.section--testimonials {
  background: var(--white);
  padding: 110px 0;
  overflow: hidden;
}

.section--testimonials .section-header {
  margin-bottom: 56px;
}

.section--testimonials .section-label {
  display: inline-block;
  border: 1px solid var(--gray-border);
  color: var(--gray-accent);
  background: transparent;
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.testimonials-columns-wrapper {
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 22%, black 78%, transparent);
  mask-image: linear-gradient(to bottom, transparent, black 22%, black 78%, transparent);
  max-height: 740px;
  overflow: hidden;
}

.testimonials-columns {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Each column */
.testimonials-col {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  width: 300px;
}

.testimonials-col--md {
  display: none;
}

.testimonials-col--lg {
  display: none;
}

@media (min-width: 768px) {
  .testimonials-col--md {
    display: flex;
  }
}

@media (min-width: 1024px) {
  .testimonials-col--lg {
    display: flex;
  }
  .testimonials-col {
    width: 340px;
  }
}

/* Scrolling track */
.testimonials-track {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: scroll-up var(--duration, 30s) linear infinite;
  padding-bottom: 20px;
}

.testimonials-track:hover {
  animation-play-state: paused;
}

@keyframes scroll-up {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}

/* Individual card */
.tcard {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: 24px;
  padding: 28px 28px 24px;
  box-shadow: 0 4px 20px rgba(30, 58, 110, 0.07);
  transition: box-shadow var(--transition), transform var(--transition);
  flex-shrink: 0;
}

.tcard:hover {
  box-shadow: 0 12px 40px rgba(30, 58, 110, 0.13);
  transform: translateY(-2px);
}

.tcard > p {
  font-size: 0.9rem;
  color: var(--gray-body);
  line-height: 1.7;
  margin-bottom: 20px;
}

.tcard-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tcard-author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.avatar-initials {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue-mid);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.03em;
}

.tcard-author strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue-dark);
  line-height: 1.3;
}

.tcard-author span {
  display: block;
  font-size: 0.8rem;
  color: var(--gray-accent);
  line-height: 1.4;
}

/* ═══════════════════════════════════════════════════
   ZIELGRUPPE
═══════════════════════════════════════════════════ */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.audience-card {
  border-radius: var(--radius-xl);
  padding: 48px 32px 40px;
  background: linear-gradient(135deg, #F4F7FB, #EBF4FF);
  background-size: cover;
  background-position: center;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.audience-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(30,58,110,0.52) 0%, rgba(21,42,82,0.88) 100%);
  border-radius: inherit;
}

.audience-card > * {
  position: relative;
  z-index: 1;
}

.audience-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.audience-icon {
  margin: 0 auto 24px;
  width: 56px;
}

.audience-card h3 {
  color: var(--white);
  margin-bottom: 12px;
  font-size: 1.1rem;
}
.audience-card p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
}

@media (max-width: 900px) {
  .audience-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}

/* ═══════════════════════════════════════════════════
   ABLAUF / PROCESS
═══════════════════════════════════════════════════ */

/* Layout: steps left, photo right */
.ablauf-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: stretch;
}

@media (max-width: 960px) {
  .ablauf-layout { grid-template-columns: 1fr; }
  .ablauf-photo-wrap { display: none; }
}

.ablauf-photo-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  min-height: 480px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.35);
}
.ablauf-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}

/* Process steps — vertical stack inside ablauf-layout */
.process-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.process-step {
  text-align: left;
  padding: 0 0 0 0;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.process-step-body { flex: 1; padding-bottom: 0; }

.process-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue-dark);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 0 8px rgba(92, 184, 228, 0.12);
  /* Bounce-in animation */
  transform: scale(0.5);
  opacity: 0;
  transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) calc(var(--delay, 0s) + 0.2s),
              opacity 0.4s ease calc(var(--delay, 0s) + 0.2s);
}

.process-step.is-visible .process-number {
  transform: scale(1);
  opacity: 1;
}

.process-step h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 8px;
  padding-top: 14px;
}
.process-step p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
  padding-bottom: 8px;
}

/* Connector between steps */
.process-connector {
  width: 2px;
  height: 0;
  background: rgba(92, 184, 228, 0.3);
  margin: 0 29px;
  overflow: hidden;
  transition: height 0.5s ease calc(var(--delay, 0s) + 0.15s);
}

.process-connector.is-visible { height: 40px; }

/* Connectors don't need the default data-animate transform */
.process-connector[data-animate] {
  transform: none;
  opacity: 1;
}

/* ═══════════════════════════════════════════════════
   CTA / CONTACT SECTION
═══════════════════════════════════════════════════ */
.cta-circles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.cta-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.06);
}
.cta-circle--1 {
  width: 600px; height: 600px;
  top: -200px; left: -200px;
}
.cta-circle--2 {
  width: 400px; height: 400px;
  bottom: -150px; right: 10%;
}
.cta-circle--3 {
  width: 250px; height: 250px;
  top: 20%; right: 5%;
}

.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
  position: relative;
  z-index: 1;
}

.cta-tag {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.85);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}

.cta-content h2 {
  color: var(--white);
  margin-bottom: 20px;
}
.cta-content p {
  font-size: 1rem;
  color: rgba(255,255,255,0.72);
  font-weight: 300;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Contact Form */
.contact-form {
  max-width: 780px;
  margin: 0 auto 40px;
  position: relative;
  z-index: 1;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.form-group--full { margin-bottom: 20px; }

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.04em;
}

.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--white);
  font-size: 0.9rem;
  transition: border-color var(--transition), background var(--transition);
  outline: none;
  resize: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.32);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(92, 184, 228, 0.7);
  background: rgba(255,255,255,0.13);
}

.form-footer {
  text-align: center;
}

.form-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  margin-top: 16px;
  font-weight: 400;
}

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}

/* CTA contact row */
.cta-contact-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}
.cta-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.cta-contact-item:hover { color: var(--white); }
.cta-dot { color: rgba(255,255,255,0.25); }

/* ═══════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════ */
#footer {
  background: var(--blue-deep);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo .nav-logo-text {
  font-size: 1rem;
}

.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  margin-top: 14px;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}
.social-link {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}
.social-link:hover {
  color: var(--blue-light);
  border-color: rgba(92, 184, 228, 0.4);
  background: rgba(92, 184, 228, 0.08);
}

.footer-col h4 {
  color: rgba(255,255,255,0.5);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-family: var(--font-body);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col ul li a,
.footer-col ul li {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-col ul li a:hover { color: var(--white); }

.footer-contact li { cursor: default; }

.footer-cta-link {
  display: inline-block;
  margin-top: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue-light);
  transition: color var(--transition), gap var(--transition);
}
.footer-cta-link:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}
.footer-legal {
  display: flex;
  gap: 20px;
}
.footer-legal a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  transition: color var(--transition);
}
.footer-legal a:hover { color: rgba(255,255,255,0.7); }

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ═══════════════════════════════════════════════════
   GALERIE
═══════════════════════════════════════════════════ */
.section--galerie {
  padding: 0;
  overflow: hidden;
}

.galerie-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 6px;
  grid-template-areas:
    "big1 sm1 sm2"
    "big1 sm3 sm4";
}

.galerie-item {
  overflow: hidden;
  position: relative;
}

.galerie-item--big { grid-area: big1; }
.galerie-item--sm1 { grid-area: sm1; }
.galerie-item--sm2 { grid-area: sm2; }
.galerie-item--sm3 { grid-area: sm3; }
.galerie-item--sm4 { grid-area: sm4; }

.galerie-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.galerie-item:hover img {
  transform: scale(1.05);
}

@media (max-width: 900px) {
  .galerie-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 220px 220px;
    grid-template-areas:
      "big1 big1"
      "sm1  sm2"
      "sm3  sm4";
  }
}

@media (max-width: 540px) {
  .galerie-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 160px 160px 160px;
  }
}

/* ═══════════════════════════════════════════════════
   SCROLL ANIMATIONS
═══════════════════════════════════════════════════ */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1) var(--delay, 0s),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1) var(--delay, 0s);
}

[data-animate="fade-right"] {
  transform: translateX(-28px);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ═══════════════════════════════════════════════════
   REDUCED MOTION
═══════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.2s !important;
  }
  [data-animate] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html { scroll-behavior: auto; }
}
