/* ============================================================
   Wayve Jugendhilfe GmbH – Stylesheet
   Farben: #035AAF → #3D8FC0 → #77C598
   Fonts: Syne (Headings) · DM Sans (Body)
   ============================================================ */

/* Fonts werden non-blocking per <link> im HTML geladen */

/* ── Reset & Basis ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:       #035AAF;
  --blue-mid:   #2172B8;
  --teal:       #3D9CB5;
  --green:      #77C598;
  --green-light:#A8DDB8;
  --dark:       #0d1f35;
  --text:       #1e3450;
  --text-mid:   #3d5a80;
  --text-light: #6b8cae;
  --bg:         #f7fafd;
  --bg-soft:    #eef4fb;
  --white:      #ffffff;
  --grad:       linear-gradient(135deg, #035AAF, #2E9BAE);
  --grad-h:     linear-gradient(90deg, #035AAF, #2E9BAE);
  --grad-hover: linear-gradient(90deg, #0468C4, #3AAFC0);
  --radius:     14px;
  --shadow:     0 4px 24px rgba(3,90,175,0.10);
  --shadow-lg:  0 12px 48px rgba(3,90,175,0.15);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typografie ────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Syne', sans-serif;
  line-height: 1.15;
  color: var(--dark);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 500; }
h3 { font-size: 1.05rem; font-weight: 600; }

.grad-text {
  background: linear-gradient(90deg, #035AAF, #2E9BAE);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1a6b7a;
  margin-bottom: 12px;
}

/* ── Utility ───────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s;
}

.btn:hover { opacity: 0.92; }
.btn-primary:hover { opacity: 1; }
.btn:active { opacity: 1; filter: brightness(0.95); }

.btn-primary {
  background: linear-gradient(90deg, #035AAF 0%, #2E9BAE 100%);
  background-size: 200% 100%;
  background-position: 0% 50%;
  color: #ffffff !important;
  box-shadow: var(--shadow);
  transition: background-position 0.4s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background-position: 40% 50%;
  box-shadow: 0 6px 24px rgba(3,90,175,0.22);
  opacity: 1;
  filter: none;
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
}

.btn-outline:hover { background: rgba(255,255,255,0.12); }

.btn-dark {
  background: var(--dark);
  color: var(--white);
}

.section-intro {
  max-width: 600px;
  color: var(--text-mid);
  font-size: 1.05rem;
  font-weight: 300;
  margin-top: 12px;
}

/* ── Navigaton ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 400;
  padding: 0 24px;
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 20px rgba(3,90,175,0.08);
  backdrop-filter: blur(10px);
  transition: box-shadow 0.3s;
}

.nav.scrolled {
  box-shadow: 0 4px 32px rgba(3,90,175,0.13);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  height: 95px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img { height: 45px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.90rem;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 2px;
  background: var(--grad-h);
  transform: scaleX(0);
  transition: transform 0.25s ease;
  border-radius: 2px;
}

.nav-links a:hover { color: var(--blue); }
.nav-links a:hover::after { transform: scaleX(1); }

/* Platzanfrage-Button: kein Underline, sanfter Gradient-Shift */
.nav-links .nav-cta a::after { display: none; }
.nav-links .nav-cta a {
  background: linear-gradient(90deg, #035AAF 0%, #2E9BAE 100%);
  background-size: 200% 100%;
  background-position: 0% 50%;
  transition: background-position 0.4s ease, box-shadow 0.3s ease, transform 0.2s ease;
  font-size: 0.82rem;
  padding: 9px 20px;
}
.nav-links .nav-cta a:hover {
  background-position: 40% 50%;
  opacity: 1;
  filter: none;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(3,90,175,0.22);
}


.nav-cta { margin-left: 8px; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  position: relative;
  z-index: 400;
  background: none;
  border: none;
}

.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('hero.webp');
  background-size: cover;
  background-position: center 20%;
  opacity: 0.45;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(3, 30, 70, 0.88) 0%,
    rgba(3, 60, 120, 0.55) 50%,
    rgba(3, 90, 175, 0.20) 100%
  );
}

/* subtle wave at bottom */
.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0; right: 0;
  height: 80px;
  overflow: hidden;
}

.hero-wave svg { width: 100%; height: 100%; }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 148px 24px 80px;
  margin: 0 auto 0 calc((100vw - 1120px) / 2 + 24px);
}

@media (max-width: 1160px) { .hero-content { margin-left: 24px; } }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(119,197,152,0.18);
  border: 1px solid rgba(119,197,152,0.35);
  color: var(--green-light);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
  font-weight: 500;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 8px;
}

.hero h1 .accent { color: var(--green); }

.hero-sub {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  font-weight: 300;
  max-width: 480px;
  margin: 16px 0 36px;
  line-height: 1.7;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── Intro Strip ───────────────────────────────────────────── */
.intro-strip {
  background: var(--white);
  padding: 72px 0;
  text-align: center;
}

.intro-strip .label { display: block; }

.intro-strip h2 { margin-bottom: 14px; font-size: clamp(2rem, 4.5vw, 3.2rem); }

.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 56px;
}

.pillar {
  text-align: center;
  animation: fadeUp 0.6s ease both;
  position: relative;
}

.pillar-icon {
  width: 84px;
  height: 84px;
  margin: 0 auto 20px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.pillar-icon svg { width: 44px; height: 44px; }

.pillar h3 { margin-bottom: 8px; color: var(--dark); }

.pillar p {
  font-size: 0.875rem;
  color: var(--text-mid);
  font-weight: 300;
  line-height: 1.6;
}

/* ── Angebote ──────────────────────────────────────────────── */
.angebote {
  padding: 96px 0 106px;
  background: var(--white);
}

.angebote-intro {
  text-align: center;
  margin-bottom: 56px;
}

.angebote-intro .section-intro { margin: 14px auto 0; }

.angebote-zwei {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.angebot-gross {
  background: var(--white);
  border-radius: 20px;
  padding: 40px 36px;
  border: 1px solid rgba(3,90,175,0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.angebot-gross::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #035AAF, #2E9BAE);
  border-radius: 20px 20px 0 0;
  z-index: 3;
}

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

.angebot-gross-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(3,90,175,0.12);
}

.angebot-gross-icon svg { width: 26px; height: 26px; stroke: var(--blue); }

.angebot-gross-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}

.angebot-gross h3 {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.angebot-gross-body p {
  font-size: 0.925rem;
  color: var(--text-mid);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 12px;
}

.angebot-gross-punkte {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.angebot-gross-punkte li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-mid);
  font-weight: 300;
}

.angebot-gross-punkte li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  margin-top: 7px;
}

@media (max-width: 768px) {
  .angebote-zwei { grid-template-columns: 1fr; }
  .angebot-gross { padding: 28px 24px; }
}

/* ── Über uns Teaser ───────────────────────────────────────── */
.ueber-uns {
  padding: 81px 0 96px;
  overflow: hidden;
}

.ueberuns-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.ueberuns-img {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.ueberuns-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ueberuns-img-deco {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  border-radius: 20px;
  background: var(--grad);
  opacity: 0.2;
  z-index: -1;
}

.ueberuns-text .label { margin-bottom: 10px; }
.ueberuns-text h2 { margin-bottom: 20px; }
.ueberuns-text p {
  color: var(--text-mid);
  font-weight: 300;
  margin-bottom: 14px;
  font-size: 0.975rem;
}

/* ── Werte ─────────────────────────────────────────────────── */
.werte {
  padding: 80px 0;
  background: var(--bg-soft);
  text-align: center;
}

.werte-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

.wert-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid rgba(3,90,175,0.12);
  border-radius: 100px;
  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  box-shadow: 0 2px 8px rgba(3,90,175,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.wert-tag:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.wert-tag svg { width: 16px; height: 16px; stroke: var(--green); flex-shrink: 0; }

/* ── CTA Banner ────────────────────────────────────────────── */
.cta-banner {
  position: relative;
  padding: 96px 0;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue) 0%, #2a8aaa 50%, var(--green) 100%);
}

.cta-wave-top {
  position: absolute;
  top: -2px; left: 0; right: 0;
  height: 60px;
  overflow: hidden;
}

.cta-wave-top svg { width: 100%; height: 100%; }

.cta-w-deco {
  position: absolute;
  right: -1%;
  bottom: -8%;
  transform: rotate(8deg);
  width: min(460px, 44vw);
  opacity: 0.18;
  pointer-events: none;
  overflow: hidden;
}

.cta-w-deco img { width: 100%; height: auto; display: block; }

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.cta-content h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 12px;
}

.cta-content p {
  color: rgba(255,255,255,0.7);
  font-weight: 300;
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto 36px;
}

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 72px 0 0;
}

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

.footer-brand img { height: 40px; width: auto; max-width: 160px; object-fit: contain; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p {
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}

.social-btn:hover { background: rgba(119,197,152,0.25); transform: translateY(-2px); }
.social-btn svg { width: 16px; height: 16px; stroke: rgba(255,255,255,0.8); }

.footer-col h3 {
  font-family: 'Syne', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col ul li a {
  font-size: 0.875rem;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--green); }

.footer-contact { display: flex; flex-direction: column; gap: 12px; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 300;
  color: rgba(255,255,255,0.80);
}

.footer-contact-item svg { width: 16px; height: 16px; stroke: var(--green); flex-shrink: 0; margin-top: 3px; }

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.70);
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom a { color: rgba(255,255,255,0.70); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--green); }

/* ── Animationen ───────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .angebote-grid { grid-template-columns: 1fr; }
  .angebote-left p { max-width: 100%; }
  .ueberuns-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  /* Nav - display vollständig per JS gesteuert, kein !important */
  .nav-links > li { width: 100%; border-bottom: 1px solid rgba(3,90,175,0.07); }
  .nav-links > li:last-child { border-bottom: none; }
  .nav-links > li > a { font-size: 1.1rem; color: var(--text); font-weight: 500; padding: 14px 0; display: block; }
  .nav-links a::after { display: none !important; }
  .nav-cta { display: none !important; }
  .nav-burger { display: flex; }

  /* Dropdown op mobile: altijd verborgen, alleen zichtbaar als .open */
  .nav-dropdown {
    display: none !important;
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 0 8px 16px !important;
    background: transparent !important;
    width: 100% !important;
    z-index: auto !important;
  }
  .nav-dropdown::before { display: none !important; }
  .has-dropdown.open > .nav-dropdown { display: block !important; }
  .nav-dropdown li { border: none !important; }
  .nav-dropdown li a { font-size: 0.95rem !important; color: var(--text-mid) !important; padding: 8px 0 !important; font-weight: 400 !important; }
  .nav-chevron { transition: transform 0.25s; }
  .has-dropdown.open > a > .nav-chevron { transform: rotate(180deg) !important; }
  .has-dropdown:hover .nav-chevron { transform: none; }
  .has-dropdown:focus-within .nav-chevron { transform: none; }

  /* Layout */
  .hero-content { padding: 128px 24px 72px; }
  .angebote-cards { grid-template-columns: 1fr 1fr; }
  .pillars { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .angebote-cards { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .btn { justify-content: center; }
}

/* ── FAQ ───────────────────────────────────────────────────── */
.faq-section {
  padding: 96px 0;
  background: var(--white);
}

.faq-section .section-intro { margin: 14px auto 48px; }
.faq-intro { text-align: left !important; margin-left: 0 !important; margin-right: auto; max-width: 100%; }

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid rgba(3,90,175,0.10);
}

.faq-item:first-child { border-top: 1px solid rgba(3,90,175,0.10); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  text-align: left;
  padding: 22px 0;
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--dark);
  cursor: pointer;
  transition: color 0.2s;
}

.faq-q:hover { color: var(--blue); }

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: var(--teal);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-icon { transform: rotate(180deg); }

.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}

.faq-a[hidden] { display: block !important; max-height: 0; }

.faq-item.open .faq-a { max-height: 400px; }

.faq-a p {
  padding-bottom: 20px;
  color: var(--text-mid);
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-a em {
  font-style: normal;
  font-weight: 500;
  color: var(--blue);
}

/* ── Subnavi / Dropdown ────────────────────────────────────── */
.has-dropdown {
  position: relative;
}

.nav-chevron {
  width: 14px;
  height: 14px;
  vertical-align: middle;
  margin-left: 2px;
  transition: transform 0.25s ease;
  stroke: currentColor;
}

.has-dropdown:hover .nav-chevron,
.has-dropdown:focus-within .nav-chevron {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 240px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(3,90,175,0.14), 0 2px 8px rgba(3,90,175,0.06);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 500;
  list-style: none;
  border: 1px solid rgba(3,90,175,0.07);
}

/* Kein Pfeil/Raute – stattdessen unsichtbarer Bridge-Bereich damit Hover nicht reißt */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
}

@media (min-width: 769px) {
  .has-dropdown:hover .nav-dropdown,
  .has-dropdown:focus-within .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
}

.nav-dropdown li a {
  display: block;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text);
  transition: background 0.18s, color 0.18s;
  white-space: nowrap;
}

.nav-dropdown li a::after { display: none; }

.nav-dropdown li a:hover {
  background: var(--bg-soft);
  color: var(--blue);
}

/* mobile dropdown handled above */

/* ── Angebote Wellen-Hintergrund ───────────────────────────── */
.angebote-wave-bg {
  position: relative;
  background: var(--white);
  overflow: hidden;
}

.angebote-wave-bg::before,
.angebote-wave-bg::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 70px;
  z-index: 0;
  pointer-events: none;
}

.angebote-wave-bg::before {
  top: 0;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 0%);
}

.angebote-wave-bg::after {
  bottom: 0;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.angebote-wave-bg {
  background: linear-gradient(180deg, var(--white) 0%, var(--bg-soft) 12%, var(--bg-soft) 88%, var(--white) 100%);
}

.angebote-wave-bg .container {
  position: relative;
  z-index: 1;
}

/* Wellige Trennlinie oben und unten via SVG-Wrapper */
.angebote-wave-top,
.angebote-wave-bottom {
  position: absolute;
  left: 0; right: 0;
  height: 60px;
  overflow: hidden;
  z-index: 2;
  pointer-events: none;
}

.angebote-wave-top { top: -1px; }
.angebote-wave-bottom { bottom: -1px; }

.angebote-wave-top svg,
.angebote-wave-bottom svg { width: 100%; height: 100%; }

/* ── Footer Wellen-Animation ───────────────────────────────── */
.footer {
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg,
    #035AAF 0%,
    #2E9BAE 25%,
    #77C598 50%,
    #2E9BAE 75%,
    #035AAF 100%
  );
  background-size: 200% 100%;
  animation: footerWaveFlow 4s ease-in-out infinite;
  will-change: opacity;
}

@keyframes footerWaveFlow {
  0%, 100% { opacity: 0.85; }
  50%       { opacity: 1; }
}

/* ── Pillar Blobs ───────────────────────────────────────────── */
.pillar::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 96px;
  background: #F2F7FA;
  z-index: 0;
  pointer-events: none;
}

/* Blob 1 – organisch links-schwer */
.pillar:nth-child(1)::before {
  border-radius: 62% 38% 55% 45% / 48% 58% 42% 52%;
}

/* Blob 2 – breit oben */
.pillar:nth-child(2)::before {
  border-radius: 45% 55% 38% 62% / 58% 42% 56% 44%;
  width: 100px;
  height: 92px;
}

/* Blob 3 – schmaler Tropfen */
.pillar:nth-child(3)::before {
  border-radius: 70% 30% 44% 56% / 40% 65% 35% 60%;
  width: 90px;
  height: 100px;
}

/* Blob 4 – breiter unten */
.pillar:nth-child(4)::before {
  border-radius: 38% 62% 60% 40% / 55% 45% 55% 45%;
  width: 102px;
  height: 90px;
}

/* ── Animierte Linie unter der Nav ─────────────────────────── */
.nav-gradient-line {
  position: fixed;
  top: 95px;
  left: 0; right: 0;
  height: 5px;
  z-index: 399;
  background: linear-gradient(90deg,
    #035AAF 0%,
    #2E9BAE 25%,
    #77C598 50%,
    #2E9BAE 75%,
    #035AAF 100%
  );
  background-size: 200% 100%;
  animation: navWaveFlow 4s ease-in-out infinite;
  will-change: opacity;
}

@keyframes navWaveFlow {
  0%, 100% { opacity: 0.85; }
  50%       { opacity: 1; }
}

/* ── Mobile Nav (JS-gesteuert) ─────────────────────────────── */
.nav-toggle-cb { display: none; }



@media (max-width: 768px) {
  /* Burger anzeigen */
  .nav-burger {
    display: flex;
    cursor: pointer;
    position: relative;
    z-index: 600;
    background: none;
    border: none;
  }

  /* Nav links – JS setzt display per inline style */
  .nav-links > li {
    width: 100%;
    border-bottom: 1px solid rgba(3,90,175,0.07);
  }
  .nav-links > li:last-child { border-bottom: none; }
  .nav-links > li > a {
    font-size: 1.1rem;
    color: var(--text);
    font-weight: 500;
    padding: 14px 0;
    display: block;
  }
  .nav-links a::after { display: none !important; }
  .nav-cta { display: none !important; }
}

/* Mobile Dropdown via JS noch als Fallback – Hauptmechanismus ist Checkbox */
@media (max-width: 768px) {
  .nav-dropdown {
    display: none !important;
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 4px 0 8px 16px !important;
    background: transparent !important;
    z-index: auto !important;
  }
  .has-dropdown.open > .nav-dropdown {
    display: block !important;
  }
  .nav-dropdown li { border: none !important; }
  .nav-dropdown li a {
    font-size: 0.95rem !important;
    color: var(--text-mid) !important;
    padding: 8px 0 !important;
    font-weight: 400 !important;
  }
}
/* ============================================================
   Wayve Jugendhilfe – Unterseiten-Styles (pages.css)
   Ergänzung zu style.css
   ============================================================ */

/* ── Page Hero (Unterseiten) ───────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, #0d1f35 0%, #035AAF 60%, #2E9BAE 100%);
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 60px;
  overflow: hidden;
}

.page-hero-wave {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 60px;
  pointer-events: none;
}

.page-hero-wave svg { width: 100%; height: 100%; }

.page-hero-deco {
  position: absolute;
  right: -2%;
  bottom: -10%;
  width: min(380px, 38vw);
  opacity: 0.1;
  transform: rotate(8deg);
  pointer-events: none;
}

.page-hero-deco img { width: 100%; height: auto; }

.page-hero-content { position: relative; z-index: 2; }

.page-hero h1 {
  color: #ffffff;
  margin-bottom: 16px;
}

.page-hero p {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  font-weight: 300;
  max-width: 560px;
  line-height: 1.7;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}

.breadcrumb a { color: rgba(255,255,255,0.55); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb span { color: rgba(255,255,255,0.35); }

/* ── Page Content ──────────────────────────────────────────── */
.page-content {
  padding: 80px 0 96px;
}

.page-content h2 {
  margin: 48px 0 18px;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.page-content h2:first-child { margin-top: 0; }

.page-content h3 {
  margin: 32px 0 12px;
  font-size: 1.1rem;
  color: var(--blue);
}

.page-content p {
  color: var(--text-mid);
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 16px;
  font-size: 0.975rem;
}

.page-content ul, .page-content ol {
  margin: 16px 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-content ul li, .page-content ol li {
  color: var(--text-mid);
  font-weight: 300;
  font-size: 0.975rem;
  line-height: 1.65;
  padding-left: 20px;
  position: relative;
}

.page-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #035AAF, #2E9BAE);
}

.page-content ol { counter-reset: item; }
.page-content ol li { counter-increment: item; }
.page-content ol li::before {
  content: counter(item) ".";
  position: absolute;
  left: 0;
  font-weight: 500;
  color: var(--blue);
  font-size: 0.875rem;
}

.page-content a {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-color: rgba(3,90,175,0.3);
  transition: color 0.2s;
}

.page-content a:hover { color: var(--teal); }

/* ── Two-col layout ────────────────────────────────────────── */
.page-two-col {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 64px;
  align-items: start;
}

.page-sidebar {
  position: sticky;
  top: 120px;
}

.sidebar-card {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid rgba(3,90,175,0.07);
  margin-bottom: 20px;
}

.sidebar-card h3 {
  font-size: 0.9rem;
  color: var(--dark);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid;
  border-image: linear-gradient(90deg, #035AAF, #2E9BAE) 1;
}

.sidebar-card p {
  font-size: 0.875rem;
  color: var(--text-mid);
  font-weight: 300;
  margin-bottom: 12px;
}

.sidebar-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-mid);
  margin-bottom: 10px;
}

.sidebar-contact-item svg { width: 15px; height: 15px; stroke: var(--teal); flex-shrink: 0; margin-top: 2px; }
.sidebar-contact-item a { color: var(--blue); text-decoration: none; }

@media (max-width: 900px) {
  .page-two-col { grid-template-columns: 1fr; }
  .page-sidebar { position: static; }
}

/* ── Team Cards ─────────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 32px 0;
}

.team-card {
  background: var(--bg-soft);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(3,90,175,0.07);
  transition: transform 0.25s, box-shadow 0.25s;
}

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

.team-avatar {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #035AAF 0%, #2E9BAE 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: #ffffff;
}

.team-avatar img { width: 100%; height: 100%; object-fit: cover; }

.team-info { padding: 20px; }

.team-info h3 {
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 4px;
}

.team-info .team-role {
  font-size: 0.8rem;
  color: var(--teal);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 10px;
}

.team-info p {
  font-size: 0.85rem;
  color: var(--text-mid);
  font-weight: 300;
  line-height: 1.6;
  margin: 0;
}

.team-placeholder .team-avatar {
  background: linear-gradient(135deg, #eef4fb 0%, #dceef8 100%);
  color: var(--text-light);
  font-size: 1.4rem;
}

@media (max-width: 768px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* ── Karriere – Job Cards ───────────────────────────────────── */
.job-card {
  background: var(--white);
  border: 1px solid rgba(3,90,175,0.09);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
}

.job-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #035AAF, #2E9BAE);
}

.job-card:hover { box-shadow: var(--shadow); transform: translateX(4px); }

.job-card-body h3 { font-size: 1.05rem; margin-bottom: 6px; color: var(--dark); }
.job-card-body p { font-size: 0.875rem; color: var(--text-mid); font-weight: 300; margin: 0; }

.job-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }

.job-tag {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(3,90,175,0.07);
  color: var(--blue);
}

/* ── Benefit Cards ──────────────────────────────────────────── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0;
}

.benefit-card {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid rgba(3,90,175,0.06);
}

.benefit-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, #035AAF, #2E9BAE);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.benefit-icon svg { width: 22px; height: 22px; stroke: #ffffff; }

.benefit-card h3 { font-size: 0.95rem; margin-bottom: 8px; }
.benefit-card p { font-size: 0.85rem; color: var(--text-mid); font-weight: 300; line-height: 1.6; margin: 0; }

@media (max-width: 768px) {
  .benefits-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .benefits-grid { grid-template-columns: 1fr; }
}

/* ── Initiativbewerbung Box ─────────────────────────────────── */
.initiativ-box {
  background: linear-gradient(135deg, #035AAF 0%, #2E9BAE 100%);
  border-radius: 20px;
  padding: 48px;
  color: #ffffff;
  text-align: center;
  margin-top: 48px;
}

.initiativ-box h2 { color: #ffffff; margin-bottom: 14px; }
.initiativ-box p { color: rgba(255,255,255,0.8); font-weight: 300; max-width: 500px; margin: 0 auto 28px; }

/* ── FAQ Datenschutz / Impressum ────────────────────────────── */
.legal-section {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(3,90,175,0.08);
}

.legal-section:last-child { border-bottom: none; }

.legal-section h2 {
  font-size: 1.3rem;
  margin-bottom: 14px;
  color: var(--dark);
}

/* ── Cookie Banner ──────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #0d1f35;
  color: rgba(255,255,255,0.85);
  z-index: 9999;
  padding: 20px 0;
  box-shadow: 0 -4px 30px rgba(0,0,0,0.2);
  transform: translateY(0);
  transition: transform 0.4s ease;
}

.cookie-banner.hidden { transform: translateY(110%); }

.cookie-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-text { flex: 1; min-width: 260px; }

.cookie-text p {
  font-size: 0.875rem;
  line-height: 1.6;
  font-weight: 300;
  margin: 0;
}

.cookie-text a { color: var(--green); text-decoration: underline; }

.cookie-actions { display: flex; gap: 12px; flex-shrink: 0; }

.cookie-btn {
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  font-family: 'DM Sans', sans-serif;
  transition: opacity 0.2s;
}

.cookie-btn:hover { opacity: 0.85; }

.cookie-accept {
  background: linear-gradient(90deg, #035AAF, #2E9BAE);
  color: #ffffff;
}

.cookie-decline {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.2);
}

@media (max-width: 600px) {
  .cookie-inner { flex-direction: column; align-items: flex-start; }
  .cookie-actions { width: 100%; }
  .cookie-btn { flex: 1; text-align: center; }
}

/* ── 404 ────────────────────────────────────────────────────── */
.not-found {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px;
}

.not-found-number {
  font-family: 'Syne', sans-serif;
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, #035AAF, #2E9BAE);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.not-found h2 { margin-bottom: 14px; }
.not-found p { color: var(--text-mid); font-weight: 300; max-width: 420px; margin: 0 auto 32px; }


/* ── Mobile Nav – Checkbox Hack ─────────────────────────────── */
.nav-toggle-cb { display: none; }

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 100vh;
    padding: 110px 24px 40px;
    background: #ffffff;
    z-index: 490;
    overflow-y: auto;
    box-shadow: 0 12px 48px rgba(3,90,175,0.15);
    align-items: flex-start;
    gap: 0;
  }
  .nav-toggle-cb:checked ~ .nav .nav-links,
  .nav-toggle-cb:checked ~ .nav.scrolled .nav-links { display: flex; }
  .nav-burger { display: flex; cursor: pointer; z-index: 600; background: none; border: none; }
  .nav-toggle-cb:checked ~ .nav .nav-burger span:nth-child(1),
  .nav-toggle-cb:checked ~ .nav.scrolled .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle-cb:checked ~ .nav .nav-burger span:nth-child(2),
  .nav-toggle-cb:checked ~ .nav.scrolled .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle-cb:checked ~ .nav .nav-burger span:nth-child(3),
  .nav-toggle-cb:checked ~ .nav.scrolled .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-links > li { width: 100%; border-bottom: 1px solid rgba(3,90,175,0.07); }
  .nav-links > li:last-child { border-bottom: none; }
  .nav-links > li > a { font-size: 1.1rem; color: var(--text); font-weight: 500; padding: 14px 0; display: block; }
  .nav-links a::after { display: none !important; }
  .nav-cta { display: none !important; }
}
/* ── Angebot-Karte mit Bild-Header ─────────────────────────── */
.angebot-gross-img {
  position: relative;
  width: calc(100% + 80px);
  margin: -40px -40px 0 -40px;
  height: 220px;
  overflow: visible;
  border-radius: 20px 20px 0 0;
}

/* Bild selbst wird geclipt, nicht der Container */
.angebot-gross-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 20px 20px 0 0;
}

/* Icon Badge: halb im Bild, halb rausguckend */
.angebot-gross-img .angebot-gross-icon {
  position: absolute;
  bottom: -28px;
  left: 36px;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(3,90,175,0.18);
  z-index: 2;
  margin: 0;
}

.angebot-gross-img .angebot-gross-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--blue);
}

/* Body braucht oben Platz für das herausguckende Icon */
.angebot-gross-img ~ .angebot-gross-body {
  padding-top: 44px;
}

@media (max-width: 768px) {
  .angebot-gross-img {
    width: calc(100% + 48px);
    margin: -28px -24px 0 -24px;
    height: 180px;
  }
  .angebot-gross-img .angebot-gross-icon {
    left: 20px;
    bottom: -24px;
    width: 48px;
    height: 48px;
  }
  .angebot-gross-img ~ .angebot-gross-body {
    padding-top: 38px;
  }
}

/* ── Werte Journey ──────────────────────────────────────────── */
.werte {
  padding: 96px 0;
  background: var(--bg-soft);
  text-align: center;
}

.werte-journey {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  text-align: left;
}

.werte-stop {
  display: flex;
  gap: 0;
  align-items: flex-start;
  position: relative;
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.werte-stop.werte-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delays */
.werte-stop:nth-child(1) { transition-delay: 0.0s; }
.werte-stop:nth-child(2) { transition-delay: 0.15s; }
.werte-stop:nth-child(3) { transition-delay: 0.30s; }
.werte-stop:nth-child(4) { transition-delay: 0.45s; }
.werte-stop:nth-child(5) { transition-delay: 0.60s; }
.werte-stop:nth-child(6) { transition-delay: 0.75s; }

/* Left column: dot + line */
.werte-stop-dot {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #035AAF 0%, #2E9BAE 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(3,90,175,0.3);
  position: relative;
  z-index: 2;
}

.werte-stop-dot svg { width: 20px; height: 20px; }

.werte-stop-line {
  position: absolute;
  left: 23px;
  top: 48px;
  width: 2px;
  height: calc(100% + 8px);
  background: linear-gradient(180deg, #2E9BAE 0%, #77C598 100%);
  transform-origin: top;
  transform: scaleY(0);
  transition: transform 0.6s ease 0.3s;
  z-index: 1;
}

.werte-stop.werte-visible .werte-stop-line {
  transform: scaleY(1);
}

/* Content */
.werte-stop-content {
  padding: 0 0 48px 24px;
  flex: 1;
}

.werte-stop-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
  margin-top: 10px;
}

.werte-stop-content p {
  font-size: 0.925rem;
  color: var(--text-mid);
  font-weight: 300;
  line-height: 1.75;
  margin: 0;
}

/* Ziel-Stop: größer, anders */
.werte-stop--ziel { margin-top: 8px; }

.werte-stop-dot--ziel {
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, #035AAF 0%, #77C598 100%);
  box-shadow: 0 6px 24px rgba(3,90,175,0.35);
}

.werte-stop-dot--ziel svg { width: 24px; height: 24px; }

.werte-stop--ziel .werte-stop-content h3 {
  font-size: 1.35rem;
  background: linear-gradient(90deg, #035AAF, #2E9BAE);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width: 600px) {
  .werte-stop-content { padding-bottom: 36px; }
  .werte-stop-content h3 { font-size: 1rem; }
}

/* ── Werte Wave ─────────────────────────────────────────────── */
.werte { padding: 96px 0; background: var(--bg-soft); text-align: center; }

.werte-wave-wrap { max-width: 1200px; margin: 0 auto; }

.werte-wave-canvas {
  position: relative;
  width: 100%;
}

.werte-svg { width: 100%; height: auto; overflow: visible; }

/* Wave path animation */
.werte-path {
  stroke-dasharray: 3200;
  stroke-dashoffset: 3200;
  transition: stroke-dashoffset 2.4s cubic-bezier(0.4,0,0.2,1);
}
.werte-path.drawn { stroke-dashoffset: 0; }

.werte-dash {
  stroke-dasharray: 8 6;
  opacity: 0;
  transition: opacity 0.6s ease 2s;
}
.werte-dash.drawn { opacity: 1; }

/* Dots */
.werte-dot {
  transform-origin: center;
  transform: scale(0);
  transition: transform 0.45s cubic-bezier(0.34,1.56,0.64,1);
}
.werte-dot.shown { transform: scale(1); }

/* Floating cards */
.werte-card {
  position: absolute;
  width: 260px;
  background: rgba(255,255,255,0.97);
  border-radius: 12px;
  padding: 14px 20px;
  box-shadow: 0 4px 20px rgba(3,90,175,0.10);
  border: 1px solid rgba(3,90,175,0.07);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  backdrop-filter: blur(4px);
}
.werte-card.visible { opacity: 1; transform: translateY(0); }
.wc-left { left: 18%; }
.wc-right { right: 18%; }
.werte-card h3 { font-size: 0.92rem; font-weight: 600; color: var(--dark); margin-bottom: 6px; }
.werte-card p { font-size: 0.8rem; color: var(--text-mid); font-weight: 300; line-height: 1.6; margin: 0; }

/* Ziel */
.werte-ziel {
  text-align: center;
  max-width: 520px;
  background: linear-gradient(135deg, #035AAF, #2E9BAE);
  color: white;
  border-radius: 16px;
  padding: 24px 36px;
  margin: 20px auto 0;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  box-shadow: 0 8px 32px rgba(3,90,175,0.28);
}
.werte-ziel.visible { opacity: 1; transform: translateY(0); }
.werte-ziel h3 { font-size: 1.15rem; font-weight: 600; color: white; margin-bottom: 8px; }
.werte-ziel p { font-size: 0.875rem; color: rgba(255,255,255,0.82); font-weight: 300; line-height: 1.65; margin: 0; }

/* Mobile */
@media (max-width: 700px) {
  .werte-wave-canvas { display: none; }
  .werte-ziel { margin-top: 16px; opacity: 1; transform: none; max-width: 100%; border-radius: 14px; padding: 20px 24px; }

  /* Mobile: Karten als vertikale Liste */
  .werte-mobile-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
  }
  .werte-mobile-item {
    background: white;
    border-radius: 12px;
    padding: 16px 18px;
    border-left: 4px solid #035AAF;
    box-shadow: 0 2px 12px rgba(3,90,175,0.08);
  }
  .werte-mobile-item h3 {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 5px;
  }
  .werte-mobile-item p {
    font-size: 0.82rem;
    color: var(--text-mid);
    font-weight: 300;
    line-height: 1.65;
    margin: 0;
  }
}

@media (min-width: 701px) {
  .werte-mobile-list { display: none; }
}