/* Section Styles */

.header-hesa {
      container-type: inline-size;
      container-name: header-hesa;
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
      background: transparent;
      padding: 0 var(--section-padding-x);
      transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
    }

    /* Transparent state: light text for use over dark hero */
    .header-hesa__nav-link,
    .header-hesa__phone,
    .header-hesa__toggle {
      transition: color 0.35s ease;
    }

    .header-hesa:not(.is-scrolled) .header-hesa__nav-link,
    .header-hesa:not(.is-scrolled) .header-hesa__phone,
    .header-hesa:not(.is-scrolled) .header-hesa__toggle {
      color: var(--always-light);
    }

    .header-hesa:not(.is-scrolled) .header-hesa__nav-link:hover {
      color: oklch(1 0 0 / 0.7);
    }

    .header-hesa:not(.is-scrolled) .header-hesa__nav-link::after {
      background: var(--always-light);
    }

    .header-hesa:not(.is-scrolled) .header-hesa__phone:hover {
      color: oklch(1 0 0 / 0.7);
    }

    /* Scrolled state: solid bg, dark text */
    .header-hesa.is-scrolled {
      position: fixed;
      background: var(--bg-surface);
      box-shadow: var(--shadow-m);
    }

    .header-hesa.is-scrolled .header-hesa__nav-link {
      color: var(--text-body);
    }

    .header-hesa.is-scrolled .header-hesa__phone {
      color: var(--text-body);
    }

    .header-hesa.is-scrolled .header-hesa__toggle {
      color: var(--text-body);
    }

    .header-hesa.is-scrolled .header-hesa__nav-link:hover,
    .header-hesa.is-scrolled .header-hesa__phone:hover {
      color: var(--primary);
    }

    .header-hesa.is-scrolled .header-hesa__nav-link::after {
      background: var(--primary);
    }

    /* Mobile menu open: always solid background */
    .header-hesa.is-menu-open {
      background: var(--bg-surface);
      box-shadow: var(--shadow-m);
    }

    .header-hesa.is-menu-open .header-hesa__nav-link,
    .header-hesa.is-menu-open .header-hesa__phone,
    .header-hesa.is-menu-open .header-hesa__toggle {
      color: var(--text-body);
    }

    .header-hesa__inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: var(--space-xl);
    }

    .header-hesa__logo {
      display: flex;
      align-items: center;
      text-decoration: none;
      flex-shrink: 0;
    }

    .header-hesa__logo-img {
      height: auto;
      width: 22rem;
    }

    .header-hesa__nav {
      display: flex;
      align-items: center;
    }

    .header-hesa__nav-list {
      display: flex;
      align-items: center;
      gap: var(--space-xl);
      list-style: none;
      margin: 0;
      padding: 0;
    }

    .header-hesa__nav-link {
      font-family: var(--font-secondary);
      font-size: var(--nav-link-size);
      font-weight: var(--weight-medium);
      text-decoration: none;
      position: relative;
      transition: color 0.25s ease;
    }

    .header-hesa__nav-link::after {
      content: '';
      position: absolute;
      bottom: -0.4rem;
      left: 0;
      width: 0;
      height: 2px;
      transition: width 0.25s ease, background 0.25s ease;
    }

    .header-hesa__nav-link:hover::after {
      width: 100%;
    }

    .header-hesa__actions {
      display: flex;
      align-items: center;
      gap: var(--space-l);
      flex-shrink: 0;
    }

    .header-hesa__phone {
      display: flex;
      align-items: center;
      gap: var(--space-xs);
      text-decoration: none;
      font-family: var(--font-secondary);
      font-size: var(--text-s);
      font-weight: var(--weight-medium);
    }

    .header-hesa__toggle {
      display: none;
      background: none;
      border: none;
      padding: var(--space-2xs);
      cursor: pointer;
    }

    .header-hesa__toggle-icon {
      width: 2.4rem;
      height: 2.4rem;
    }

    .header-hesa__toggle-icon--close {
      display: none;
    }

    .header-hesa__toggle[aria-expanded="true"] .header-hesa__toggle-icon--open {
      display: none;
    }

    .header-hesa__toggle[aria-expanded="true"] .header-hesa__toggle-icon--close {
      display: block;
    }

    .header-hesa__mobile-nav {
      display: none;
      padding: var(--space-m) 0 var(--space-l);
      border-top: 1px solid var(--border-primary);
    }

    .header-hesa__mobile-nav.is-open {
      display: block;
    }

    .header-hesa__mobile-list {
      list-style: none;
      margin: 0 0 var(--space-l);
      padding: 0;
    }

    .header-hesa__mobile-link {
      display: block;
      padding: var(--space-s) 0;
      font-family: var(--font-secondary);
      font-size: var(--text-ml);
      font-weight: var(--weight-medium);
      color: var(--text-body);
      text-decoration: none;
      border-bottom: 1px solid var(--border-primary);
      transition: color 0.2s ease;
    }

    .header-hesa__mobile-link:hover {
      color: var(--primary);
    }

    .header-hesa__mobile-actions {
      display: flex;
      flex-direction: column;
      gap: var(--space-m);
    }

    .header-hesa__mobile-phone {
      display: flex;
      align-items: center;
      gap: var(--space-xs);
      color: var(--text-body);
      text-decoration: none;
      font-family: var(--font-secondary);
      font-size: var(--text-m);
      font-weight: var(--weight-medium);
    }

    .header-hesa__mobile-cta {
      width: 100%;
      text-align: center;
    }

    /* Tablet */
    @container header-hesa (max-width: 968px) {
      .header-hesa__phone-text {
        display: none;
      }
    }

    /* Mobile */
    @container header-hesa (max-width: 768px) {
      .header-hesa__nav,
      .header-hesa__actions {
        display: none;
      }

      .header-hesa__toggle {
        display: flex;
        align-items: center;
        justify-content: center;
      }
    }

    @container header-hesa (max-width: 480px) {
      .header-hesa__logo-img {
        width: 16rem;
      }
    }

.hero-hesa-2 {
      container-type: inline-size;
      container-name: hero-hesa-2;
      position: relative;
      min-height: 100vh;
      display: flex;
      align-items: center;
      overflow: hidden;
      padding-top: calc(var(--section-padding-y) + 8rem);
    }

    .hero-hesa-2__bg {
      position: absolute;
      inset: 0;
      z-index: 0;
    }

    .hero-hesa-2__bg-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center 40%;
    }

    .hero-hesa-2__overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(
        160deg,
        oklch(0.12 0.02 24 / 0.78) 0%,
        oklch(0.15 0.03 24 / 0.68) 50%,
        oklch(0.10 0.01 24 / 0.72) 100%
      );
    }

    .hero-hesa-2__container {
      position: relative;
      z-index: 1;
      text-align: center;
    }

    .hero-hesa-2__content {
      max-width: 80rem;
      margin: 0 auto;
    }

    .hero-hesa-2__badge-wrap {
      margin-bottom: var(--space-l);
    }

    .hero-hesa-2__badge {
      display: inline-flex;
      align-items: center;
      gap: var(--space-xs);
      padding: var(--space-2xs) var(--space-m);
      font-family: var(--font-secondary);
      font-size: var(--text-xs);
      font-weight: var(--weight-semibold);
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--always-light);
      background: oklch(1 0 0 / 0.12);
      border: 1px solid oklch(1 0 0 / 0.2);
      border-radius: var(--radius-full);
    }

    .hero-hesa-2__title {
      font-size: var(--hero-title-size);
      font-weight: var(--weight-medium);
      line-height: 1.08;
      color: var(--always-light);
      margin-bottom: var(--space-l);
      letter-spacing: -0.02em;
    }

    .hero-hesa-2__description {
      font-family: var(--font-secondary);
      font-size: var(--text-l);
      line-height: 1.6;
      color: oklch(1 0 0 / 0.8);
      max-width: 60rem;
      margin-left: auto;
      margin-right: auto;
      margin-bottom: var(--space-2xl);
    }

    .hero-hesa-2__actions {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: var(--space-m);
      flex-wrap: wrap;
    }

    .hero-hesa-2__btn--outline {
      color: var(--always-light);
      border-color: oklch(1 0 0 / 0.4);
    }

    .hero-hesa-2__btn--outline:hover {
      background: oklch(1 0 0 / 0.12);
      color: var(--always-light);
      border-color: oklch(1 0 0 / 0.6);
    }

    /* Statistics */
    .hero-hesa-2__stats {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: var(--space-2xl);
      margin-top: var(--space-4xl);
      padding-top: var(--space-2xl);
      border-top: 1px solid oklch(1 0 0 / 0.15);
    }

    .hero-hesa-2__stat {
      display: flex;
      flex-direction: column;
      gap: var(--space-3xs);
    }

    .hero-hesa-2__stat-number {
      font-family: var(--font-primary);
      font-size: var(--text-3xl);
      font-weight: var(--weight-medium);
      color: var(--always-light);
      line-height: 1;
    }

    .hero-hesa-2__stat-label {
      font-family: var(--font-secondary);
      font-size: var(--text-s);
      color: oklch(1 0 0 / 0.65);
      font-weight: var(--weight-regular);
    }

    .hero-hesa-2__stat-divider {
      width: 1px;
      height: 4.8rem;
      background: oklch(1 0 0 / 0.15);
    }

    /* Tablet Large */
    @container hero-hesa-2 (max-width: 968px) {
      .hero-hesa-2__stats {
        gap: var(--space-xl);
      }

      .hero-hesa-2__stat-number {
        font-size: var(--text-2xl);
      }
    }

    /* Tablet */
    @container hero-hesa-2 (max-width: 768px) {
      .hero-hesa-2 {
        min-height: 100vh;
      }

      .hero-hesa-2__stats {
        flex-wrap: wrap;
        gap: var(--space-xl);
      }

      .hero-hesa-2__stat-divider:nth-child(4) {
        display: none;
      }
    }

    /* Mobile Large */
    @container hero-hesa-2 (max-width: 640px) {
      .hero-hesa-2 {
        min-height: auto;
        padding-top: calc(var(--section-padding-y) + 10rem);
        padding-bottom: var(--space-3xl);
      }

      .hero-hesa-2__title {
        font-size: var(--text-3xl);
      }

      .hero-hesa-2__description {
        font-size: var(--text-m);
      }

      .hero-hesa-2__actions {
        flex-direction: column;
        align-items: center;
      }

      .hero-hesa-2__btn {
        width: 100%;
        justify-content: center;
      }

      .hero-hesa-2__stats {
        gap: var(--space-l);
      }

      .hero-hesa-2__stat-divider {
        display: none;
      }

      .hero-hesa-2__stat {
        flex-basis: calc(50% - var(--space-l));
      }
    }

    /* Mobile */
    @container hero-hesa-2 (max-width: 480px) {
      .hero-hesa-2__title {
        font-size: var(--text-2xl);
      }

      .hero-hesa-2__stat-number {
        font-size: var(--text-xl);
      }
    }

.leistungen-3 {
      container-type: inline-size;
      container-name: leistungen-3;
    }

    /* Tabs Navigation */
    .leistungen-3__tabs {
      display: flex;
      justify-content: center;
      gap: var(--space-2xs);
      border-bottom: 1px solid var(--border-primary);
      overflow-x: auto;
      scrollbar-width: none;
      -ms-overflow-style: none;
    }

    .leistungen-3__tabs::-webkit-scrollbar {
      display: none;
    }

    .leistungen-3__tab {
      display: flex;
      align-items: center;
      gap: var(--space-xs);
      padding: var(--space-m) var(--space-l);
      font-family: var(--font-secondary);
      font-size: var(--text-s);
      font-weight: var(--weight-medium);
      color: var(--text-body);
      opacity: 0.6;
      background: none;
      border: none;
      border-bottom: 2px solid transparent;
      cursor: pointer;
      white-space: nowrap;
      transition: opacity 0.2s ease, border-color 0.2s ease, color 0.2s ease;
      margin-bottom: -1px;
    }

    .leistungen-3__tab:hover {
      opacity: 1;
    }

    .leistungen-3__tab.is-active {
      opacity: 1;
      color: var(--primary);
      border-bottom-color: var(--primary);
    }

    /* Panels */
    .leistungen-3__panels {
      margin-top: var(--space-2xl);
    }

    .leistungen-3__panel {
      display: none;
    }

    .leistungen-3__panel.is-active {
      display: block;
    }

    .leistungen-3__panel-grid {
      display: grid;
      grid-template-columns: 1.4fr 1fr;
      gap: var(--space-3xl);
      align-items: start;
    }

    .leistungen-3__panel-main {
      display: flex;
      flex-direction: column;
      gap: var(--space-m);
    }

    .leistungen-3__panel-title {
      font-family: var(--font-primary);
      font-size: var(--text-2xl);
      font-weight: var(--weight-medium);
      color: var(--text-title);
    }

    .leistungen-3__panel-text {
      font-family: var(--font-secondary);
      font-size: var(--text-m);
      color: var(--text-body);
      line-height: 1.7;
    }

    /* Detail sidebar */
    .leistungen-3__panel-details {
      padding: var(--space-xl);
      background: var(--dark-5);
      border-radius: var(--radius-m);
    }

    .leistungen-3__detail-heading {
      font-family: var(--font-secondary);
      font-size: var(--text-xs);
      font-weight: var(--weight-semibold);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--text-body);
      opacity: 0.5;
      margin-bottom: var(--space-m);
    }

    .leistungen-3__detail-list {
      display: flex;
      flex-direction: column;
      gap: var(--space-s);
      list-style: none;
    }

    .leistungen-3__detail-list li {
      display: flex;
      align-items: center;
      gap: var(--space-xs);
      font-family: var(--font-secondary);
      font-size: var(--text-s);
      color: var(--text-body);
    }

    .leistungen-3__detail-list li svg {
      flex-shrink: 0;
      color: var(--success);
    }

    /* HOAI Note */
    .leistungen-3__note {
      display: flex;
      align-items: center;
      gap: var(--space-s);
      margin-top: var(--space-3xl);
      padding-top: var(--space-xl);
      border-top: 1px solid var(--border-primary);
      font-family: var(--font-secondary);
      font-size: var(--text-s);
      color: var(--text-body);
      opacity: 0.6;
      justify-content: center;
    }

    /* Tablet */
    @container leistungen-3 (max-width: 768px) {
      .leistungen-3__panel-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
      }

      .leistungen-3__tab {
        padding: var(--space-s) var(--space-m);
        font-size: var(--text-xs);
      }
    }

    /* Mobile Large */
    @container leistungen-3 (max-width: 640px) {
      .leistungen-3__tabs {
        gap: 0;
      }

      .leistungen-3__tab span {
        display: none;
      }

      .leistungen-3__tab {
        padding: var(--space-m);
        justify-content: center;
        flex: 1;
      }

      .leistungen-3__panel-title {
        font-size: var(--text-xl);
      }
    }

    /* Mobile */
    @container leistungen-3 (max-width: 480px) {
      .leistungen-3__panel-text {
        font-size: var(--text-s);
      }

      .leistungen-3__panel-details {
        padding: var(--space-l);
      }
    }

.projekte-hesa {
                container-type: inline-size;
                container-name: projekte-hesa;
            }

            /* Filter Tabs */
            .projekte-hesa__filters {
                display: flex;
                align-items: center;
                gap: var(--space-xs);
                margin-bottom: var(--space-2xl);
                flex-wrap: wrap;
            }

            .projekte-hesa__filter {
                padding: var(--space-2xs) var(--space-m);
                font-family: var(--font-secondary);
                font-size: var(--text-s);
                font-weight: var(--weight-medium);
                color: var(--text-body);
                background: transparent;
                border: 1px solid var(--border-primary);
                border-radius: var(--radius-full);
                cursor: pointer;
                transition: all 0.25s ease;
            }

            .projekte-hesa__filter:hover {
                border-color: var(--primary-40);
                color: var(--primary);
            }

            .projekte-hesa__filter.is-active {
                background: var(--primary);
                color: var(--always-light);
                border-color: var(--primary);
            }

            /* Project Grid */
            .projekte-hesa__grid {
                display: grid;
                grid-template-columns: repeat(3, 1fr);
                gap: var(--space-m);
            }

            .projekte-hesa__item {
                position: relative;
                border-radius: var(--radius-m);
                overflow: hidden;
                aspect-ratio: 4/3;
                cursor: pointer;
                transition:
                    opacity 0.4s ease,
                    transform 0.4s ease;
                /* Button reset (element is <button>) */
                appearance: none;
                background: transparent;
                border: 0;
                padding: 0;
                margin: 0;
                font: inherit;
                color: inherit;
                text-align: left;
                width: 100%;
                display: block;
            }

            .projekte-hesa__item:focus-visible {
                outline: 2px solid var(--primary);
                outline-offset: 3px;
            }

            .projekte-hesa__item.is-hidden {
                display: none;
            }

            .projekte-hesa__item-image {
                width: 100%;
                height: 100%;
            }

            .projekte-hesa__item-image img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                transition: transform 0.5s ease;
            }

            .projekte-hesa__item:hover .projekte-hesa__item-image img {
                transform: scale(1.06);
            }

            .projekte-hesa__item-overlay {
                position: absolute;
                inset: 0;
                display: flex;
                flex-direction: column;
                justify-content: flex-end;
                padding: var(--space-l);
                background: linear-gradient(
                    to top,
                    oklch(0 0 0 / 0.75) 0%,
                    oklch(0 0 0 / 0.3) 50%,
                    oklch(0 0 0 / 0.05) 100%
                );
                transition: background 0.3s ease;
            }

            .projekte-hesa__item:hover .projekte-hesa__item-overlay {
                background: linear-gradient(
                    to top,
                    oklch(0.2 0.1 24 / 0.85) 0%,
                    oklch(0.2 0.08 24 / 0.4) 50%,
                    oklch(0 0 0 / 0.05) 100%
                );
            }

            .projekte-hesa__item-category {
                font-family: var(--font-secondary);
                font-size: var(--text-xs);
                font-weight: var(--weight-semibold);
                text-transform: uppercase;
                letter-spacing: 0.06em;
                color: oklch(1 0 0 / 0.7);
                margin-bottom: var(--space-3xs);
            }

            .projekte-hesa__item-title {
                font-family: var(--font-primary);
                font-size: var(--text-l);
                font-weight: var(--weight-semibold);
                color: var(--always-light);
                line-height: 1.3;
            }

            .projekte-hesa__item-subtitle {
                font-family: var(--font-secondary);
                font-size: var(--text-s);
                color: oklch(1 0 0 / 0.65);
                margin-top: var(--space-3xs);
            }

            /* Load More */
            .projekte-hesa__load-more-wrap {
                display: flex;
                justify-content: center;
                margin-top: var(--space-2xl);
            }

            .projekte-hesa__load-more {
                gap: var(--space-xs);
            }

            .projekte-hesa__load-more i,
            .projekte-hesa__load-more svg {
                width: 1em;
                height: 1em;
            }

            /* Client Logos */
            .projekte-hesa__clients {
                margin-top: var(--space-4xl);
                padding-top: var(--space-2xl);
                border-top: 1px solid var(--border-primary);
                text-align: center;
            }

            .projekte-hesa__clients-label {
                font-family: var(--font-secondary);
                font-size: var(--text-s);
                font-weight: var(--weight-medium);
                color: var(--text-body);
                opacity: 0.6;
                text-transform: uppercase;
                letter-spacing: 0.08em;
                margin-bottom: var(--space-xl);
            }

            .projekte-hesa__clients-logos {
                display: flex;
                align-items: center;
                justify-content: center;
                gap: var(--space-3xl);
                flex-wrap: wrap;
            }

            .projekte-hesa__client-link {
                display: inline-flex;
                align-items: center;
                text-decoration: none;
                line-height: 0;
            }

            .projekte-hesa__client-logo {
                height: 3.6rem;
                width: auto;
                max-width: 12rem;
                object-fit: contain;
                filter: grayscale(100%);
                opacity: 0.5;
                transition:
                    filter 0.3s ease,
                    opacity 0.3s ease;
            }

            .projekte-hesa__client-logo:hover,
            .projekte-hesa__client-link:hover .projekte-hesa__client-logo,
            .projekte-hesa__client-link:focus-visible .projekte-hesa__client-logo {
                filter: grayscale(0%);
                opacity: 1;
            }

            /* Modal */
            .projekte-hesa__modal {
                position: fixed;
                inset: 0;
                z-index: 1000;
                display: flex;
                align-items: center;
                justify-content: center;
                padding: var(--space-xl);
                opacity: 0;
                visibility: hidden;
                transition:
                    opacity 0.3s ease,
                    visibility 0.3s ease;
            }

            .projekte-hesa__modal.is-open {
                opacity: 1;
                visibility: visible;
            }

            .projekte-hesa__modal-backdrop {
                position: absolute;
                inset: 0;
                background: oklch(0 0 0 / 0.7);
                backdrop-filter: blur(8px);
            }

            .projekte-hesa__modal-content {
                position: relative;
                display: flex;
                max-width: 120rem;
                width: 100%;
                height: 80vh;
                background: var(--bg-surface);
                border-radius: var(--radius-l);
                overflow: hidden;
                box-shadow: 0 25px 80px oklch(0 0 0 / 0.35);
                transform: translateY(2rem) scale(0.96);
                transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            }

            .projekte-hesa__modal.is-open .projekte-hesa__modal-content {
                transform: translateY(0) scale(1);
            }

            .projekte-hesa__modal-close {
                position: absolute;
                top: var(--space-m);
                right: var(--space-m);
                z-index: 2;
                width: 3rem;
                height: 3rem;
                display: flex;
                align-items: center;
                justify-content: center;
                background: var(--bg-surface);
                border: 1px solid var(--border-primary);
                border-radius: var(--radius-full);
                cursor: pointer;
                color: var(--text-body);
                transition:
                    background 0.2s ease,
                    color 0.2s ease;
            }

            .projekte-hesa__modal-close:hover {
                background: var(--primary);
                color: var(--always-light);
                border-color: var(--primary);
            }

            .projekte-hesa__modal-close svg {
                width: 1.25rem;
                height: 1.25rem;
            }

            .projekte-hesa__modal-carousel {
                flex: 0 0 55%;
                position: relative;
                overflow: hidden;
                background: oklch(0.15 0 0);
            }

            .projekte-hesa__modal-slides {
                display: flex;
                height: 100%;
                transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
            }

            .projekte-hesa__modal-slide {
                flex: 0 0 100%;
                height: 100%;
                position: relative;
            }

            .projekte-hesa__modal-slide img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }

            .projekte-hesa__modal-slide-source {
                position: absolute;
                bottom: var(--space-m);
                right: var(--space-m);
                font-family: var(--font-secondary);
                font-size: var(--text-xs);
                color: oklch(1 0 0 / 0.75);
                background: oklch(0 0 0 / 0.5);
                backdrop-filter: blur(4px);
                padding: var(--space-3xs) var(--space-xs);
                border-radius: var(--radius-s);
                line-height: 1.3;
                max-width: 70%;
                pointer-events: none;
            }

            .projekte-hesa__modal-arrow {
                position: absolute;
                top: 50%;
                transform: translateY(-50%);
                width: 2.75rem;
                height: 2.75rem;
                display: flex;
                align-items: center;
                justify-content: center;
                background: oklch(1 0 0 / 0.85);
                border: none;
                border-radius: var(--radius-full);
                cursor: pointer;
                color: oklch(0.2 0 0);
                box-shadow: 0 2px 12px oklch(0 0 0 / 0.2);
                transition: background 0.2s ease, transform 0.2s ease;
                z-index: 2;
            }

            .projekte-hesa__modal-arrow:hover {
                background: var(--always-light);
                transform: translateY(-50%) scale(1.08);
            }

            .projekte-hesa__modal-arrow svg {
                width: 1.25rem;
                height: 1.25rem;
            }

            .projekte-hesa__modal-arrow--prev {
                left: var(--space-m);
            }

            .projekte-hesa__modal-arrow--next {
                right: var(--space-m);
            }

            .projekte-hesa__modal-arrow[hidden] {
                display: none;
            }

            .projekte-hesa__modal-dots {
                position: absolute;
                bottom: var(--space-m);
                left: 50%;
                transform: translateX(-50%);
                display: flex;
                gap: var(--space-xs);
                z-index: 2;
            }

            .projekte-hesa__modal-dots[hidden] {
                display: none;
            }

            .projekte-hesa__modal-dot {
                width: 0.5rem;
                height: 0.5rem;
                border-radius: var(--radius-full);
                background: oklch(1 0 0 / 0.4);
                border: none;
                padding: 0;
                cursor: pointer;
                transition: background 0.2s ease, transform 0.2s ease;
            }

            .projekte-hesa__modal-dot.is-active {
                background: var(--always-light);
                transform: scale(1.3);
            }

            .projekte-hesa__modal-body {
                flex: 1;
                padding: var(--space-2xl) var(--space-xl);
                overflow-y: auto;
                display: flex;
                flex-direction: column;
                justify-content: center;
                gap: var(--space-m);
            }

            .projekte-hesa__modal-badge {
                align-self: flex-start;
            }

            .projekte-hesa__modal-title {
                font-family: var(--font-primary);
                font-size: var(--text-2xl);
                font-weight: var(--weight-bold);
                color: var(--text-heading);
                line-height: 1.2;
            }

            .projekte-hesa__modal-subtitle {
                font-family: var(--font-secondary);
                font-size: var(--text-l);
                color: var(--text-body);
                opacity: 0.7;
            }

            .projekte-hesa__modal-description {
                font-family: var(--font-secondary);
                font-size: var(--text-base);
                color: var(--text-body);
                line-height: 1.75;
            }

            .projekte-hesa__modal-details {
                display: flex;
                flex-direction: column;
                gap: var(--space-s);
                margin-top: var(--space-s);
                padding-top: var(--space-l);
                border-top: 1px solid var(--border-primary);
            }

            .projekte-hesa__modal-detail {
                display: flex;
                gap: var(--space-m);
            }

            .projekte-hesa__modal-detail-label {
                font-family: var(--font-secondary);
                font-size: var(--text-s);
                font-weight: var(--weight-semibold);
                color: var(--text-heading);
                min-width: 8rem;
                flex-shrink: 0;
            }

            .projekte-hesa__modal-detail-value {
                font-family: var(--font-secondary);
                font-size: var(--text-s);
                color: var(--text-body);
            }

            /* Modal responsive */
            @media (max-width: 900px) {
                .projekte-hesa__modal {
                    padding: 0;
                }

                .projekte-hesa__modal-content {
                    flex-direction: column;
                    height: 100vh;
                    max-width: 100%;
                    border-radius: 0;
                }

                .projekte-hesa__modal-carousel {
                    flex: 0 0 auto;
                    height: 40vh;
                }

                .projekte-hesa__modal-body {
                    padding: var(--space-xl);
                    justify-content: flex-start;
                }

                .projekte-hesa__modal-title {
                    font-size: var(--text-xl);
                }
            }

            /* Tablet Large */
            @container projekte-hesa (max-width: 968px) {
                .projekte-hesa__grid {
                    grid-template-columns: repeat(2, 1fr);
                }

                .projekte-hesa__clients-logos {
                    gap: var(--space-xl);
                }

                .projekte-hesa__client-logo {
                    height: 3rem;
                }
            }

            /* Mobile Large */
            @container projekte-hesa (max-width: 640px) {
                .projekte-hesa__filters {
                    gap: var(--space-2xs);
                }

                .projekte-hesa__filter {
                    font-size: var(--text-xs);
                    padding: var(--space-3xs) var(--space-s);
                }

                .projekte-hesa__grid {
                    grid-template-columns: 1fr;
                }

                .projekte-hesa__item {
                    aspect-ratio: 16/10;
                }

                .projekte-hesa__clients-logos {
                    gap: var(--space-l);
                }

                .projekte-hesa__client-logo {
                    height: 2.4rem;
                }
            }

.fp-portrait {
      container-type: inline-size;
      container-name: fp-portrait;
    }

    /* Hero: Photo + Intro */
    .fp-portrait__hero {
      display: grid;
      grid-template-columns: 38rem 1fr;
      gap: var(--space-5xl);
      align-items: start;
      margin-bottom: var(--space-6xl);
    }

    /* Photo */
    .fp-portrait__photo-wrap {
      position: relative;
      border-radius: var(--radius-m);
      overflow: hidden;
    }

    .fp-portrait__photo {
      width: 100%;
      display: block;
      aspect-ratio: 3 / 4;
      object-fit: cover;
      object-position: top center;
    }

    .fp-portrait__photo-accent {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      height: 0.4rem;
      background: var(--primary);
    }

    .fp-portrait__photo-caption {
      display: flex;
      flex-direction: column;
      gap: var(--space-4xs);
      margin-top: var(--space-m);
    }

    .fp-portrait__caption-name {
      font-family: var(--font-primary);
      font-size: var(--text-m);
      font-weight: var(--weight-medium);
      color: var(--text-title);
    }

    .fp-portrait__caption-role {
      font-family: var(--font-secondary);
      font-size: var(--text-s);
      color: var(--primary);
      font-weight: var(--weight-medium);
    }

    /* Intro */
    .fp-portrait__intro {
      padding-top: var(--space-l);
    }

    .fp-portrait__overline {
      display: inline-block;
      font-family: var(--font-secondary);
      font-size: var(--text-xs);
      font-weight: var(--weight-semibold);
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--primary);
      margin-bottom: var(--space-l);
    }

    .fp-portrait__title {
      font-size: var(--text-3xl);
      font-weight: var(--weight-medium);
      line-height: 1.15;
      color: var(--text-title);
      margin-bottom: var(--space-xl);
      letter-spacing: -0.01em;
    }

    .fp-portrait__lead {
      font-family: var(--font-secondary);
      font-size: var(--text-l);
      line-height: 1.65;
      color: var(--text-body);
      margin-bottom: var(--space-l);
    }

    .fp-portrait__text {
      font-family: var(--font-secondary);
      font-size: var(--text-m);
      line-height: 1.7;
      color: var(--text-body);
      margin-bottom: var(--space-l);
    }

    .fp-portrait__more > .fp-portrait__text:last-child {
      margin-bottom: 0;
    }

    /* Read-more toggle */
    .fp-portrait__more-toggle {
      display: inline-flex;
      align-items: center;
      gap: var(--space-2xs);
      margin-top: var(--space-m);
      margin-bottom: var(--space-2xl);
      padding: 0;
      background: none;
      border: none;
      font-family: var(--font-primary);
      font-size: var(--text-s);
      font-weight: var(--weight-semibold);
      color: var(--primary);
      letter-spacing: 0.02em;
      cursor: pointer;
      transition: color 0.2s ease;
    }

    .fp-portrait__more-toggle:hover {
      color: var(--text-title);
    }

    .fp-portrait__more-toggle:focus-visible {
      outline: 2px solid var(--primary);
      outline-offset: 4px;
      border-radius: 2px;
    }

    .fp-portrait__more-toggle-icon {
      width: 1.6rem;
      height: 1.6rem;
      transition: transform 0.25s ease;
    }

    .fp-portrait__more-toggle[aria-expanded="true"] .fp-portrait__more-toggle-icon {
      transform: rotate(180deg);
    }

    /* Quick facts */
    .fp-portrait__quick-facts {
      display: flex;
      flex-wrap: wrap;
      gap: var(--space-l);
      padding-top: var(--space-xl);
      border-top: 1px solid var(--border-primary);
    }

    .fp-portrait__fact {
      display: flex;
      align-items: center;
      gap: var(--space-2xs);
      font-family: var(--font-secondary);
      font-size: var(--text-s);
      color: var(--text-body);
      font-weight: var(--weight-medium);
    }

    .fp-portrait__fact svg {
      color: var(--primary);
    }


    .fp-portrait__value {
      padding: var(--space-xl);
      border: 1px solid var(--border-primary);
      border-radius: var(--radius-m);
      transition: border-color 0.3s ease, box-shadow 0.3s ease;
    }

    .fp-portrait__value:hover {
      border-color: var(--primary-30);
      box-shadow: var(--shadow-m);
    }

    .fp-portrait__value-icon {
      width: 2.4rem;
      height: 2.4rem;
      color: var(--primary);
      margin-bottom: var(--space-l);
    }

    .fp-portrait__value-title {
      font-family: var(--font-primary);
      font-size: var(--text-m);
      font-weight: var(--weight-semibold);
      color: var(--text-title);
      margin-bottom: var(--space-xs);
    }

    .fp-portrait__value-text {
      font-family: var(--font-secondary);
      font-size: var(--text-s);
      line-height: 1.65;
      color: var(--text-body);
    }

    /* Tablet Large */
    @container fp-portrait (max-width: 968px) {
      .fp-portrait__hero {
        grid-template-columns: 30rem 1fr;
        gap: var(--space-3xl);
      }

      .fp-portrait__title {
        font-size: var(--text-2xl);
      }

      .fp-portrait__values.grid--4 {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    /* Tablet */
    @container fp-portrait (max-width: 768px) {
      .fp-portrait__hero {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
      }

      .fp-portrait__photo-col {
        max-width: 36rem;
      }

      .fp-portrait__photo {
        aspect-ratio: 4 / 3;
      }

      .fp-portrait__values.grid--4 {
        grid-template-columns: repeat(2, 1fr);
      }

    }

    /* Mobile Large */
    @container fp-portrait (max-width: 640px) {
      .fp-portrait__title {
        font-size: var(--text-xl);
      }

      .fp-portrait__lead {
        font-size: var(--text-m);
      }

      .fp-portrait__quick-facts {
        flex-direction: column;
        gap: var(--space-s);
      }

      .fp-portrait__values.grid--4 {
        grid-template-columns: 1fr;
      }

    }

    /* Mobile */
    @container fp-portrait (max-width: 480px) {
      .fp-portrait__hero {
        gap: var(--space-xl);
      }

      .fp-portrait__title {
        font-size: var(--text-l);
      }

      .fp-portrait__value {
        padding: var(--space-l);
      }
    }

.karriere-stellen {
      container-type: inline-size;
      container-name: karriere-stellen;
    }

    .karriere-stellen__list {
      display: flex;
      flex-direction: column;
      gap: var(--space-m);
    }

    /* Job Card */
    .karriere-stellen__job {
      border: 1px solid var(--border-primary);
      border-radius: var(--radius-m);
      overflow: hidden;
      transition: border-color 0.3s ease, box-shadow 0.3s ease;
    }

    .karriere-stellen__job:hover {
      border-color: var(--primary-30);
    }

    .karriere-stellen__job.is-open {
      border-color: var(--primary-30);
      box-shadow: 0 4px 24px var(--primary-10);
    }

    /* Job Header (clickable) */
    .karriere-stellen__job-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      padding: var(--space-xl);
      background: none;
      border: none;
      cursor: pointer;
      text-align: left;
      gap: var(--space-l);
      transition: background 0.2s ease;
    }

    .karriere-stellen__job-header:hover {
      background: none;
    }

    .karriere-stellen__job-info {
      display: flex;
      flex-direction: column;
      gap: var(--space-xs);
    }

    .karriere-stellen__job-badges {
      display: flex;
      gap: var(--space-2xs);
      flex-wrap: wrap;
    }

    .karriere-stellen__job-title {
      font-family: var(--font-primary);
      font-size: var(--text-xl);
      color: var(--text-title);
      font-weight: var(--weight-medium);
      margin: 0;
    }

    .karriere-stellen__job-meta {
      display: flex;
      gap: var(--space-l);
      flex-wrap: wrap;
    }

    .karriere-stellen__job-meta-item {
      display: flex;
      align-items: center;
      gap: var(--space-3xs);
      font-family: var(--font-secondary);
      font-size: var(--text-s);
      color: var(--text-body);
      opacity: 0.7;
    }

    .karriere-stellen__job-toggle-icon {
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 3.6rem;
      height: 3.6rem;
      border-radius: 50%;
      background: none;
      color: var(--text-title);
      transition: transform 0.3s ease, color 0.3s ease;
    }

    .karriere-stellen__job:hover .karriere-stellen__job-toggle-icon,
    .karriere-stellen__job.is-open .karriere-stellen__job-toggle-icon {
      color: var(--primary);
    }

    .karriere-stellen__job.is-open .karriere-stellen__job-toggle-icon {
      transform: rotate(180deg);
    }

    /* Job Body (expandable) */
    .karriere-stellen__job-body {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease;
    }

    .karriere-stellen__job.is-open .karriere-stellen__job-body {
      max-height: 80rem;
    }

    .karriere-stellen__job-content {
      padding: 0 var(--space-xl) var(--space-xl);
      display: flex;
      flex-direction: column;
      gap: var(--space-l);
      border-top: 1px solid var(--border-primary);
      padding-top: var(--space-xl);
    }

    .karriere-stellen__job-section h4 {
      font-family: var(--font-primary);
      font-size: var(--text-m);
      color: var(--text-title);
      margin-bottom: var(--space-s);
    }

    .karriere-stellen__job-actions {
      display: flex;
      gap: var(--space-m);
      flex-wrap: wrap;
      padding-top: var(--space-s);
    }

    /* Initiativbewerbung Hint */
    .karriere-stellen__hint {
      display: flex;
      align-items: center;
      gap: var(--space-l);
      margin-top: var(--space-3xl);
      padding: var(--space-xl);
      border: 1px dashed var(--primary-30);
      border-radius: var(--radius-m);
      background: var(--primary-5);
    }

    .karriere-stellen__hint-title {
      font-family: var(--font-primary);
      font-size: var(--text-m);
      font-weight: var(--weight-semibold);
      color: var(--text-title);
      margin-bottom: var(--space-3xs);
    }

    .karriere-stellen__hint-text {
      font-family: var(--font-secondary);
      font-size: var(--text-s);
      color: var(--text-body);
      line-height: 1.6;
    }

    /* Responsive */
    @container karriere-stellen (max-width: 768px) {
      .karriere-stellen__job-header {
        padding: var(--space-l);
      }

      .karriere-stellen__job-content {
        padding: 0 var(--space-l) var(--space-l);
        padding-top: var(--space-l);
      }

      .karriere-stellen__job-meta {
        gap: var(--space-s);
      }
    }

    @container karriere-stellen (max-width: 640px) {
      .karriere-stellen__job-toggle-icon {
        width: 3.2rem;
        height: 3.2rem;
      }

      .karriere-stellen__job-actions {
        flex-direction: column;
      }

      .karriere-stellen__job-actions .btn {
        width: 100%;
        justify-content: center;
      }

      .karriere-stellen__hint {
        flex-direction: column;
        text-align: center;
      }
    }

    @container karriere-stellen (max-width: 480px) {
      .karriere-stellen__job-header {
        padding: var(--space-m);
      }

      .karriere-stellen__job-content {
        padding: 0 var(--space-m) var(--space-m);
        padding-top: var(--space-m);
      }

      .karriere-stellen__job-title {
        font-size: var(--text-l);
      }
    }

.faq-accordion {
      container-type: inline-size;
      container-name: faq-accordion;
    }

    .faq-accordion__list {
      max-width: 840px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
    }

    .faq-accordion__item {
      border-bottom: 1px solid var(--border-primary);
    }

    .faq-accordion__item:first-child {
      border-top: 1px solid var(--border-primary);
    }

    .faq-accordion__trigger {
      width: 100%;
      display: flex;
      align-items: center;
      gap: var(--space-l);
      padding: var(--space-xl) 0;
      background: none;
      border: none;
      cursor: pointer;
      text-align: left;
      transition: color 0.2s ease;
    }

    .faq-accordion__trigger:hover {
      color: var(--primary);
    }

    .faq-accordion__trigger:hover .faq-accordion__number {
      color: var(--primary);
    }

    .faq-accordion__number {
      font-family: var(--font-secondary);
      font-size: var(--text-s);
      font-weight: var(--weight-semibold);
      color: var(--text-body);
      opacity: 0.35;
      min-width: 2.4rem;
      transition: color 0.2s ease, opacity 0.2s ease;
    }

    .faq-accordion__question {
      flex: 1;
      font-family: var(--font-primary);
      font-size: var(--text-l);
      font-weight: var(--weight-medium);
      color: var(--text-title);
      line-height: 1.4;
    }

    .faq-accordion__icon {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 2.4rem;
      height: 2.4rem;
      flex-shrink: 0;
      color: var(--text-body);
      opacity: 0.5;
      transition: transform 0.3s ease, opacity 0.2s ease;
    }

    .faq-accordion__icon i {
      width: 1.2rem;
      height: 1.2rem;
    }

    .faq-accordion__item.is-open .faq-accordion__icon {
      transform: rotate(45deg);
      opacity: 1;
      color: var(--primary);
    }

    .faq-accordion__item.is-open .faq-accordion__number {
      opacity: 1;
      color: var(--primary);
    }

    .faq-accordion__item.is-open .faq-accordion__question {
      color: var(--primary);
    }

    .faq-accordion__content {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .faq-accordion__answer {
      padding: 0 0 var(--space-xl) 0;
      margin-left: calc(2.4rem + var(--space-l));
    }

    .faq-accordion__answer p {
      font-family: var(--font-secondary);
      font-size: var(--text-m);
      color: var(--text-body);
      line-height: 1.7;
      opacity: 0.85;
    }

    /* Bottom CTA */
    .faq-accordion__cta {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: var(--space-xl);
      max-width: 840px;
      margin: var(--space-3xl) auto 0;
      padding-top: var(--space-2xl);
      border-top: 1px solid var(--border-primary);
    }

    .faq-accordion__cta-text {
      font-family: var(--font-secondary);
      font-size: var(--text-m);
      color: var(--text-body);
      opacity: 0.7;
    }

    /* Tablet / Small Desktop */
    @container faq-accordion (max-width: 768px) {
      .faq-accordion__trigger {
        gap: var(--space-m);
        padding: var(--space-l) 0;
      }

      .faq-accordion__question {
        font-size: var(--text-m);
      }

      .faq-accordion__answer {
        margin-left: calc(2.4rem + var(--space-m));
      }
    }

    /* Mobile Large */
    @container faq-accordion (max-width: 640px) {
      .faq-accordion__number {
        display: none;
      }

      .faq-accordion__answer {
        margin-left: 0;
      }

      .faq-accordion__cta {
        flex-direction: column;
        text-align: center;
        gap: var(--space-m);
      }
    }

    /* Mobile */
    @container faq-accordion (max-width: 480px) {
      .faq-accordion__trigger {
        padding: var(--space-m) 0;
      }

      .faq-accordion__question {
        font-size: var(--text-s);
      }

      .faq-accordion__answer p {
        font-size: var(--text-s);
      }
    }

.kontakt-wide {
      container-type: inline-size;
      container-name: kontakt-wide;
    }

    .kontakt-wide__header {
      margin-bottom: var(--space-2xl);
    }

    /* Map Section */
    .kontakt-wide__map-section {
      position: relative;
      margin: 0 var(--section-padding-x);
    }

    .kontakt-wide__map {
      width: 100%;
      height: 48rem;
      border-radius: var(--radius-m);
      overflow: hidden;
      border: 1px solid var(--border-primary);
      position: relative;
    }

    .kontakt-wide__map iframe {
      display: block;
      width: 100%;
      height: 100%;
      border: 0;
    }

    /* Click-to-load consent placeholder (DSGVO Zwei-Klick-Lösung) */
    .kontakt-wide__map-consent {
      position: absolute;
      inset: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: var(--space-xl);
      gap: var(--space-s);
      background:
        linear-gradient(135deg, oklch(0.92 0.01 200 / 0.85), oklch(0.88 0.02 220 / 0.85)),
        repeating-linear-gradient(45deg, oklch(0.95 0 0) 0 2rem, oklch(0.92 0 0) 2rem 4rem);
      color: var(--text-body);
    }

    .kontakt-wide__map-consent-icon {
      width: 4.2rem;
      height: 4.2rem;
      color: var(--primary);
      stroke-width: 1.5;
    }

    .kontakt-wide__map-consent-title {
      font-size: 1.5rem;
      font-weight: 600;
      color: var(--text-title);
      margin: 0;
    }

    .kontakt-wide__map-consent-address {
      font-size: 1rem;
      color: var(--text-body);
      max-width: 40rem;
      margin: 0;
    }

    .kontakt-wide__map-consent-note {
      font-size: 0.85rem;
      line-height: 1.5;
      color: var(--text-muted);
      max-width: 44rem;
      margin: 0 0 var(--space-xs);
    }

    .kontakt-wide__map-consent-note a {
      color: var(--primary);
      text-decoration: underline;
    }

    .kontakt-wide__map-consent-btn {
      display: inline-flex;
      align-items: center;
      gap: var(--space-2xs);
    }

    .kontakt-wide__map-consent-link {
      font-size: 0.85rem;
      color: var(--text-muted);
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: var(--space-3xs);
      margin-top: var(--space-2xs);
    }

    .kontakt-wide__map-consent-link:hover {
      color: var(--primary);
      text-decoration: underline;
    }

    /* Floating Card */
    .kontakt-wide__card {
      position: absolute;
      bottom: var(--space-xl);
      left: var(--space-xl);
      z-index: 2;
      max-width: 44rem;
      width: 100%;
    }

    .kontakt-wide__card-inner {
      background: var(--bg-surface);
      border-radius: var(--radius-m);
      padding: var(--space-xl);
      box-shadow: var(--shadow-l);
      border: 1px solid var(--border-primary);
      display: flex;
      flex-direction: column;
      gap: var(--space-l);
    }

    /* Person */
    .kontakt-wide__person {
      display: flex;
      align-items: center;
      gap: var(--space-m);
    }

    .kontakt-wide__person-img {
      width: 5.6rem;
      height: 5.6rem;
      border-radius: var(--radius-full);
      object-fit: cover;
      object-position: center 20%;
      border: 2px solid var(--border-primary);
      flex-shrink: 0;
    }

    .kontakt-wide__person-text {
      display: flex;
      flex-direction: column;
      gap: var(--space-4xs);
    }

    .kontakt-wide__person-text strong {
      font-family: var(--font-primary);
      font-size: var(--text-l);
      font-weight: var(--weight-semibold);
      color: var(--text-title);
    }

    .kontakt-wide__person-text span {
      font-family: var(--font-secondary);
      font-size: var(--text-s);
      color: var(--text-body);
      opacity: 0.65;
    }

    .kontakt-wide__card-divider {
      height: 1px;
      background: var(--border-primary);
    }

    /* Details */
    .kontakt-wide__details {
      display: flex;
      flex-direction: column;
      gap: var(--space-s);
    }

    .kontakt-wide__detail {
      display: flex;
      align-items: center;
      gap: var(--space-s);
      font-family: var(--font-secondary);
      font-size: var(--text-s);
      color: var(--text-body);
      text-decoration: none;
      transition: color 0.2s ease;
    }

    a.kontakt-wide__detail:hover {
      color: var(--primary);
    }

    .kontakt-wide__detail .lucide {
      color: var(--primary);
      flex-shrink: 0;
    }

    .kontakt-wide__ctas {
      display: flex;
      flex-direction: column;
      gap: var(--space-s);
    }

    .kontakt-wide__cta-btn {
      width: 100%;
      justify-content: center;
    }

    /* Accreditations */
    .kontakt-wide__accreditations {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: var(--space-2xl);
      margin-top: var(--space-3xl);
      padding-top: var(--space-2xl);
      border-top: 1px solid var(--border-primary);
      flex-wrap: wrap;
    }

    .kontakt-wide__accreditation {
      display: flex;
      align-items: center;
      gap: var(--space-xs);
      font-family: var(--font-secondary);
      font-size: var(--text-s);
      font-weight: var(--weight-medium);
      color: var(--text-body);
      opacity: 0.7;
    }

    .kontakt-wide__accreditation .lucide-sm {
      color: var(--primary);
      opacity: 1;
    }

    /* Tablet */
    @container kontakt-wide (max-width: 968px) {
      .kontakt-wide__map {
        height: 42rem;
      }

      .kontakt-wide__card {
        max-width: 40rem;
      }
    }

    /* Tablet / stack */
    @container kontakt-wide (max-width: 768px) {
      .kontakt-wide__map {
        height: 36rem;
      }

      .kontakt-wide__card {
        position: relative;
        bottom: auto;
        left: auto;
        max-width: 100%;
        margin: calc(-1 * var(--space-3xl)) var(--space-m) 0;
      }

      .kontakt-wide__accreditations {
        gap: var(--space-l);
      }
    }

    /* Mobile Large */
    @container kontakt-wide (max-width: 640px) {
      .kontakt-wide__map-section {
        margin: 0;
      }

      .kontakt-wide__map {
        border-radius: 0;
        height: 30rem;
      }

      .kontakt-wide__card {
        margin: calc(-1 * var(--space-2xl)) var(--space-s) 0;
      }

      .kontakt-wide__accreditation {
        flex-basis: calc(50% - var(--space-l));
        justify-content: center;
      }
    }

    /* Mobile */
    @container kontakt-wide (max-width: 480px) {
      .kontakt-wide__map {
        height: 24rem;
      }

      .kontakt-wide__card-inner {
        padding: var(--space-l);
      }

      .kontakt-wide__accreditation {
        flex-basis: 100%;
      }
    }

.footer-primary {
      container-type: inline-size;
      container-name: footer-primary;
      background: var(--primary);
      padding: var(--space-3xl) var(--section-padding-x) var(--space-xl);
      --_text: oklch(1 0 0);
      --_text-soft: oklch(1 0 0 / 0.72);
      --_border: oklch(1 0 0 / 0.18);
      --_hover: oklch(1 0 0);
    }

    .footer-primary__top {
      display: grid;
      grid-template-columns: 1.2fr 1fr 1fr;
      gap: var(--space-2xl);
      align-items: start;
    }

    .footer-primary__brand {
      display: flex;
      flex-direction: column;
      gap: var(--space-m);
    }

    .footer-primary__logo {
      height: 12rem;
      width: auto;
      object-fit: contain;
      object-position: left;
    }

    .footer-primary__tagline {
      font-size: var(--text-s);
      color: var(--_text-soft);
      line-height: 1.6;
    }

    .footer-primary__col-title {
      font-family: var(--font-secondary);
      font-size: var(--text-xs);
      font-weight: var(--weight-semibold);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--_text-soft);
      margin-bottom: var(--space-m);
    }

    .footer-primary__nav-list {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      flex-direction: column;
      gap: var(--space-s);
    }

    .footer-primary__nav-link {
      font-size: var(--text-base);
      font-weight: var(--font-medium);
      color: var(--_text);
      text-decoration: none;
      transition: opacity 0.2s ease;
    }

    .footer-primary__nav-link:hover {
      opacity: 0.75;
    }

    .footer-primary__contact {
      display: flex;
      flex-direction: column;
      gap: var(--space-s);
    }

    .footer-primary__contact-item {
      display: flex;
      align-items: center;
      gap: var(--space-xs);
      font-size: var(--text-s);
      color: var(--_text);
      text-decoration: none;
      transition: opacity 0.2s ease;
    }

    a.footer-primary__contact-item:hover {
      opacity: 0.75;
    }

    .footer-primary__contact-item .lucide {
      color: var(--_text-soft);
      flex-shrink: 0;
    }

    .footer-primary__divider {
      height: 1px;
      background: var(--_border);
      margin: var(--space-2xl) 0 var(--space-l);
    }

    .footer-primary__bottom {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: var(--space-m);
    }

    .footer-primary__copyright {
      font-size: var(--text-xs);
      color: var(--_text-soft);
    }

    .footer-primary__legal {
      display: flex;
      gap: var(--space-l);
    }

    .footer-primary__legal-link {
      font-size: var(--text-xs);
      color: var(--_text-soft);
      text-decoration: none;
      transition: color 0.2s ease;
    }

    .footer-primary__legal-link:hover {
      color: var(--_text);
    }

    /* Tablet */
    @container footer-primary (max-width: 768px) {
      .footer-primary__top {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
      }

      .footer-primary__brand {
        grid-column: 1 / -1;
      }
    }

    /* Mobile */
    @container footer-primary (max-width: 480px) {
      .footer-primary__top {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
      }

      .footer-primary__bottom {
        flex-direction: column;
        text-align: center;
        gap: var(--space-s);
      }
    }

/* ============================================================
   Legal Pages (Impressum, Datenschutz)
   ============================================================ */

.legal-page {
  margin-top: var(--space-3xl);
  padding-top: var(--space-4xl);
  padding-bottom: var(--space-4xl);
}

.legal-page__container {
  max-width: 800px;
}

.legal-page__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: var(--space-xl);
  color: var(--text-heading);
}

.legal-page__content h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-s);
  color: var(--text-heading);
}

.legal-page__content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: var(--space-l);
  margin-bottom: var(--space-xs);
  color: var(--text-heading);
}

.legal-page__content p {
  margin-bottom: var(--space-m);
  line-height: 1.7;
  color: var(--text-body);
}

.legal-page__content a {
  color: var(--primary);
  text-decoration: underline;
}

.legal-page__content em {
  color: var(--text-muted);
}

/* ============================================================
   404 Error Page
   ============================================================ */

.error-page {
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
}

.error-page__container {
  max-width: 600px;
  text-align: center;
}

.error-page__code {
  display: block;
  font-size: clamp(5rem, 12vw, 8rem);
  font-weight: 800;
  line-height: 1;
  color: var(--border);
  margin-bottom: var(--space-m);
}

.error-page__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-s);
  color: var(--text-heading);
}

.error-page__text {
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
}

.error-page__actions {
  display: flex;
  gap: var(--space-m);
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   Project Image Placeholder
   ============================================================ */

.projekte-hesa__item-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-subtle, #f1f5f9);
  color: var(--text-muted, #94a3b8);
}

.projekte-hesa__item-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.4;
}

/* ============================================================
   Project Modal
   ============================================================ */

.project-modal[hidden] {
  display: none;
}

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-l);
  animation: project-modal-fade-in 0.2s ease;
}

.project-modal__backdrop {
  position: absolute;
  inset: 0;
  background: oklch(0.15 0.04 240 / 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.project-modal__dialog {
  position: relative;
  background: var(--bg-surface);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-l);
  width: 100%;
  max-width: 88rem;
  max-height: calc(100vh - 4rem);
  overflow-y: auto;
  animation: project-modal-pop 0.25s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}

.project-modal__close {
  position: absolute;
  top: var(--space-s);
  right: var(--space-s);
  z-index: 2;
  width: 4rem;
  height: 4rem;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-primary);
  color: var(--text-body);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-s);
  transition: background 0.2s ease, color 0.2s ease;
}

.project-modal__close:hover {
  background: var(--primary);
  color: var(--always-light);
  border-color: var(--primary);
}

.project-modal__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--bg-subtle, #f1f5f9);
  overflow: hidden;
  border-top-left-radius: var(--radius-l);
  border-top-right-radius: var(--radius-l);
}

.project-modal__carousel {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.project-modal__carousel[hidden] { display: none !important; }

.project-modal__track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1);
  will-change: transform;
}

.project-modal__slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  margin: 0;
  position: relative;
  overflow: hidden;
}

.project-modal__slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.project-modal__credit {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  max-width: calc(100% - 1.5rem);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.7);
  color: #fff;
  font-family: var(--font-secondary);
  font-size: 0.85rem;
  line-height: 1.3;
  letter-spacing: 0.01em;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-modal__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  border: none;
  background: rgba(15, 23, 42, 0.55);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2;
}

.project-modal__nav:hover       { background: rgba(15, 23, 42, 0.8); }
.project-modal__nav:active      { transform: translateY(-50%) scale(0.96); }
.project-modal__nav[hidden]     { display: none !important; }
.project-modal__nav--prev       { left: 0.75rem; }
.project-modal__nav--next       { right: 0.75rem; }
.project-modal__nav svg         { width: 1.25rem; height: 1.25rem; }

.project-modal__counter {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.6);
  color: #fff;
  font-family: var(--font-secondary);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.04em;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2;
}

.project-modal__counter[hidden] { display: none !important; }

.project-modal__dots {
  position: absolute;
  left: 50%;
  bottom: 0.75rem;
  transform: translateX(-50%);
  display: inline-flex;
  gap: 0.4rem;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2;
}

.project-modal__dots[hidden] { display: none !important; }

.project-modal__dot {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}

.project-modal__dot:hover       { background: rgba(255, 255, 255, 0.8); }
.project-modal__dot.is-active   { background: #fff; transform: scale(1.15); }

.project-modal__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted, #94a3b8);
}

.project-modal__placeholder svg {
  width: 64px;
  height: 64px;
  opacity: 0.4;
}

@media (prefers-reduced-motion: reduce) {
  .project-modal__track { transition: none; }
}

.project-modal__body {
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-s);
}

.project-modal__category {
  font-family: var(--font-secondary);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
}

.project-modal__title {
  font-family: var(--font-primary);
  font-size: var(--text-2xl);
  font-weight: var(--weight-semibold);
  color: var(--text-title);
  line-height: 1.2;
}

.project-modal__subtitle {
  font-family: var(--font-secondary);
  font-size: var(--text-m);
  color: var(--text-body);
  opacity: 0.75;
}

.project-modal__meta {
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: var(--space-m);
  row-gap: 0.5rem;
  margin: 0;
  padding: 0;
  font-family: var(--font-secondary);
  font-size: var(--text-s, 0.9rem);
  line-height: 1.5;
}

.project-modal__meta[hidden] { display: none !important; }

.project-modal__meta dt {
  font-weight: var(--weight-semibold);
  color: var(--text-title);
  letter-spacing: 0.01em;
}

.project-modal__meta dt::after {
  content: ':';
}

.project-modal__meta dd {
  margin: 0;
  color: var(--text-body);
}

@media (max-width: 600px) {
  .project-modal__meta {
    grid-template-columns: 1fr;
    row-gap: 0.2rem;
  }
  .project-modal__meta dt {
    margin-top: 0.4rem;
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.7;
  }
  .project-modal__meta dt::after { content: ''; }
  .project-modal__meta dt:first-child { margin-top: 0; }
}

.project-modal__divider {
  height: 1px;
  background: var(--border-primary);
  margin-block: var(--space-xs);
}

.project-modal__description {
  font-family: var(--font-secondary);
  font-size: var(--text-m);
  color: var(--text-body);
  line-height: 1.7;
}

.project-modal__description:empty::before {
  content: 'Detailbeschreibung folgt in Kürze.';
  opacity: 0.55;
  font-style: italic;
}

@media (max-width: 600px) {
  .project-modal {
    padding: 0;
  }
  .project-modal__dialog {
    max-height: 100vh;
    height: 100vh;
    border-radius: 0;
  }
  .project-modal__media {
    border-radius: 0;
  }
  .project-modal__body {
    padding: var(--space-l);
  }
}

body.project-modal-open {
  overflow: hidden;
}

@keyframes project-modal-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes project-modal-pop {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .project-modal,
  .project-modal__dialog {
    animation: none;
  }
}
