  /* Reset & Base Container (:where = Spezifität 0, damit Klassenregeln auch im Editor gewinnen) */
  :where(.custom-page-wrapper) * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Mulish', sans-serif;
  }

  .custom-page-wrapper {
    width: 100%;
    background-color: #ffffff;
  }

  /* ==========================================================================
     SUBPAGE HERO & HEADER
     ========================================================================== */
  .subpage-hero-wrapper {
    width: 100%;
    position: relative;
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), var(--kjp-hero-subpage-image);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 240px;
    display: flex;
    flex-direction: column;
  }

  .subpage-header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
    padding: 12px 0;
  }

  .subpage-header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .subpage-logo {
    max-height: 70px;
    width: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.3s ease;
  }

  .subpage-nav-desktop {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    position: relative;
  }

  .subpage-nav-desktop > li {
    position: relative;
    padding-bottom: 4px;
  }

  .subpage-nav-desktop a, 
  .subpage-nav-desktop button {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 1em;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease, opacity 0.2s ease;
  }

  .subpage-nav-desktop > li:hover > a,
  .subpage-nav-desktop > li:hover > button,
  .subpage-nav-desktop > li.active > a,
  .subpage-nav-desktop > li.active > button {
    color: #ffffff;
    opacity: 1;
  }

  .subpage-nav-desktop > li.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ffffff;
  }

  .arrow-icon {
    font-size: 0.7em;
    transition: transform 0.2s ease;
  }

  .subpage-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    z-index: 1001;
    list-style: none;
    padding: 0;
    border-radius: 2px;
    overflow: hidden;
  }

  .subpage-nav-desktop > li:hover .subpage-dropdown {
    opacity: 1;
    visibility: visible;
  }

  .subpage-dropdown li {
    border-bottom: 1px solid #f2f2f2;
  }

  .subpage-dropdown li:last-child {
    border-bottom: none;
  }

  .subpage-dropdown a {
    display: block;
    padding: 14px 20px;
    color: #213242;
    font-size: 0.95em;
    font-weight: 400;
    line-height: 1.35;
    transition: background-color 0.2s ease, color 0.2s ease;
  }

  .subpage-dropdown li.active-sublink a {
    background-color: #f08d49;
    color: #ffffff;
    font-weight: 500;
  }

  .subpage-dropdown a:hover {
    background-color: #f08d49;
    color: #ffffff;
  }

  /* Sticky Scrolled State */
  .subpage-header.is-scrolled {
    background-color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 10px 0;
  }

  .subpage-header.is-scrolled .subpage-nav-desktop a,
  .subpage-header.is-scrolled .subpage-nav-desktop button {
    color: #213242;
    opacity: 0.85;
  }

  .subpage-header.is-scrolled .subpage-nav-desktop > li:hover > a,
  .subpage-header.is-scrolled .subpage-nav-desktop > li:hover > button,
  .subpage-header.is-scrolled .subpage-nav-desktop > li.active > a {
    color: #f08d49;
    opacity: 1;
  }

  .subpage-header.is-scrolled .subpage-nav-desktop > li.active::after {
    background-color: #f08d49;
  }

  .subpage-header.is-scrolled .burger-btn span {
    background-color: #213242;
  }

  .burger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
  }

  .subpage-header .burger-btn span {
    display: block;
    width: 26px;
    height: 3px;
    margin: 5px 0;
    background-color: #ffffff;
    transition: 0.3s;
  }

  .mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    z-index: 1998;
  }

  .mobile-drawer-overlay.open {
    opacity: 1;
    visibility: visible;
  }

  .mobile-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background-color: #212e39;
    z-index: 1999;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
  }

  .mobile-drawer.open {
    right: 0;
  }

  .mobile-drawer-header {
    padding: 30px 20px 20px 20px;
    text-align: center;
  }

  .mobile-logo {
    max-height: 70px;
    width: auto;
  }

  .mobile-nav {
    list-style: none;
    width: 100%;
  }

  .mobile-nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .mobile-nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 16px 24px;
    color: #ffffff;
    font-size: 1em;
    font-weight: 500;
    text-decoration: none;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
  }

  .mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: #1a252e;
    list-style: none;
  }

  .mobile-submenu a {
    display: block;
    padding: 14px 24px 14px 36px;
    color: #e0e6ed;
    font-size: 0.9em;
    text-decoration: none;
  }

  .mobile-submenu li.active a {
    background-color: #f08d49;
    color: #ffffff;
  }

  .mobile-drawer-footer {
    padding: 30px 20px;
    color: #7b8e9f;
    font-size: 0.8em;
    text-align: center;
  }

  /* ==========================================================================
     HEADLINE SECTION
     ========================================================================== */
  .headline-section {
      width: 100%;
    padding: 80px 20px 50px 20px;
    display: flex;
    justify-content: center;
    text-align: center;
  }

  .headline-container {
    max-width: 820px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .headline-subtitle {
    font-size: 1.05em;
    font-weight: 600;
    color: #f6b868;
    margin-bottom: 12px;
    letter-spacing: 0.2px;
  }

  .headline-title {
    font-size: 2.8em;
    font-weight: 700;
    color: #213242;
    margin-bottom: 22px;
    line-height: 1.15;
    letter-spacing: -0.5px;
  }

  .headline-description {
    font-size: 1.05em;
    color: #4a5568;
    line-height: 1.65;
    max-width: 760px;
  }

  /* ==========================================================================
     ZIEL DER VERHALTENSTHERAPIE SECTION
     ========================================================================== */
  .goal-section {
      width: 100%;
    padding: 40px 20px 80px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .goal-container {
    max-width: 1140px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: start;
  }

  .goal-image-box {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
  }

  .goal-image-box img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
  }

  .goal-content-box {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .goal-title {
    font-size: 2.1em;
    font-weight: 700;
    color: #213242;
    line-height: 1.2;
    letter-spacing: -0.3px;
  }

  .goal-text {
    font-size: 0.96em;
    color: #4a5568;
    line-height: 1.7;
  }

  .chipcard-notice {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: 8px;
  }

  .chipcard-icon {
    font-size: 32px;
    color: #f08d49;
    flex-shrink: 0;
    line-height: 1.2;
  }

  .chipcard-icon i {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
  }

  .chipcard-text {
    font-family: 'Mulish', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.4;
    color: #213242;
  }

  /* ==========================================================================
     CTA BANNER SECTION
     ========================================================================== */
  .cta-banner-section {
      width: 100%;
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .cta-banner-card {
    max-width: 1140px;
    width: 100%;
    background-color: #ffffff;
    border-radius: 6px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    padding: 50px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
  }

  .cta-banner-text-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 600px;
  }

  .cta-banner-title {
    font-size: 2em;
    font-weight: 700;
    color: #213242;
    letter-spacing: -0.3px;
    line-height: 1.2;
  }

  .cta-banner-description {
    font-size: 0.98em;
    color: #55606e;
    line-height: 1.6;
  }

  /* ==========================================================================
     METHODEN UND TECHNIKEN SECTION
     ========================================================================== */
  .methods-section {
      width: 100%;
    padding: 100px 20px;
    display: flex;
    justify-content: center;
  }

  .methods-container {
    max-width: 1140px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: start;
  }

  .methods-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .methods-title {
    font-size: 2.1em;
    font-weight: 700;
    color: #213242;
    line-height: 1.2;
  }

  .methods-text {
    font-size: 0.96em;
    color: #4a5568;
    line-height: 1.7;
  }

  .methods-right {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  .method-item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
  }

  .method-icon {
    font-size: 32px;
    color: #f08d49;
    flex-shrink: 0;
    width: 40px;
    text-align: center;
    line-height: 1.2;
  }

  .method-icon i {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
  }

  .method-content {
    min-width: 0;
  }

  .method-content h4 {
    font-size: 1.15em;
    font-weight: 700;
    color: #213242;
    margin-bottom: 6px;
    overflow-wrap: anywhere;
  }

  .method-content p {
    font-size: 0.94em;
    color: #55606e;
    line-height: 1.6;
  }

  /* ==========================================================================
     EINBEZIEHUNG DER ELTERN SECTION
     ========================================================================== */
  .parents-section {
      width: 100%;
    padding: 90px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .parents-container {
    max-width: 1140px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
  }

  .parents-content-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .parents-title {
    font-size: 2.1em;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
  }

  .parents-text {
    font-size: 0.96em;
    color: #ffffff;
    line-height: 1.7;
  }

  .parents-image-box {
    width: 100%;
    max-height: 360px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  }

  .parents-image-box img {
    width: 100%;
    height: 360px;
    display: block;
    object-fit: cover;
    object-position: center center;
    border-radius: 8px;
  }

  /* ==========================================================================
     BERUFLICHER WERDEGANG SECTION
     ========================================================================== */
  .career-section {
      width: 100%;
    padding: 100px 20px;
    display: flex;
    justify-content: center;
  }

  .career-container {
    max-width: 1140px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    align-items: start;
  }

  .career-left h2 {
    font-size: 2.1em;
    font-weight: 700;
    color: #213242;
    line-height: 1.2;
  }

  .career-right {
    display: flex;
    flex-direction: column;
    gap: 45px;
  }

  .career-item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
  }

  .career-icon {
    font-size: 22px;
    color: #f08d49;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
    line-height: 1.1;
  }

  .career-icon i {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
  }

  .career-content h4 {
    font-size: 1.15em;
    font-weight: 700;
    color: #213242;
    margin-bottom: 6px;
  }

  .career-content p {
    font-size: 0.94em;
    color: #55606e;
    line-height: 1.6;
  }

  /* ==========================================================================
     GOOGLE MAPS SECTION
     ========================================================================== */
  .map-section {
      width: 100%;
    padding: 100px 20px;
    display: flex;
    justify-content: center;
  }

  .map-container {
    max-width: 1140px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    align-items: center;
  }

  .map-info-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .map-pin-icon {
    font-size: 32px;
    color: #f08d49;
    line-height: 1;
  }

  .map-pin-icon i {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
  }

  .map-title {
    font-size: 2.1em;
    font-weight: 700;
    color: #213242;
    line-height: 1.2;
  }

  .map-description {
    font-size: 0.96em;
    color: #4a5568;
    line-height: 1.7;
  }

  .map-embed-box {
    width: 100%;
    height: 420px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    border: 1px solid #eaeaea;
  }

  .map-embed-box iframe {
    width: 100%;
    height: 100%;
    border: 0;
  }

  .map-consent {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-align: center;
    background: #f7f5f2;
  }

  .map-consent-text {
    max-width: 560px;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .map-consent-button {
    margin: 0;
    height: auto;
    cursor: pointer;
  }

  /* ==========================================================================
     DOWNLOAD SECTION
     ========================================================================== */
  .downloads-section {
      width: 100%;
    padding: 100px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .downloads-header {
    max-width: 800px;
    text-align: center;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .downloads-title {
    font-weight: 700;
    color: #213242;
    line-height: 1.2;
  }

  .downloads-subtitle {
    font-size: 1.05em;
    color: #55606e;
    line-height: 1.6;
  }

  .downloads-grid {
    max-width: 1140px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
  }

  .download-card {
    min-width: 0;
    background-color: #ffffff;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    padding: 35px;
    display: flex;
    align-items: flex-start;
    gap: 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .download-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  }

  /* Eine einzelne Karte am Ende des Rasters (auch allein) wird mittig gesetzt. */
  .downloads-grid > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 15px);
  }

  .download-icon-circle {
    width: 65px;
    height: 65px;
    background-color: #f09455;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 24px;
    flex-shrink: 0;
  }

  .download-card-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .download-card-title {
    font-size: 1.1em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .download-card-title a {
    color: #f09455;
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .download-card-title a:hover {
    color: #d67a3d;
  }

  .download-card-text {
    font-size: 0.94em;
    color: #55606e;
    line-height: 1.6;
  }

  .download-link {
    color: #f09455;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .download-link:hover {
    color: #d67a3d;
    text-decoration: underline;
  }

  /* ==========================================================================
     SEMINARE SECTION
     ========================================================================== */
  .seminars-section {
      width: 100%;
    padding: 100px 20px;
    display: flex;
    justify-content: center;
  }

  .seminars-container {
    max-width: 1140px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    align-items: start;
  }

  .seminars-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .seminars-title {
    font-size: 2.1em;
    font-weight: 700;
    color: #213242;
    line-height: 1.2;
  }

  .seminars-text {
    font-size: 0.96em;
    color: #4a5568;
    line-height: 1.7;
  }

  .seminars-right {
    display: flex;
    flex-direction: column;
    gap: 35px;
  }

  .seminars-header-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 10px;
  }

  .seminars-header-icon {
    font-size: 32px;
    color: #f08d49;
    flex-shrink: 0;
    line-height: 1;
  }

  .seminars-header-icon i {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
  }

  .seminars-header-title {
    font-size: 1.25em;
    font-weight: 700;
    color: #213242;
  }

  .seminar-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .seminar-item h4 {
    font-size: 1.15em;
    font-weight: 700;
    color: #213242;
  }

  .seminar-item p {
    font-size: 0.94em;
    color: #55606e;
    line-height: 1.6;
  }

  /* ==========================================================================
     KONTAKT SECTION
     ========================================================================== */
  .contact-section-new {
      width: 100%;
    padding: 100px 20px;
    display: flex;
    justify-content: center;
  }

  .contact-cards-wrapper {
    max-width: 1140px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 30px;
    align-items: center;
  }

  .contact-info-card {
    background-color: #fdf5ef;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    min-height: 380px;
    justify-content: center;
    gap: 20px;
  }

  .card-user-icon {
    font-size: 24px;
    color: #213242;
    margin-bottom: 5px;
  }

  .card-user-icon i {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
  }

  .contact-info-card h3 {
    font-size: 1.2em;
    font-weight: 700;
    color: #213242;
    line-height: 1.3;
  }

  .contact-info-card p {
    font-size: 0.95em;
    color: #4a5568;
    line-height: 1.6;
  }

  .card-pin-icon {
    font-size: 22px;
    color: #213242;
    margin-top: 15px;
  }

  .card-pin-icon i {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
  }

  .contact-center-frame {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
  }

  .contact-center-frame img {
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: cover;
    display: block;
  }

  .contact-phone-box {
    font-size: 1.25em;
    font-weight: 700;
    color: #213242;
    text-decoration: none;
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .contact-phone-box i {
    color: #213242;
    font-size: 20px;
  }

  /* ==========================================================================
     GALERIE SECTION (Exakt einheitliche Spaltenbreiten für alle Bilder)
     ========================================================================== */
  .gallery-section {
      width: 100%;
    padding: 100px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .gallery-layout-grid {
    max-width: 1140px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: center;
  }

  .gallery-headline-col {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 0 10px;
  }

  .gallery-icon-box {
    font-size: 32px;
    color: #f08d49;
  }

  .gallery-icon-box i {
    font-family: "Font Awesome 6 Free";
    font-weight: 400;
  }

  .gallery-title {
    font-weight: 700;
    color: #213242;
  }

  .gallery-subtitle {
    font-size: 0.98em;
    color: #55606e;
    line-height: 1.6;
  }

  /* Hochkant-Bild in exakt gleicher Spaltenbreite wie die unteren Bilder */
  .gallery-portrait-item {
    width: 100%;
    height: 380px; /* Schön hochkant bei gleicher Spaltenbreite */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    background-color: #ffffff;
  }

  .gallery-portrait-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: transform 0.3s ease;
  }

  .gallery-portrait-item:hover img {
    transform: scale(1.03);
  }

  /* Weitere Bildreihen darunter (gleiches 3er Grid) */
  .gallery-sub-grid {
    max-width: 1140px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
  }

  .gallery-landscape-item {
    width: 100%;
    height: 280px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    background-color: #ffffff;
  }

  .gallery-landscape-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: transform 0.3s ease;
  }

  .gallery-landscape-item:hover img {
    transform: scale(1.03);
  }

  /* Lightbox Modal */
  .lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    padding: 20px;
  }

  .lightbox-modal.active {
    opacity: 1;
    visibility: visible;
  }

  .lightbox-content {
    max-width: 900px;
    max-height: 85vh;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
  }

  .lightbox-content img {
    width: 100%;
    height: auto;
    max-height: 85vh;
    display: block;
    object-fit: contain;
  }

  .lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 36px;
    cursor: pointer;
    z-index: 10000;
  }

  /* ==========================================================================
     FOOTER MIT TAB-NAVIGATION
     ========================================================================== */
  .site-footer {
    width: 100%;
    background-color: #ffffff;
    border-top: 1px solid #eaeaea;
  }

  .footer-tabs-bar {
    width: 100%;
    background-color: #faf9f6;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: center;
  }

  .footer-tabs-container {
    max-width: 1140px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 0 20px;
  }

  .footer-tab-btn {
    background: transparent;
    border: none;
    padding: 18px 28px;
    font-size: 0.92em;
    font-weight: 600;
    color: #55606e;
    cursor: pointer;
    transition: all 0.25s ease;
    border-bottom: 3px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.8px;
  }

  .footer-tab-btn:hover {
    color: #f08d49;
  }

  .footer-tab-btn.active {
    color: #f08d49;
    border-bottom-color: #f08d49;
    background-color: #ffffff;
  }

  .footer-tab-content-wrapper {
    width: 100%;
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    background-color: #ffffff;
    min-height: 280px;
  }

  .footer-tab-pane {
    display: none;
    max-width: 800px;
    width: 100%;
    text-align: center;
    animation: fadeIn 0.35s ease-in-out forwards;
  }

  .footer-tab-pane.active {
    display: block;
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .contact-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #213242;
    line-height: 1.65;
  }

  .contact-name {
    font-size: 1.15em;
    font-weight: 700;
    color: #213242;
    margin-bottom: 18px;
  }

  .contact-titles {
    font-size: 0.96em;
    color: #213242;
    margin-bottom: 24px;
  }

  .contact-titles span {
    display: block;
  }

  .contact-address {
    font-size: 0.96em;
    color: #213242;
    margin-bottom: 20px;
  }

  .contact-address span {
    display: block;
  }

  .contact-phone {
    font-size: 0.98em;
    color: #213242;
  }

  .contact-phone-number {
    color: var(--wp--preset--color--accent);
    font-weight: 600;
    text-decoration: none;
    margin-left: 4px;
  }

  .legal-tab-title {
    font-size: 1.5em;
    font-weight: 600;
    color: #213242;
    margin-bottom: 20px;
  }

  .legal-tab-text {
    font-size: 0.94em;
    color: #55606e;
    line-height: 1.7;
    margin-bottom: 15px;
    text-align: left;
  }

  .footer-bottom-bar {
    width: 100%;
    background-color: #212e39;
    color: #9aa8b6;
    padding: 22px 20px;
    text-align: center;
    font-size: 0.88em;
  }

  .footer-bottom-links {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
  }

  .footer-bottom-links a {
    color: #d0dce7;
    text-decoration: none;
    cursor: pointer;
  }

  .footer-bottom-links a:hover {
    color: #f08d49;
  }

  /* Responsive Adjustments */
  @media (max-width: 991px) {
    .subpage-nav-desktop {
      display: none;
    }

    .burger-btn {
      display: block;
    }

    .subpage-hero-wrapper {
      min-height: 180px;
    }

    .headline-title {
      font-size: 2em;
    }

    .headline-section {
      padding: 50px 20px 30px 20px;
    }

    .goal-container,
    .methods-container,
    .parents-container,
    .career-container,
    .map-container,
    .seminars-container,
    .contact-cards-wrapper,
    .gallery-layout-grid {
      grid-template-columns: minmax(0, 1fr);
      gap: 35px;
    }

    .goal-title,
    .methods-title,
    .parents-title,
    .career-left h2,
    .map-title,
    .seminars-title,
    .gallery-title {
      font-size: 1.7em;
    }

    .downloads-grid {
      grid-template-columns: minmax(0, 1fr);
    }

    .downloads-grid > :last-child:nth-child(odd) {
      width: 100%;
    }

    .download-card {
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 30px 22px;
      gap: 18px;
    }

    .download-icon-circle {
      margin: 0 auto;
    }

    .download-card-content {
      align-items: center;
    }

    .gallery-sub-grid {
      grid-template-columns: 1fr;
    }

    .downloads-title {
      font-size: 2em;
    }

    .chipcard-text {
      font-size: 16px;
    }

    .parents-image-box,
    .parents-image-box img {
      max-height: 280px;
      height: 280px;
    }

    .gallery-portrait-item {
      height: 300px;
    }

    .cta-banner-section,
    .parents-section,
    .career-section,
    .map-section,
    .downloads-section,
    .seminars-section,
    .contact-section-new,
    .gallery-section {
      padding: 50px 16px;
    }

    .cta-banner-card {
      flex-direction: column;
      padding: 35px 24px;
      align-items: stretch;
      gap: 24px;
    }

    .cta-banner-title {
      font-size: 1.6em;
    }

    .cta-banner-section .is-style-cta .wp-block-button__link {
      width: 100%;
      white-space: normal;
    }

    .footer-tabs-container {
      flex-wrap: wrap;
      gap: 0;
    }

    .footer-tab-btn {
      padding: 12px 14px;
      font-size: 0.8em;
      flex: 1 1 45%;
      text-align: center;
    }
  }
