/* ==========================================================================
   Wohlstandsbildner – Startseite (v7 Standalone)
   Einheitliche Schrift: Mulish (lokal eingebunden aus Child-Theme)
   Gekapselt unter #main .wbs + Header-CTA-Ergänzung für Flatsome-Menü
   ========================================================================== */

/* 1. Lokale Mulish-Schriftfamilie (alle Schnitte 400–900, 100 % DSGVO-konform & offline-fähig) */
@font-face {
  font-family: 'Mulish';
  src: url('../wp-content/themes/wohlstandsbildner/css/fonts/Mulish/Mulish-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Mulish';
  src: url('../wp-content/themes/wohlstandsbildner/css/fonts/Mulish/Mulish-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Mulish';
  src: url('../wp-content/themes/wohlstandsbildner/css/fonts/Mulish/Mulish-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Mulish';
  src: url('../wp-content/themes/wohlstandsbildner/css/fonts/Mulish/Mulish-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Mulish';
  src: url('../wp-content/themes/wohlstandsbildner/css/fonts/Mulish/Mulish-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Mulish';
  src: url('../wp-content/themes/wohlstandsbildner/css/fonts/Mulish/Mulish-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* 2. Theme-Navigation: Deckender Sticky-Header + Gelber CTA-Button „Kostenfreies Finanzwebinar“ */
#masthead,
.stuck #masthead {
  background-color: #ffffff !important;
}

.stuck .header-wrapper {
  background-color: #ffffff !important;
  box-shadow: 0 4px 20px rgba(1, 38, 50, 0.1) !important;
}

/* Header-Container breiter öffnen, damit Logo + alle Links + CTA-Button niemals kollidieren */
#masthead .header-inner.container {
  max-width: 1440px !important;
  width: 100% !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  flex-wrap: nowrap !important;
}

#masthead #logo {
  flex-shrink: 0 !important;
  width: 170px;
}

#masthead .flex-right {
  flex-shrink: 0 !important;
}

/* ANTI-WRAP: Menü-Links und Dropdown-Pfeile dürfen NIEMALS in eine zweite Zeile umbrechen */
#masthead .header-nav-main.nav-right {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
}

#masthead .header-nav > li {
  margin: 0 0.55rem;
  flex-shrink: 0 !important;
}

#masthead .header-nav > li > a.nav-top-link {
  display: inline-flex !important;
  align-items: center !important;
  white-space: nowrap !important;
  flex-wrap: nowrap !important;
  font-family: 'Mulish', sans-serif !important;
  font-weight: 700 !important;
  font-size: 14.5px !important;
  padding: 8px 2px !important;
}

#masthead .header-nav > li > a.nav-top-link > i.icon-angle-down {
  display: inline-block !important;
  margin-left: 4px !important;
  font-size: 11px !important;
  line-height: 1 !important;
  top: 0 !important;
  flex-shrink: 0 !important;
}

#masthead .header-nav > li.header-cta-item {
  display: flex !important;
  align-items: center !important;
  margin: 0 0 0 0.75rem !important;
  flex-shrink: 0 !important;
}

#masthead .header-nav > li.header-cta-item > a.header-cta-btn,
.stuck #masthead .header-nav > li.header-cta-item > a.header-cta-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: #FFB413 !important;
  color: #012632 !important;
  font-family: 'Mulish', sans-serif !important;
  font-weight: 800 !important;
  font-size: 13.5px !important;
  line-height: 1.2 !important;
  padding: 10px 16px !important;
  border-radius: 4px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

#masthead .header-nav > li.header-cta-item > a.header-cta-btn:hover {
  background-color: #ffc540 !important;
  color: #012632 !important;
  transform: translateY(-1px);
}

/* Stufe 1: Große Laptops / Bildschirme mit Skalierung (1180px - 1380px) */
@media (min-width: 1180px) and (max-width: 1380px) {
  #masthead #logo {
    width: 145px !important;
  }
  #masthead .header-nav > li {
    margin: 0 0.38rem !important;
  }
  #masthead .header-nav > li > a.nav-top-link {
    font-size: 13.5px !important;
  }
  #masthead .header-nav > li.header-cta-item {
    margin-left: 0.45rem !important;
  }
  #masthead .header-nav > li.header-cta-item > a.header-cta-btn,
  .stuck #masthead .header-nav > li.header-cta-item > a.header-cta-btn {
    padding: 8px 13px !important;
    font-size: 12.5px !important;
  }
}

/* Stufe 2: Mittlere Desktop-/Laptop-Breiten (992px - 1179px) */
@media (min-width: 992px) and (max-width: 1179px) {
  #masthead #logo {
    width: 130px !important;
  }
  #masthead .header-inner.container {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  #masthead .header-nav > li {
    margin: 0 0.24rem !important;
  }
  #masthead .header-nav > li > a.nav-top-link {
    font-size: 12.5px !important;
    padding: 6px 1px !important;
  }
  #masthead .header-nav > li > a.nav-top-link > i.icon-angle-down {
    margin-left: 2px !important;
    font-size: 10px !important;
  }
  #masthead .header-nav > li.header-cta-item {
    margin-left: 0.3rem !important;
  }
  #masthead .header-nav > li.header-cta-item > a.header-cta-btn,
  .stuck #masthead .header-nav > li.header-cta-item > a.header-cta-btn {
    padding: 7px 10px !important;
    font-size: 11.5px !important;
  }
}

/* Stufe 3: Kompakte Desktop-Breiten (850px - 991px) */
@media (min-width: 850px) and (max-width: 991px) {
  #masthead #logo {
    width: 110px !important;
  }
  #masthead .header-inner.container {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  #masthead .header-nav > li {
    margin: 0 0.14rem !important;
  }
  #masthead .header-nav > li > a.nav-top-link {
    font-size: 11.5px !important;
    padding: 5px 0 !important;
  }
  #masthead .header-nav > li > a.nav-top-link > i.icon-angle-down {
    margin-left: 2px !important;
    font-size: 9px !important;
  }
  #masthead .header-nav > li.header-cta-item {
    margin-left: 0.2rem !important;
  }
  #masthead .header-nav > li.header-cta-item > a.header-cta-btn,
  .stuck #masthead .header-nav > li.header-cta-item > a.header-cta-btn {
    padding: 6px 8px !important;
    font-size: 10.5px !important;
  }
}

/* Mobiles Off-Canvas-Menü: Gelber CTA-Button */
#main-menu .nav-sidebar > li.mobile-cta-item {
  border-top: 0 !important;
  padding: 12px 20px 6px !important;
}

#main-menu .nav-sidebar > li.mobile-cta-item > a.mobile-cta-btn {
  display: block !important;
  width: 100%;
  background-color: #FFB413 !important;
  color: #012632 !important;
  font-family: 'Mulish', sans-serif !important;
  font-weight: 800 !important;
  font-size: 15px !important;
  line-height: 1.3 !important;
  padding: 13px 16px !important;
  border-radius: 4px !important;
  text-align: center !important;
  text-transform: none !important;
  text-decoration: none !important;
}

#main-menu .nav-sidebar > li.mobile-cta-item > a.mobile-cta-btn:hover {
  background-color: #ffc540 !important;
  color: #012632 !important;
}

/* 3. Startseiten-Inhalt (.wbs) – nach Andreas' Vorgabe v7 */
#main .wbs {
  --teal: #013B4C;
  --deep: #012632;
  --green: #0b4d4c;
  --gold: #FFB413;
  --light: #F3F6F7;
  --grey: #55666c;
  font-family: 'Mulish', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #1b2b31;
  background: #fff;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

#main .wbs *,
#main .wbs *::before,
#main .wbs *::after {
  box-sizing: border-box;
}

/* Sauberer Reset gegen Flatsome-Basisregeln mit niedriger Spezifität (:where),
   damit eigene .wbs-Klassen und Inline-Styles jederzeit greifen */
#main .wbs :where(h1, h2, h3, h4, p, ul, ol, li, blockquote, figure, small) {
  margin: 0;
  padding: 0;
}

#main .wbs :where(p) {
  font-family: 'Mulish', sans-serif;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

#main .wbs :where(ul, ol, li) {
  list-style: none;
}

#main .wbs :where(b, strong) {
  font-weight: 700;
}

#main .wbs img,
#main .wbs video {
  max-width: 100%;
  display: block;
}

#main .wbs a {
  color: inherit;
}

#main .wbs .c {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 26px;
}

#main .wbs h1,
#main .wbs h2,
#main .wbs h3 {
  font-family: 'Mulish', sans-serif;
  color: var(--teal);
  line-height: 1.15;
  width: auto;
}

#main .wbs h2 {
  font-size: clamp(30px, 3.6vw, 44px) !important;
  font-weight: 900;
  margin: 10px 0 18px;
}

#main .wbs .kicker {
  display: inline-block;
  font-family: 'Mulish', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #b07c00;
}

#main .wbs p + p {
  margin-top: 12px;
}

#main .wbs section {
  padding: 72px 0;
}

#main .wbs .center {
  text-align: center;
}

#main .wbs .muted {
  color: var(--grey);
}

#main .wbs .btn {
  display: inline-block;
  font-family: 'Mulish', sans-serif;
  font-weight: 800;
  font-size: 16px;
  line-height: 1.25;
  padding: 17px 30px;
  border-radius: 4px;
  text-decoration: none;
  transition: .2s;
  cursor: pointer;
}

#main .wbs .btn-gold {
  background: var(--gold);
  color: var(--deep);
}

#main .wbs .btn-gold:hover {
  background: #ffc540;
  color: var(--deep);
  transform: translateY(-1px);
}

#main .wbs .btn-teal {
  background: var(--teal);
  color: #fff;
}

#main .wbs .btn-teal:hover {
  background: var(--deep);
  color: #fff;
}

#main .wbs .btn-ghost {
  border: 2px solid rgba(255, 255, 255, .55);
  color: #fff;
  background: transparent;
}

#main .wbs .btn-ghost:hover {
  border-color: #fff;
  color: #fff;
}

/* 1. HEADER / HERO – weicher, nahtloser Übergang zwischen Blau und Portrait */
#main .wbs .hero {
  position: relative;
  background: linear-gradient(110deg, #012632 0%, #013B4C 45%, #074649 100%);
  color: #fff;
  overflow: hidden;
}

#main .wbs .hero .photo {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 62%;
  background: url('../bilder/header-andreas-sitzend-gespiegelt.jpg') 70% 18% / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .06) 10%, rgba(0, 0, 0, .28) 24%, rgba(0, 0, 0, .68) 40%, rgba(0, 0, 0, .93) 54%, #000 66%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .06) 10%, rgba(0, 0, 0, .28) 24%, rgba(0, 0, 0, .68) 40%, rgba(0, 0, 0, .93) 54%, #000 66%);
}

#main .wbs .hero .photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(1, 59, 76, .78) 0%, rgba(1, 59, 76, .36) 38%, rgba(1, 38, 50, .08) 64%, rgba(1, 38, 50, 0) 80%);
}

#main .wbs .hero .c {
  position: relative;
  z-index: 1;
  min-height: 640px;
  display: flex;
  align-items: center;
}

#main .wbs .hero .txt {
  max-width: 600px;
  padding: 90px 0;
}

#main .wbs .hero .kicker {
  color: var(--gold);
}

#main .wbs .hero h1 {
  color: #fff;
  font-size: clamp(38px, 4.8vw, 62px);
  font-weight: 900;
  margin: 16px 0 22px;
  letter-spacing: -.01em;
}

#main .wbs .hero h1 span {
  color: var(--gold);
}

#main .wbs .hero .lead {
  font-size: 20px;
  color: #d9e6ea;
}

#main .wbs .hero .ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

#main .wbs .stats {
  display: flex;
  gap: 34px;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .18);
}

#main .wbs .stats b {
  display: block;
  white-space: nowrap;
  font-family: 'Mulish', sans-serif;
  font-size: 30px;
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
}

#main .wbs .stats span {
  display: block;
  white-space: nowrap;
  font-size: 14px;
  color: #a9c4cb;
}

/* 2. KACHELN */
#main .wbs .tiles {
  background: var(--light);
  padding: 56px 0;
}

#main .wbs .tgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

#main .wbs .tile {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(1, 38, 50, .07);
}

#main .wbs .tile img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

#main .wbs .tile div {
  padding: 20px 22px 24px;
  border-top: 3px solid var(--teal);
}

#main .wbs .tile h3 {
  font-size: 19px;
  font-weight: 900;
  margin-bottom: 6px;
}

#main .wbs .tile p {
  font-size: 16px;
  color: var(--grey);
  line-height: 1.45;
}

#main .wbs .types {
  padding-top: 46px;
  text-align: center;
}

#main .wbs .types h3 {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 900;
  max-width: 860px;
  margin: 0 auto 10px;
}

#main .wbs .types p {
  color: var(--grey);
  max-width: 780px;
  margin: 0 auto;
}

/* 3. PRESSE / BEKANNT AUS */
#main .wbs .press {
  padding: 30px 0;
  background: var(--deep);
}

#main .wbs .press .c {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px 38px;
}

#main .wbs .press small {
  font-family: 'Mulish', sans-serif;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  font-size: 12px;
  width: 100%;
  text-align: center;
}

#main .wbs .press img {
  height: 28px;
  width: auto;
  opacity: .78;
}

#main .wbs .press img.bt {
  height: 52px;
  margin: -12px 0;
  clip-path: inset(2px 0 0 0);
}

#main .wbs .press img.ntv {
  height: 38px;
}

#main .wbs .press img.ue {
  height: 20px;
}

#main .wbs .press img.bf {
  height: 42px;
}

#main .wbs .press a img {
  transition: .2s;
}

#main .wbs .press a:hover img {
  opacity: 1;
}

/* 4. WISSEN STATT RATEN */
#main .wbs .calc {
  padding: 66px 0 52px;
}

#main .wbs .calc .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

#main .wbs .calc .lead {
  font-size: 20px;
  color: #33464d;
}

#main .wbs .points {
  list-style: none;
}

#main .wbs .points li {
  padding: 18px 0 18px 26px;
  border-bottom: 1px solid #e3e9eb;
  position: relative;
}

#main .wbs .points li:first-child {
  padding-top: 0;
}

#main .wbs .points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 28px;
  width: 12px;
  height: 12px;
  background: var(--gold);
}

#main .wbs .points li:first-child::before {
  top: 10px;
}

#main .wbs .points b {
  display: inline;
  margin-right: 6px;
  font-family: 'Mulish', sans-serif;
  color: var(--teal);
  font-size: 19px;
  font-weight: 700;
}

#main .wbs .points span {
  color: var(--grey);
  font-size: 16.5px;
}

#main .wbs .points b::after {
  content: " –";
  color: var(--grey);
  font-weight: 400;
}

/* 5. WER ICH BIN – Freisteller nahtlos auf #F3F6F7 ohne weißen Kasten */
#main .wbs .me {
  background: var(--light);
  padding: 52px 0 64px;
}

#main .wbs .me .grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 56px;
  align-items: center;
}

#main .wbs .me img {
  width: 100%;
  max-width: 440px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(1, 38, 50, .12);
}

#main .wbs .me a {
  color: var(--teal);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

#main .wbs .me a:hover {
  color: var(--deep);
}

#main .wbs .me .punch {
  margin-top: 22px;
  font-family: 'Mulish', sans-serif;
  font-weight: 900;
  font-size: 22px;
  color: var(--teal);
}

#main .wbs .facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

#main .wbs .facts div {
  background: #fff;
  border-radius: 6px;
  padding: 16px;
}

#main .wbs .facts b {
  display: block;
  font-family: 'Mulish', sans-serif;
  font-weight: 900;
  font-size: 22px;
  color: var(--teal);
}

#main .wbs .facts span {
  font-size: 14.5px;
  color: var(--grey);
}

/* 6. ZITAT */
#main .wbs .quote {
  background: var(--teal);
  color: #fff;
  padding: 76px 0;
}

#main .wbs .quote blockquote {
  font-family: 'Mulish', sans-serif;
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 800;
  font-style: normal;
  line-height: 1.3;
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  color: #fff;
  text-align: center;
}

#main .wbs .quote blockquote span {
  color: var(--gold);
}

/* 7. INVESTORENGEMEINSCHAFT */
#main .wbs .community .grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
}

#main .wbs .bignums {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

#main .wbs .bignums div {
  background: var(--teal);
  color: #fff;
  border-radius: 6px;
  padding: 28px 24px;
}

#main .wbs .bignums div:nth-child(2) {
  background: var(--green);
}

#main .wbs .bignums div:nth-child(3) {
  background: var(--deep);
}

#main .wbs .bignums div:nth-child(4) {
  background: #2B6E73;
  color: #fff;
}

#main .wbs .bignums .wide {
  grid-column: 1 / -1;
}

#main .wbs .bignums .wide span {
  display: block;
  margin-top: 6px;
  font-size: 15.5px;
  line-height: 1.45;
  opacity: .92;
}

#main .wbs .bignums b {
  display: block;
  white-space: nowrap;
  font-family: 'Mulish', sans-serif;
  font-weight: 900;
  font-size: 30px;
  line-height: 1.1;
}

#main .wbs .bignums span {
  font-size: 15px;
  opacity: .85;
}

#main .wbs .note {
  font-size: 14px;
  color: #7b8a8f;
  margin-top: 16px;
}

/* 8. SÄULENSTRATEGIE */
#main .wbs .pillars {
  background: linear-gradient(180deg, #012632 0%, #013342 100%);
  color: #fff;
}

#main .wbs .pillars h2 {
  color: #fff;
}

#main .wbs .pillars .intro {
  max-width: 720px;
  margin: 0 auto;
  color: #c3d4d9;
}

#main .wbs .pgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 40px;
  text-align: left;
}

#main .wbs .pillar {
  background: linear-gradient(180deg, rgba(255, 255, 255, .08) 0%, rgba(255, 255, 255, .04) 100%);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .2);
  transition: transform .22s ease, border-color .22s ease;
}

#main .wbs .pillar:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, .32);
}

#main .wbs .pillar img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-bottom: 3px solid rgba(255, 180, 19, .35);
}

#main .wbs .pillar div {
  padding: 20px 22px 24px;
}

#main .wbs .pillar h3 {
  color: #fff;
  font-size: 19px;
  font-weight: 900;
  margin-bottom: 6px;
}

#main .wbs .pillar p {
  font-size: 16px;
  color: #c3d4d9;
}

#main .wbs .pillar.eas {
  border-color: rgba(255, 180, 19, .65);
}

#main .wbs .pillar.eas img {
  border-bottom-color: var(--gold);
}

#main .wbs .pillar.eas h3 {
  color: var(--gold);
}

/* 9. INVESTORENAUSBILDUNG – mit echten Seminar-Einblicken */
#main .wbs .edu {
  padding: 68px 0 56px;
}

#main .wbs .edu .box {
  background: linear-gradient(125deg, #012632 0%, var(--teal) 55%, var(--green) 100%);
  color: #fff;
  border-radius: 10px;
  padding: 54px 56px;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 48px;
  align-items: center;
  width: 100%;
  margin: 0;
  box-shadow: 0 18px 42px rgba(1, 38, 50, .16);
}

#main .wbs .edu h2 {
  color: #fff;
}

#main .wbs .edu p {
  color: #d4e2e6;
}

#main .wbs .edu ul {
  list-style: none;
  margin-top: 18px;
}

#main .wbs .edu li {
  padding: 6px 0 6px 30px;
  position: relative;
  color: #fff;
}

#main .wbs .edu li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 6px;
  font-family: 'Mulish', sans-serif;
  color: var(--gold);
  font-weight: 900;
}

#main .wbs .edu-cta {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

#main .wbs .edu-cta .edu-sub {
  font-size: 14.5px;
  color: #bfd4da;
  margin: 0;
}

#main .wbs .edu-visual {
  position: relative;
  padding-bottom: 38px;
}

#main .wbs .edu-photo-main {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .34);
  border: 2px solid rgba(255, 255, 255, .18);
  margin: 0;
}

#main .wbs .edu-photo-main img {
  width: 100%;
  aspect-ratio: 16 / 10.5;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}

#main .wbs .edu-photo-main figcaption {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(1, 38, 50, .86);
  backdrop-filter: blur(6px);
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px solid rgba(255, 180, 19, .35);
}

#main .wbs .edu-photo-sub {
  position: absolute;
  right: -12px;
  bottom: 0;
  width: 52%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .4);
  border: 3px solid #083d46;
  margin: 0;
}

#main .wbs .edu-photo-sub img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 28%;
  display: block;
}

/* 10. VIDEO-STIMMEN – kompakt & ausgewogen auf allen Bildschirmgrößen */
#main .wbs .voices {
  padding-top: 12px;
}

#main .wbs .vgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 860px;
  margin: 30px auto 0;
  text-align: left;
}

#main .wbs .vcard {
  background: var(--light);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(1, 38, 50, .06);
  display: flex;
  flex-direction: column;
}

#main .wbs .vcard video {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1.15;
  object-fit: cover;
  object-position: center 24%;
  background: #0b181d;
}

/* Exakte Gesichts-Positionierung beim Abspielen im kompakten Format */
#main .wbs .vcard:nth-child(1) video { object-position: center 32%; }
#main .wbs .vcard:nth-child(2) video { object-position: center 14%; }
#main .wbs .vcard:nth-child(3) video { object-position: center 34%; }
#main .wbs .vcard:nth-child(4) video { object-position: center 28%; }
#main .wbs .vcard:nth-child(5) video { object-position: center 22%; }
#main .wbs .vcard:nth-child(6) video { object-position: center 16%; }

#main .wbs .vcard p {
  padding: 13px 15px 16px;
  font-family: 'Mulish', sans-serif;
  font-weight: 800;
  color: var(--teal);
  font-size: 15px;
  line-height: 1.34;
}

#main .wbs .swipe-hint {
  display: none;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--grey);
  text-align: center;
}

#main .wbs .more {
  margin-top: 26px;
  text-align: center;
}

#main .wbs .more a {
  font-family: 'Mulish', sans-serif;
  font-weight: 800;
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

#main .wbs .more a:hover {
  color: var(--deep);
}

/* 11. EINSTIEG / ABSCHLUSS */
#main .wbs .start {
  background: var(--deep);
  color: #fff;
  text-align: center;
}

#main .wbs .start h2 {
  color: #fff;
}

#main .wbs .start p {
  color: #c3d4d9;
  max-width: 680px;
  margin: 0 auto;
}

#main .wbs .start .ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 30px;
}

/* RESPONSIVE BREAKPOINTS (.wbs) */
@media (max-width: 980px) {
  #main .wbs .hero {
    background: linear-gradient(180deg, #013B4C 0%, #012632 100%);
  }
  #main .wbs .hero .photo {
    position: relative;
    width: 100%;
    height: 410px;
    margin-bottom: -30px;
    background-position: center 15%;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 62%, rgba(0, 0, 0, .45) 84%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 62%, rgba(0, 0, 0, .45) 84%, transparent 100%);
  }
  #main .wbs .hero .photo::before {
    background: linear-gradient(180deg, rgba(1, 59, 76, 0) 55%, rgba(1, 59, 76, .55) 100%);
  }
  #main .wbs .hero .c {
    min-height: 0;
  }
  #main .wbs .hero .txt {
    padding: 8px 0 56px;
  }
  #main .wbs .tgrid,
  #main .wbs .pgrid {
    grid-template-columns: 1fr 1fr;
  }
  #main .wbs .vgrid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 760px;
    gap: 14px;
  }
  #main .wbs .vcard p {
    font-size: 14px;
    padding: 12px 13px 15px;
  }
  #main .wbs .calc .grid,
  #main .wbs .me .grid,
  #main .wbs .edu .box,
  #main .wbs .community .grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  #main .wbs .me img {
    max-width: 340px;
    max-height: 450px;
    margin: 0 auto;
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(1, 38, 50, .12);
  }
  #main .wbs .edu .box {
    padding: 36px 28px 40px;
  }
  #main .wbs .edu-visual {
    order: -1;
    max-width: 540px;
    width: 100%;
    margin: 0 auto;
    padding-bottom: 26px;
  }
  #main .wbs .edu-photo-sub {
    right: 0;
  }
}

@media (max-width: 820px) {
  /* Kompakter horizontaler Touch-Slider auf kleineren Bildschirmen / Tablets / Smartphones */
  #main .wbs .vgrid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    max-width: 100%;
    margin-top: 24px;
    padding: 2px 2px 10px;
    scrollbar-width: thin;
    scrollbar-color: rgba(1, 59, 76, .25) transparent;
  }
  #main .wbs .vgrid::-webkit-scrollbar {
    height: 5px;
  }
  #main .wbs .vgrid::-webkit-scrollbar-track {
    background: transparent;
  }
  #main .wbs .vgrid::-webkit-scrollbar-thumb {
    background: rgba(1, 59, 76, .25);
    border-radius: 99px;
  }
  #main .wbs .vcard {
    flex: 0 0 200px;
    max-width: 200px;
    scroll-snap-align: start;
  }
  #main .wbs .vcard video {
    aspect-ratio: 1 / 1.15;
  }
  #main .wbs .vcard p {
    font-size: 13.5px;
    line-height: 1.32;
    padding: 11px 12px 14px;
  }
  #main .wbs .swipe-hint {
    display: block;
  }
}

@media (max-width: 680px) {
  #main .wbs {
    font-size: 17px;
  }
  #main .wbs section {
    padding: 56px 0;
  }
  #main .wbs .calc {
    padding: 52px 0 42px;
  }
  #main .wbs .me {
    padding: 42px 0 52px;
  }
  #main .wbs .c {
    padding: 0 20px;
  }
  #main .wbs .hero .photo {
    height: 360px;
  }
  #main .wbs .stats {
    gap: 18px;
    flex-wrap: wrap;
  }
  #main .wbs .stats b {
    font-size: 24px;
  }
  #main .wbs .tgrid,
  #main .wbs .pgrid,
  #main .wbs .facts {
    grid-template-columns: 1fr;
  }
  #main .wbs .bignums b {
    font-size: 26px;
  }
  #main .wbs .edu .box {
    padding: 26px 20px 32px;
  }
  #main .wbs .edu-cta {
    align-items: stretch;
  }
  #main .wbs .edu-cta .edu-sub {
    text-align: center;
  }
  #main .wbs .edu-photo-main figcaption {
    font-size: 10.5px;
    padding: 5px 9px;
  }
  #main .wbs .btn {
    width: 100%;
    text-align: center;
  }
}
