/* ==========================================================================
   FONTS
   ========================================================================== */
@font-face {
    font-family: "Archivo";
    src: url("../fonts/archivo-v25-latin-300.a6636d15c24f.woff2") format("woff2");
    font-style: normal;
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: "Archivo";
    src: url("../fonts/archivo-v25-latin-regular.9246d621d7f0.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Archivo";
    src: url("../fonts/archivo-v25-latin-500.562c73adab45.woff2") format("woff2");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "Archivo";
    src: url("../fonts/archivo-v25-latin-600.7ab89eedd1b0.woff2") format("woff2");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: "Archivo";
    src: url("../fonts/archivo-v25-latin-700.8574a5d7eebc.woff2") format("woff2");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: "Archivo";
    src: url("../fonts/archivo-v25-latin-800.fbd292f0a665.woff2") format("woff2");
    font-style: normal;
    font-weight: 800;
    font-display: swap;
}

/* ==========================================================================
   DESIGN TOKENS
   ========================================================================== */

:root {
    --qe-purple: #9F1167;
    --qe-cyan: #0EFFFF;
    --qe-green: #ABFE00;

     --qe-gray: #666666;

    --qe-black: #000000;
    --qe-white: #ffffff;

    --qe-font-family: "Archivo", Arial, sans-serif;
}

/* ==========================================================================
   GLOBAL / BASE
   ========================================================================== */

html,
body {
    font-family: var(--qe-font-family);
}

.text-extended {
    color: var(--qe-purple);
}

.discussion-gallery__link::after {
    content: "\00a0→";
}

/* ==========================================================================
   MARKENAUSZEICHNUNG DGQ-QUALITÄTSTAG_EXTENDED
   ========================================================================== */

.brand-extended {
    color: inherit;
    font-weight: 700;
}

.brand-extended .brand-extended__suffix {
    color: var(--qe-purple);
}

.final-cta .brand-extended {
    color: var(--qe-white);
}

.final-cta .brand-extended .brand-extended__suffix {
    color: var(--qe-white);
}

/* Markenname innerhalb der weißen CTA-Karten */
.final-cta .final-cta-card .brand-extended {
    color: var(--qe-black);
}

.final-cta .final-cta-card .brand-extended .brand-extended__suffix {
    color: var(--qe-purple);
}

/* ==========================================================================
   HEADER & DESKTOP NAVIGATION
   ========================================================================== */

.site-header {
    background: var(--qe-white);
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 2rem;

    width: min(100% - 2rem, 1440px);
    margin-inline: auto;

    min-height: 88px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.site-brand__logo {
    display: block;
    width: auto;
    height: 28px;
}

.site-nav {
    margin-left: auto;
}

.site-nav__list,
.mobile-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav__list {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.site-nav__link,
.site-header__dgq-link {
    color: var(--qe-black);
    font-size: 1.125rem; /* 18 px */
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
}

.site-nav__link.is-active {
    color: var(--qe-purple);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.35rem;
}

.site-nav__link:hover,
.site-nav__link:focus-visible,
.site-header__dgq-link:hover,
.site-header__dgq-link:focus-visible {
    color: var(--qe-purple);
}

.site-header__dgq-link {
    margin-left: 2rem;
    color: var(--qe-purple);
}

.site-nav-toggle {
    display: none;

    width: 44px;
    height: 44px;

    padding: 0;
    border: 0;
    background: transparent;

    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;

    cursor: pointer;
}

.site-nav-toggle__line {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--qe-black);
}

/* ==========================================================================
   MOBILE NAVIGATION
   ========================================================================== */

.mobile-nav {
    display: none;
}

@media (max-width: 900px) {
    .site-header__inner {
        min-height: 72px;
    }

    .site-brand__logo {
        height: 24px;
    }

    .site-nav,
    .site-header__dgq-link {
        display: none;
    }

    .mobile-nav__link.is-active {
    color: var(--qe-purple);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.3rem;
    }

    .site-nav-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .mobile-nav {
        background: var(--qe-white);
    }

    .mobile-nav[hidden] {
        display: none;
    }

    .mobile-nav:not([hidden]) {
        display: block;
    }

    .mobile-nav__list {
        display: flex;
        flex-direction: column;
        gap: 0;

        width: min(100% - 2rem, 1440px);
        margin-inline: auto;

        padding-block: 0.5rem 1rem;
    }

    .mobile-nav__link {
        display: block;

        padding: 0.875rem 0;

        color: var(--qe-black);
        font-size: 1.125rem;
        font-weight: 500;
        text-decoration: none;
    }

    .mobile-nav__link:hover,
    .mobile-nav__link:focus-visible {
        color: var(--qe-purple);
    }

    .mobile-nav__item--external {
        margin-top: 0.5rem;
    }
}

/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */

.skip-link {
    position: absolute;
    top: 0;
    left: 1rem;
    z-index: 1000;

    padding: 0.75rem 1rem;

    background: var(--qe-black);
    color: var(--qe-white);

    transform: translateY(-120%);
    transition: transform 0.2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
    margin-top: 6rem;
    background: var(--qe-white);
    border-top: 1px solid #e6e6e6;
}

.site-footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;

    width: min(100% - 2rem, 1440px);
    margin-inline: auto;

    padding: 2.5rem 0 1rem;
}

.site-footer__brand {
    max-width: 30rem;
}

.site-footer__brand-link {
    display: inline-flex;
    align-items: center;
}

.site-footer__logo {
    display: block;
    width: auto;
    height: 24px;
}

.site-footer__text {
    margin: 1rem 0 0;

    color: #555555;
    font-size: 1rem;
    line-height: 1.6;
}

.site-footer__heading {
    margin: 0 0 1rem;

    color: var(--qe-black);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.site-footer__list {
    list-style: none;
    margin: 0;
    padding: 0;

    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.site-footer__link {
    color: var(--qe-black);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.4;
    text-decoration: none;
}

.site-footer__link:hover,
.site-footer__link:focus-visible {
    color: var(--qe-purple);
}

/* ==========================================================================
   FOOTER – MOBILE
   ========================================================================== */

@media (max-width: 900px) {

    .site-footer {
        margin-top: 4rem;
    }

    .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;

    padding: 2rem 0 0.5rem;
}

    .site-footer__brand {
        max-width: none;
    }

    .site-footer__logo {
        height: 20px;
    }

    .site-footer__text {
        margin-top: 0.75rem;

        font-size: 0.9375rem; /* 15 px */
        line-height: 1.5;
    }

    .site-footer__heading {
        margin-bottom: 0.625rem;

        font-size: 0.875rem; /* 14 px */
    }

    .site-footer__list {
        gap: 0.5rem;
    }

    .site-footer__link {
        font-size: 1rem; /* 16 px */
    }
}

/* ==========================================================================
   BREADCRUMB
   ========================================================================== */

.breadcrumb {
    background: var(--qe-white);
}

.breadcrumb__inner {
    width: min(100% - 4rem, 1440px);
    margin-inline: auto;
    padding: 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.breadcrumb__link {
    color: var(--qe-gray);
    text-decoration: none;
}

.breadcrumb__link:hover {
    color: var(--qe-purple);
}

.breadcrumb__separator {
    color: var(--qe-gray);
}

.breadcrumb__current {
    color: var(--qe-purple);
    font-weight: 600;
}

/* ==========================================================================
   BREADCRUMB Mobil
   ========================================================================== */

   @media (max-width: 900px) {
    .breadcrumb__inner {
        width: min(100% - 2rem, 1440px);
        padding: 0.8rem 0;
        font-size: 0.8rem;
    }
}

/* ==========================================================================
   HOMEPAGE – HERO
   ========================================================================== */

.home-hero {
    background: var(--qe-white);
}

.home-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(420px, 0.8fr);
    align-items: center;
    gap: 2rem;

    width: min(100% - 4rem, 1440px);
    margin-inline: auto;

    padding-block: 4rem;
}

.home-hero__content {
    min-width: 0;
}

.home-hero__brand {
    display: block;
    width: min(100%, 900px);
    height: auto;
    margin-bottom: 2rem;
}

.home-hero__motto-row {
    display: flex;
    align-items: baseline;
    gap: 1rem;

    margin-bottom: 1.75rem;
}

.home-hero__motto,
.home-hero__cycle {
    margin: 0;
    color: var(--qe-purple);
}

.home-hero__motto {
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 800;
    line-height: 1.05;
}

.home-hero__cycle {
    font-size: 1.25rem;
    font-weight: 300;
}

.home-hero__headline-row {
    display: flex;
    align-items: center;
    gap: 2rem;

    /* Linie darf über die Textspalte hinaus bis zum Bild laufen */
    width: calc(100% + 2.5rem);

    margin-bottom: 2.25rem;
}

.home-hero__headline {
    flex-shrink: 0;
    margin: 0;
    color: #333333;
    font-size: clamp(1.5rem, 2vw, 2rem);
    font-weight: 300;
    line-height: 1.25;
    letter-spacing: 0;
}

.home-hero__extend-line {
    flex: 1 1 auto;
    height: 4px;
    min-width: 80px;
    background: var(--qe-purple);
}

.home-hero__text {
    margin: 0;
    max-width: 68ch;
    color: #666666;
    font-size: 1.125rem;
    line-height: 1.6;
}

.home-hero .button {
    margin-top: 2.5rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0.65rem 2rem;
    border: 1px solid var(--qe-black);
    border-radius: 999px;
    font-family: var(--qe-font-family);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.button--primary {
    background: var(--qe-cyan);
    color: var(--qe-black);
}

.button--primary:hover {
    background: var(--qe-purple);
    color: var(--qe-white);
    border-color: var(--qe-purple);
}

.button--primary:focus-visible {
    outline: 3px solid var(--qe-purple);
    outline-offset: 3px;
}

.home-hero__media {
    width: 100%;
}

.home-hero__image {
    display: block;

    width: 100%;
    height: auto;

    aspect-ratio: 1 / 1;
    object-fit: cover;

    border-radius: 1.5rem;
}


/* ==========================================================================
   HOMEPAGE – HERO – MOBILE
   ========================================================================== */

@media (max-width: 900px) {

    .home-hero__inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;

        width: min(100% - 2rem, 1440px);
        padding-block: 2rem;
    }

    .home-hero__brand {
    width: min(100%, 360px);
    margin-bottom: 1.25rem;
    }

    .home-hero__motto-row {
        flex-wrap: wrap;
        gap: 0.35rem 0.75rem;
        margin-bottom: 0.9rem;
    }

    .home-hero__motto {
        font-size: 1.6rem;
        font-weight: 800;
    }

    .home-hero__cycle {
        font-size: 0.9rem;
        font-weight: 400;
    }

    .home-hero__headline-row {
        display: block;
        margin-bottom: 0.9rem;
    }

    .home-hero__headline {
        font-size: 1.2rem;
        line-height: 1.35;
        font-weight: 300;
    }

    .home-hero__extend-line {
        display: none;
    }

    .home-hero__text {
        margin-top: 0;
        font-size: 0.95rem;
        line-height: 1.55;
    }

    .home-hero .button {
        margin-top: 1rem;

        width: auto;
        max-width: 100%;

        min-height: 0;
        padding: 0.4rem 1.25rem;

        font-size: 0.95rem;
        line-height: 1.2;
    }

    .home-hero__image {
        aspect-ratio: 16 / 10;
        border-radius: 1rem;
    }
}

/* ==========================================================================
   HOMEPAGE – VERANSTALTUNGSÜBERSICHT
   ========================================================================== */

.event-overview {
    margin-top: 5rem;
    background: var(--qe-white);
}

.event-overview__inner {
    width: min(100% - 4rem, 1440px);
    margin-inline: auto;
    padding: 4rem 0;
}

.event-overview__header {
    max-width: 760px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.event-overview__eyebrow {
    margin: 0 0 0.5rem;

    color: var(--qe-purple);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.event-overview__heading {
    margin: 0;

    color: var(--qe-black);
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 700;
    line-height: 1.1;
}

.event-overview__intro {
    margin: 1rem auto 0;

    max-width: 60ch;

    color: #666666;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* ==========================================================================
   VERANSTALTUNGSÜBERSICHT – GRID
   ========================================================================== */

.event-overview__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}


/* Genau 1 Veranstaltung: Breite wie eine von drei Karten, mittig */

.event-overview__grid:has(> .event-card:only-child) {
    grid-template-columns: minmax(0, 1fr);
    max-width: calc((100% - 4rem) / 3);
    margin-inline: auto;
}


/* Genau 2 Veranstaltungen: zwei Karten mittig */

.event-overview__grid:has(> .event-card:first-child:nth-last-child(2)) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
    margin-inline: 0;
}

.event-card {
    display: flex;
    flex-direction: column;

    overflow: hidden;

    background: var(--qe-white);
    border: 1px solid #dddddd;
    border-radius: 1.25rem;
}

.event-card__media {
    width: 100%;
}

.event-card__image {
    display: block;

    width: 100%;
    height: auto;

    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.event-card__content {
    display: flex;
    flex-direction: column;
    flex: 1;

    padding: 1.5rem;
}

.event-card__label {
    display: inline-flex;
    align-self: flex-start;

    margin: 0 0 0.75rem;
    padding: 0.25rem 0.55rem;

    background: var(--qe-green);
    color: var(--qe-black);

    border-radius: 0.25rem;

    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1;
}

.event-card__title {
    margin: 0;

    color: var(--qe-black);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.15;
}

.event-card__meta {
    margin: 0.65rem 0 0;

    color: var(--qe-purple);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

.event-card__description {
    margin: 1rem 0 0;

    color: #666666;
    font-size: 1rem;
    line-height: 1.55;
}

.event-card__partner {
    display: flex;
    align-items: center;
    gap: 0.75rem;

    margin-top: 1rem;
}

.event-card__partner-logo {
    display: block;

    width: auto;
    max-width: 140px;
    max-height: 56px;
}

.event-card__partner-name {
    color: #555555;
    font-size: 0.95rem;
    line-height: 1.4;
}

.event-card__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;

    margin-top: auto;
    padding-top: 1.5rem;
}

.event-card__programme-link {
    color: var(--qe-purple);

    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.event-card__programme-link:hover {
    color: var(--qe-black);
}

.event-card__programme-link:focus-visible {
    outline: 3px solid var(--qe-purple);
    outline-offset: 3px;
}


/* ==========================================================================
   HOMEPAGE – VERANSTALTUNGSÜBERSICHT – MOBILE
   ========================================================================== */

@media (max-width: 900px) {

    .event-overview {
        margin-top: 3rem;
}

    .event-overview__inner {
        width: min(100% - 2rem, 1440px);
        padding-block: 3.5rem 0 2.5rem;
    }

    .event-overview__header {
        margin-bottom: 1.75rem;
        text-align: left;
    }

    .event-overview__eyebrow {
        font-size: 0.85rem;
    }

    .event-overview__heading {
        font-size: 2rem;
    }

    .event-overview__intro {
        margin-top: 0.75rem;

        font-size: 0.95rem;
    }

    .event-overview__grid,
    .event-overview__grid:has(> .event-card:only-child),
    .event-overview__grid:has(> .event-card:first-child:nth-last-child(2)) {
        grid-template-columns: 1fr;
        max-width: none;
        margin-inline: 0;
        gap: 1.5rem;
    }

    .event-card {
        border-radius: 1rem;
    }

    .event-card__actions .button {
    min-height: 0;
    padding: 0.4rem 1.25rem;
    font-size: 0.95rem;
    line-height: 1.2;
    }

    .event-card__content {
        padding: 1.25rem;
    }

    .event-card__title {
        font-size: 1.45rem;
    }

    .event-card__meta {
        font-size: 0.95rem;
    }

    .event-card__description {
        font-size: 0.95rem;
    }

    .event-card__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
    padding-top: 1.25rem;
    }

    .event-card__partner {
        align-items: flex-start;
        flex-direction: column;
    }

    .event-card__partner-logo {
        max-width: 120px;
        max-height: 48px;
    }
}
/* ==========================================================================
   HOMEPAGE – MOTTO / THEMENSCHWERPUNKTE
   ========================================================================== */

.theme-section {
    margin-top: 4rem;
    background: var(--qe-purple);
    color: var(--qe-white);
}

.theme-section__inner {
    width: min(100% - 4rem, 1440px);
    margin-inline: auto;
    padding: 5rem 0;
}


/* Header
   ========================================================================== */

.theme-section__header {
    margin-bottom: 3.5rem;
}

.theme-section__eyebrow {
    margin: 0 0 0.6rem;

    color: var(--qe-white);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.theme-section__heading {
    margin: 0;

    color: var(--qe-white);
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 700;
    line-height: 1.1;
}


/* Zweispaltiger Inhalt
   ========================================================================== */

.theme-section__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 6rem;
    align-items: start;
}


/* Linke Spalte
   ========================================================================== */

.theme-section__intro {
    max-width: 620px;
}

.theme-section__motto {
    margin: 0;

    color: var(--qe-white);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.005em;
}

.theme-section__text {
    margin: 2rem 0 0;

    color: var(--qe-white);
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.015em;
}

.theme-section__link {
    display: inline-block;
    margin-top: 1.75rem;

    color: var(--qe-cyan);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;

    transition: color 0.2s ease;
}

.theme-section__link:hover {
    color: var(--qe-white);
}

.theme-section__link:focus-visible {
    outline: 3px solid var(--qe-cyan);
    outline-offset: 4px;
}


/* Rechte Spalte – Themenschwerpunkte
   ========================================================================== */

.theme-section__topics {
    display: flex;
    flex-direction: column;
}

.theme-topic {
    display: grid;
    grid-template-columns: 3.5rem minmax(0, 1fr);
    gap: 1rem;

    padding: 0 0 1.75rem;
}

.theme-topic + .theme-topic {
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.theme-topic__number {
    color: var(--qe-green);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.theme-topic__title {
    margin: 0;

    color: var(--qe-white);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0.005em;
}

.theme-topic__text {
    margin: 0.35rem 0 0;

    color: var(--qe-white);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
}


/* ==========================================================================
   HOMEPAGE – MOTTO / THEMENSCHWERPUNKTE – MOBILE
   ========================================================================== */

@media (max-width: 900px) {

    .theme-section {
        margin-top: 3rem;
    }

    .theme-section__inner {
        width: min(100% - 2rem, 1440px);
        padding: 3.5rem 0;
    }

    .theme-section__header {
        margin-bottom: 2.5rem;
    }

    .theme-section__eyebrow {
        font-size: 0.85rem;
    }

    .theme-section__heading {
        font-size: 2rem;
    }

    .theme-section__grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .theme-section__intro {
        max-width: none;
    }

    .theme-section__motto {
        font-size: 1.45rem;
    }

    .theme-section__text {
        margin-top: 1.25rem;

        font-size: 0.95rem;
        line-height: 1.55;
    }

    .theme-section__link {
        margin-top: 1.25rem;

        font-size: 0.95rem;
    }

    .theme-topic {
        grid-template-columns: 2.75rem minmax(0, 1fr);
        gap: 0.75rem;

        padding-bottom: 1.5rem;
    }

    .theme-topic + .theme-topic {
        padding-top: 1.5rem;
    }

    .theme-topic__number {
        font-size: 1.6rem;
    }

    .theme-topic__title {
        font-size: 1.05rem;
    }

    .theme-topic__text {
        font-size: 0.95rem;
    }
}

@media (max-width: 375px) {
    .theme-section__heading {
        font-size: 1.6rem;
        overflow-wrap: normal;
        word-break: normal;
        hyphens: none;
    }
}

/* ==========================================================================
   HOMEPAGE – WAS IST EXTENDED?
   ========================================================================== */

.about-extended {
    margin-top: 3rem;
    width: 100%;
    background: #f5f5f4;
    border-top: 4px solid var(--qe-purple);
}

.about-extended__inner {
    width: min(100% - 4rem, 1440px);
    margin-inline: auto;
    padding: 4.5rem 0 5rem;
}

.about-extended__header {
    margin-bottom: 3.5rem;
}

.about-extended__heading {
    margin: 0;

    color: var(--qe-black);
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 700;
    line-height: 1.1;
}

.about-extended__intro {
    margin: 1rem 0 0;

    color: #666666;
    font-size: 1.125rem;
    line-height: 1.55;
}


/* Timeline
   ========================================================================== */

.about-extended__timeline {
    display: grid;

    /* rechts bewusst breiter für den langen extended-Titel */
    grid-template-columns:
        minmax(300px, 0.9fr)
        minmax(300px, 1.7fr)
        minmax(420px, 1.25fr);

    align-items: start;
    gap: 2rem;
}

.about-extended__point {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.about-extended__year {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    border-radius: 50%;

    background: var(--qe-purple);
    color: var(--qe-white);

    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;
}

.about-extended__point-title {
    margin: 0;

    color: var(--qe-black);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.25;
}

.about-extended__point--end .about-extended__point-title {
    color: var(--qe-purple);
    white-space: nowrap;
}

.about-extended__point-text {
    margin: 0.9rem 0 0;

    color: #666666;
    font-size: 1rem;
    line-height: 1.45;
}


/* Verbindung 2026 → 2027
   ========================================================================== */

.about-extended__connector {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;

    padding-top: 0.8rem;
}

.about-extended__connector-label {
    display: inline-block;

    margin-bottom: 0.2rem;

    color: var(--qe-purple);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
}

.about-extended__connector-line {
    display: block;

    width: 100%;
    height: 2px;

    background: var(--qe-purple);
}


/* ==========================================================================
   HOMEPAGE – WAS IST EXTENDED? – MOBILE
   ========================================================================== */

@media (max-width: 900px) {

    .about-extended {
        margin-top: 2rem;
        border-top-width: 4px;
    }

    .about-extended__inner {
        width: min(100% - 2rem, 1440px);
        padding: 3.5rem 0 2.5rem;
    }

    .about-extended__header {
        margin-bottom: 2rem;
    }

    .about-extended__heading {
        font-size: 1.75rem;
        line-height: 1.08;
    }

    .about-extended__intro {
        margin-top: 1rem;
        font-size: 0.95rem;
        line-height: 1.55;
    }

    .about-extended__timeline {
        grid-template-columns: 1fr;
        gap: 1.4rem;
    }

    .about-extended__point {
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 0.85rem;
    }

    .about-extended__year {
        width: 38px;
        height: 38px;
        font-size: 0.85rem;
    }

    .about-extended__point-title {
        font-size: 1.05rem;
        line-height: 1.25;
    }

    .about-extended__point--end .about-extended__point-title {
        white-space: normal;
    }

    .about-extended__point-text {
        margin-top: 0.45rem;
        font-size: 0.95rem;
        line-height: 1.45;
    }

    .about-extended__connector {
        position: relative;

        display: block;

        margin-left: 19px;
        padding: 0.2rem 0 0.2rem 1.1rem;
    }

    .about-extended__connector::before {
        content: "";

        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;

        width: 3px;
        background: var(--qe-purple);
    }

    .about-extended__connector-label {
        margin: 0;

        color: var(--qe-purple);
        font-size: 0.9rem;
        font-weight: 600;
        line-height: 1.3;
    }

    .about-extended__connector-line {
        display: none;
    }
}

@media (max-width: 375px) {
    .about-extended__heading {
        font-size: 1.5rem;
        overflow-wrap: normal;
        word-break: normal;
        hyphens: none;
    }
}

/* ==========================================================================
   HOMEPAGE – WAS SIE ERWARTET
   ========================================================================== */

.expectations {
    background: #f5f5f4;
}

.expectations__inner {
    width: min(100% - 4rem, 1440px);
    margin-inline: auto;
    padding: 5rem 0 5.5rem;
}

.expectations__header {
    margin-bottom: 3rem;
    text-align: center;
}

.expectations__eyebrow {
    margin: 0 0 0.8rem;
    color: var(--qe-purple);
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.expectations__heading {
    margin: 0;
    color: var(--qe-black);
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 700;
    line-height: 1.1;
}


/* Karten
   ========================================================================== */

.expectations__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.expectation-card {
    min-width: 0;
    padding: 2rem;
    background: var(--qe-white);
    border: 1px solid #dedede;
    border-radius: 16px;
}


/* Icon
   ========================================================================== */

.expectation-card__icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 1.6rem;
    border-radius: 50%;
    background: rgba(159, 17, 103, 0.08);
}

.expectation-card__icon {
    display: block;
    width: 30px;
    height: 30px;
}


/* Inhalt
   ========================================================================== */

.expectation-card__title {
    margin: 0;
    color: var(--qe-black);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.25;
}

.expectation-card__text {
    margin: 0.9rem 0 0;
    color: #666666;
    font-size: 1rem;
    line-height: 1.55;
}


/* Mobile
   ========================================================================== */

@media (max-width: 900px) {

    .expectations__inner {
        width: min(100% - 2rem, 1440px);
        padding: 3.5rem 0 4rem;
    }

    .expectations__header {
        margin-bottom: 2rem;
    }

    .expectations__eyebrow {
        margin-bottom: 0.65rem;
        font-size: 0.8rem;
    }

    .expectations__heading {
        font-size: 1.75rem;
        line-height: 1.1;
    }

    .expectations__grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .expectation-card {
        padding: 1.5rem;
        border-radius: 14px;
    }

    .expectation-card__icon-wrapper {
        width: 48px;
        height: 48px;
        margin-bottom: 1.25rem;
    }

    .expectation-card__icon {
        width: 27px;
        height: 27px;
    }

    .expectation-card__title {
        font-size: 1.1rem;
    }

    .expectation-card__text {
        margin-top: 0.65rem;
        font-size: 0.95rem;
        line-height: 1.5;
    }
}

/* ==========================================================================
   HOMEPAGE – RÜCKBLICK / DISKUSSION
   ========================================================================== */

.discussion-gallery {
    margin-top: 0;
    background: var(--qe-white);
}

.discussion-gallery__inner {
    width: min(100% - 4rem, 1440px);
    margin-inline: auto;
    padding: 4rem 0 5.5rem;
}


/* Header
   ========================================================================== */

.discussion-gallery__header {
    max-width: 1100px;
    margin: 0 auto 2.75rem;
    text-align: center;
}

.discussion-gallery__eyebrow {
    margin: 0 0 0.7rem;

    color: var(--qe-purple);
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.discussion-gallery__heading {
    margin: 0;

    color: var(--qe-black);
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 700;
    line-height: 1.1;
}

.discussion-gallery__intro {
    max-width: 1000px;
    margin: 0.8rem auto 0;

    color: #666666;
    font-size: 1.05rem;
    line-height: 1.5;
}


/* Galerie
   ========================================================================== */

.discussion-gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.discussion-gallery__item {
    min-width: 0;
    margin: 0;
}

.discussion-gallery__image {
    display: block;

    width: 100%;
    height: 205px;

    object-fit: cover;
    object-position: center;

    border-radius: 14px;
}

.discussion-gallery__caption {
    margin-top: 0.65rem;

    color: #666666;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
}


/* Link
   ========================================================================== */

.discussion-gallery__link-wrapper {
    margin-top: 2.5rem;
    text-align: center;
}

.discussion-gallery__link {
    position: relative;
    display: inline-block;

    padding-right: 1.4rem;

    color: var(--qe-purple);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;

    text-decoration: underline;
    text-underline-offset: 0.15em;

    transition: color 0.2s ease;
}

.discussion-gallery__link::after {
    content: "→";

    position: absolute;
    right: 0;
    bottom: 0;

    text-decoration: none;
}

.discussion-gallery__link:hover {
    color: var(--qe-black);
}

.discussion-gallery__link:focus-visible {
    outline: 3px solid var(--qe-purple);
    outline-offset: 4px;
}


/* ==========================================================================
   HOMEPAGE – RÜCKBLICK / DISKUSSION – MOBILE
   ========================================================================== */

@media (max-width: 900px) {

    .discussion-gallery {
        margin-top: 0;
    }

    .discussion-gallery__inner {
        width: min(100% - 2rem, 1440px);
        margin-inline: auto;
        padding: 3.5rem 0 4rem;
    }


    /* Header
       ====================================================================== */

    .discussion-gallery__header {
        max-width: none;
        margin: 0 auto 2rem;
        text-align: center;
    }

    .discussion-gallery__eyebrow {
        margin-bottom: 0.65rem;

        font-size: 0.8rem;
    }

    .discussion-gallery__heading {
        font-size: 1.75rem;
        line-height: 1.1;
    }

    .discussion-gallery__intro {
        max-width: none;
        margin: 0.75rem auto 0;

        font-size: 0.95rem;
        line-height: 1.45;
    }


    /* Galerie
       ====================================================================== */

    .discussion-gallery__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .discussion-gallery__item {
        width: 100%;
    }

    .discussion-gallery__image {
        display: block;

        width: 100%;
        height: 155px;

        object-fit: cover;
        object-position: center;

        border-radius: 12px;
    }

    .discussion-gallery__caption {
        margin-top: 0.5rem;

        font-size: 0.95rem;
        font-weight: 600;
        line-height: 1.4;
    }


    /* Link
       ====================================================================== */

    .discussion-gallery__link-wrapper {
        margin-top: 2rem;
        text-align: center;
    }

    .discussion-gallery__link {
        display: inline;

        padding-right: 0;

        color: var(--qe-purple);
        font-size: 0.9rem;
        font-weight: 700;
        line-height: 1.35;

        text-decoration: underline;
        text-underline-offset: 0.15em;
    }

    .discussion-gallery__link::after {
        content: "\00a0→";

        position: static;
        display: inline;

        text-decoration: none;
    }
}

/* ==========================================================================
   HOMEPAGE – ABSCHLUSS CTA
   ========================================================================== */

.final-cta {
    background: var(--qe-purple);
    color: var(--qe-white);
}

.final-cta__inner {
    width: min(100% - 4rem, 1440px);
    margin-inline: auto;
    padding: 5.5rem 0 6rem;
}


/* Header
   ========================================================================== */

.final-cta__header {
    max-width: 760px;
    margin: 0 auto 3rem;
    text-align: center;
}

.final-cta__eyebrow {
    margin: 0 0 0.7rem;

    color: var(--qe-white);
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.final-cta__heading {
    margin: 0;

    color: var(--qe-white);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.05;
}

.final-cta__intro {
    margin: 1rem auto 0;

    max-width: 1000px;

    color: rgba(255, 255, 255, 0.85);
    font-size: 1.25rem;
    line-height: 1.45;
}


/* Events
   ========================================================================== */


.final-cta__events {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
}

/* Eine Veranstaltung: Karte mittig */
.final-cta__events:has(> .final-cta-card:only-child) {
    grid-template-columns: minmax(0, 1fr);
    max-width: calc((100% - 2rem) / 2);
    margin-inline: auto;
}

/* Drei Veranstaltungen: drei gleich breite Karten */
.final-cta__events:has(> .final-cta-card:nth-child(3)) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}


.final-cta-card {
    display: flex;
    flex-direction: column;

    min-width: 0;
    padding: 1.75rem 2rem;

    background: var(--qe-white);
    color: var(--qe-black);

    border-radius: 18px;
}

.final-cta-card__content {
    text-align: center;
}

.final-cta-card__title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;

    flex-wrap: wrap;
}

.final-cta-card__dot {
    display: inline-block;

    width: 12px;
    height: 12px;

    flex: 0 0 12px;

    border-radius: 50%;
    background: var(--qe-green);
}

.final-cta-card__title {
    margin: 0;

    color: var(--qe-black);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
}

.final-cta-card__partner {
    color: var(--qe-purple);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.final-cta-card__meta {
    margin: 0.5rem 0 0;

    color: #666666;
    font-size: 1rem;
    line-height: 1.4;
}


/* Button
   ========================================================================== */

.final-cta-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    align-self: flex-start;

    min-height: 36px;
    margin-top: 1.25rem;
    padding: 0.65rem 2rem;

    border: 1px solid var(--qe-black);
    border-radius: 999px;

    background: var(--qe-cyan);
    color: var(--qe-black);

    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.final-cta-card__button:hover {
    background: var(--qe-purple);
    color: var(--qe-white);
    border-color: var(--qe-purple);
}

.final-cta-card__button:focus-visible {
    background: var(--qe-purple);
    color: var(--qe-white);
    border-color: var(--qe-purple);
    outline: 3px solid var(--qe-purple);
    outline-offset: 3px;
}


/* ==========================================================================
   HOMEPAGE – ABSCHLUSS CTA – MOBILE
   ========================================================================== */

@media (max-width: 900px) {

    .final-cta__inner {
        width: min(100% - 2rem, 1440px);
        padding: 4rem 0 4.5rem;
    }

    .final-cta__header {
        max-width: none;
        margin-bottom: 2.25rem;
    }

    .final-cta__heading {
        font-size: 2.35rem;
        line-height: 1.05;
    }

    .final-cta__intro {
        margin-top: 0.8rem;

        max-width: 330px;

        font-size: 1.05rem;
        line-height: 1.35;
    }


    /* Event-Karten */

    .final-cta__events,
    .final-cta__events:has(> .final-cta-card:only-child),
    .final-cta__events:has(> .final-cta-card:nth-child(3)) {
        grid-template-columns: minmax(0, 1fr);
        max-width: none;
        margin-inline: 0;
        gap: 1rem;
    }


    .final-cta-card {
        min-height: 0;
        padding: 1.5rem 1.25rem;

        border-radius: 14px;
    }

    .final-cta-card__title-row {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: start;
        justify-content: initial;
        gap: 0.55rem;

        text-align: left;
    }

    .final-cta-card__dot {
        margin-top: 0.45rem;
    }

    .final-cta-card__title {
        margin: 0;
        font-size: 1.45rem;
        line-height: 1.15;
    }

    .final-cta-card__partner {
        grid-column: 2;

        font-size: 0.85rem;
        line-height: 1.2;
    }

    .final-cta-card__meta {
        text-align: center;

        font-size: 0.95rem;
    }


    /* Mobile Button wie bei den übrigen CTA-Buttons */

    .final-cta-card__button {
        width: auto;

        min-height: 0;
        margin-top: 1.25rem;
        padding: 0.4rem 1.25rem;

        align-self: center;

        font-size: 0.95rem;
        line-height: 1.2;
    }
}

/* ==========================================================================
   PROGRAMMSEITE – HERO
   ========================================================================== */

.programme-hero {
    background: var(--qe-white);
}

.programme-hero__inner {
    width: min(calc(100% - 4rem), 1440px);
    margin-inline: auto;
    padding: 2.5rem 0 3.5rem;

    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(380px, 0.85fr);
    gap: 4rem;
    align-items: center;
}

.programme-hero__content {
    min-width: 0;
}

.programme-hero__label {
    display: inline-flex;
    margin: 0 0 1rem;
    padding: 0.25rem 0.55rem;

    background: var(--qe-green);
    color: var(--qe-black);

    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
}

.programme-hero__heading {
    margin: 0;

    color: var(--qe-black);
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.08;
}

.programme-hero__extended {
    color: var(--qe-purple);
}

.programme-hero__meta {
    margin: 0.65rem 0 0;

    color: var(--qe-purple);
    font-size: 1.25rem;
    font-weight: 700;
}

.programme-hero__text {
    max-width: 760px;
    margin: 1.25rem 0 0;
    font-size: 1rem;
}

.programme-hero__text p {
    margin: 0;
    color: var(--qe-gray);
    line-height: 1.6;
}

.programme-hero__text p + p {
    margin-top: 1.25rem;
}


/* Co-Branding */

.programme-hero__partner {
    display: flex;
    align-items: center;
    gap: 1.5rem;

    margin-top: 2rem;
    margin-bottom: 2rem;
}

.programme-hero__partner-logo {
    display: block;
    width: auto;
    max-width: 130px;
    max-height: 70px;
    object-fit: contain;
}

.programme-hero__partner-logo--dgq {
    width: auto;
    max-width: 160px;
    max-height: 70px;
}

.programme-hero__partner-separator {
    flex: 0 0 auto;

    color: var(--qe-gray);
    font-size: 1.25rem;
    font-weight: 600;
}


/* Bild */

.programme-hero__media {
    position: relative;
    min-width: 0;
}

.programme-hero__image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;

    border-radius: 1rem;
}


/* Anmeldebutton */

.programme-hero .button--primary {
    margin-top: 2rem;
}

.programme-hero__partner + .button--primary {
    margin-top: 0;
}


/* ==========================================================================
   PROGRAMMSEITE – HERO MOBILE
   ========================================================================== */

@media (max-width: 900px) {

    .programme-hero__inner {
        width: min(calc(100% - 2rem), 1440px);
        padding: 2rem 0 2rem;

        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .programme-hero__heading {
        font-size: 2rem;
    }

    .programme-hero__meta {
        font-size: 0.95rem;
    }

    .programme-hero__text {
        font-size: 0.95rem;
    }

    .programme-hero__text p {
    margin: 0;
    color: var(--qe-gray);
    line-height: 1.6;
}

    .programme-hero__text p ~ p {
        margin-top: 0.5rem;
    }

    .programme-hero__partner {
        gap: 1rem;
        margin-top: 1.25rem;
        margin-bottom: 1.25rem;
    }

    .programme-hero__partner-logo {
        max-width: 105px;
        max-height: 55px;
    }

    .programme-hero__partner-logo--dgq {
        max-width: 125px;
        max-height: 55px;
    }

    .programme-hero__image {
        aspect-ratio: 16 / 10;
    }

    .programme-hero .button {
        min-height: 0;
        padding: 0.4rem 1.25rem;
        font-size: 0.95rem;
        line-height: 1.2;
    }
}

/* ==========================================================================
   PROGRAMMSEITE – SPRUNGNAVIGATION
   ========================================================================== */

.programme-anchor-nav {
    background: #f5f5f5;
    border-top: 1px solid #e2e2e2;
    border-bottom: 1px solid #e2e2e2;
}

.programme-anchor-nav__inner {
    width: min(calc(100% - 4rem), 1440px);
    margin-inline: auto;

    display: flex;
    align-items: center;
    gap: 3.5rem;
}

.programme-anchor-nav__link {
    position: relative;
    display: inline-flex;

    padding: 1rem 0;

    color: var(--qe-gray);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
}

.programme-anchor-nav__link:hover {
    color: var(--qe-purple);
}

.programme-anchor-nav__link.is-active {
    color: var(--qe-purple);
}

.programme-anchor-nav__link.is-active::after {
    content: "";
    position: absolute;

    left: 0;
    right: 0;
    bottom: -1px;

    height: 3px;
    background: var(--qe-purple);
}


/* ==========================================================================
   PROGRAMMSEITE – ANKER-NAVIGATION MOBILE
   ========================================================================== */

@media (max-width: 900px) {

    .programme-anchor-nav {
        position: relative;
    }

    .programme-anchor-nav__inner {
        width: 100%;
        box-sizing: border-box;
        padding: 0.5rem 1rem;

        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 1rem;
        row-gap: 0;

        overflow: visible;
    }

    .programme-anchor-nav__link {
        display: flex;
        align-items: center;
        justify-content: center;

        min-width: 0;
        padding: 0.85rem 0.25rem;

        font-size: 0.85rem;
        line-height: 1.3;
        text-align: center;
        white-space: normal;
    }

    .programme-anchor-nav__link.is-active::after {
        left: 0;
        right: 0;
        bottom: 0;
        height: 3px;
    }

    /* Farbverlauf der bisherigen Scroll-Navigation entfernen */

    .programme-anchor-nav::after {
        display: none;
    }
}


/* ==========================================================================
   PROGRAMMSEITE – PROGRAMM
   ========================================================================== */

.programme {
    background: var(--qe-white);
}

.programme__inner {
    width: min(calc(100% - 4rem), 1440px);
    margin-inline: auto;
    padding: 4rem 0 5rem;
}

.programme__eyebrow {
    margin: 0 0 0.5rem;

    color: var(--qe-purple);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.programme__heading {
    margin: 0 0 2rem;

    color: var(--qe-black);
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.1;
}

.programme__slots {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}


/* ==========================================================================
   ZEITSLOT – GEMEINSAME BASIS
   ========================================================================== */

.programme-slot {
    position: relative;

    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    column-gap: 1.25rem;

    padding: 1.05rem 1.25rem;

    background: var(--qe-white);
    border: 1px solid #dddddd;
    border-radius: 0.75rem;
}


/* Uhrzeit */

.programme-slot__time {
    align-self: start;
    padding-top: 0.15rem;
}

.programme-slot__time-value {
    display: block;

    color: var(--qe-purple);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1;
}

.programme-slot__time-unit {
    display: block;
    margin-top: 0.3rem;

    color: var(--qe-gray);
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1;
    text-transform: uppercase;
}

.programme-slot__content {
    min-width: 0;
}


/* ==========================================================================
   SESSION – GEMEINSAME TYPOGRAFIE
   ========================================================================== */

.programme-slot__sessions {
    min-width: 0;
}

.programme-session {
    min-width: 0;
}

.programme-session__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;

    margin-bottom: 0.45rem;
}

.programme-session__stream {
    color: var(--qe-purple);

    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.1;
}

.programme-session__category {
    display: inline-flex;
    align-items: center;

    padding: 0.2rem 0.5rem;

    background: var(--qe-green);
    color: var(--qe-black);

    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

.programme-session__title {
    margin: 0;

    color: var(--qe-black);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
}

.programme-session__speakers,
.programme-session__room {
    margin: 0.3rem 0 0;

    color: var(--qe-gray);
    font-size: 0.85rem;
    line-height: 1.4;
}

.programme-session__link {
    color: var(--qe-purple);
    font-size: 0.85rem;
    font-weight: 700;

    text-decoration: underline;
    text-underline-offset: 0.15rem;
}

.programme-session__link:hover {
    color: var(--qe-black);
}


/* ==========================================================================
   EINZELNER PROGRAMMPUNKT
   ========================================================================== */

/*
   Der äußere Zeitslot ist bereits die Karte.
   Bei einer einzelnen Session gibt es daher
   keine zusätzliche innere Session-Karte.
*/

.programme-slot--single:not(.programme-slot--break) {
    min-height: 96px;
    align-items: center;
}

.programme-slot--single:not(.programme-slot--break)
.programme-slot__time {
    padding-top: 0.15rem;
}

.programme-slot--single:not(.programme-slot--break)
.programme-slot__sessions {
    display: block;
}

.programme-slot--single:not(.programme-slot--break)
.programme-session {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 2rem;
    align-items: center;
}


/* Inhalt links */

.programme-slot--single:not(.programme-slot--break)
.programme-session__meta,
.programme-slot--single:not(.programme-slot--break)
.programme-session__title,
.programme-slot--single:not(.programme-slot--break)
.programme-session__speakers,
.programme-slot--single:not(.programme-slot--break)
.programme-session__room {
    grid-column: 1;
}


/* Detail-Link rechts */

.programme-slot--single:not(.programme-slot--break)
.programme-session__link {
    grid-column: 2;
    grid-row: 1 / span 4;

    align-self: center;
    justify-self: end;

    margin-left: 2rem;
}


/* ==========================================================================
   PARALLELE STREAMS
   ========================================================================== */

.programme-slot--parallel {
    align-items: start;

    padding-top: 1.15rem;
    padding-bottom: 1.15rem;
}


/* Standard: maximal 3 Spalten */

.programme-slot--parallel .programme-slot__sessions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}


/* Genau 2 parallele Sessions */

.programme-slot--count-2 .programme-slot__sessions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}


/*
   Ab 4 Sessions:
   weitere Sessions laufen automatisch
   in die nächste Zeile.
*/


/* Innere Stream-Karten */

.programme-slot--parallel .programme-session {
    display: flex;
    flex-direction: column;

    min-height: 160px;
    padding: 0.9rem 1rem;

    background: var(--qe-white);
    border: 1px solid #dddddd;
    border-radius: 0.55rem;
}


/* Stream und Kategorie untereinander */

.programme-slot--parallel .programme-session__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 0.5rem;
    margin-bottom: 0.5rem;
}


/* Detail-Link unten links */

.programme-slot--parallel .programme-session__link {
    align-self: flex-start;

    margin-top: auto;
    padding-top: 0.65rem;
}


/* ==========================================================================
   PAUSE / NETWORKING
   ========================================================================== */

.programme-slot--break {
    grid-template-columns: 100px minmax(0, 1fr) auto;

    min-height: 82px;
    align-items: center;

    background: #f5f5f5;
    border-color: #eeeeee;
}


/* Uhrzeit bei Pause grau */

.programme-slot--break .programme-slot__time {
    align-self: center;
    padding-top: 0;
}

.programme-slot--break .programme-slot__time-value {
    color: var(--qe-gray);
}


/* Keine innere Karte */

.programme-slot--break .programme-slot__sessions {
    display: block;
}

.programme-slot--break .programme-session {
    display: block;
}


/* Kategorie */

.programme-slot--break .programme-session__meta {
    margin-bottom: 0.35rem;
}

.programme-slot--break .programme-session__stream {
    display: none;
}

.programme-slot--break .programme-session__category {
    padding: 0.2rem 0.5rem;

    background: #e7e7e7;
    color: var(--qe-black);

    font-size: 0.8rem;
}


/* Pausentitel */

.programme-slot--break .programme-session__title {
    font-size: 1.25rem;
}


/* Unnötige Inhalte bei Pause ausblenden */

.programme-slot--break .programme-session__speakers,
.programme-slot--break .programme-session__room,
.programme-slot--break .programme-session__link {
    display: none;
}


/* Freier Ablauf rechts */

.programme-slot__free-flow {
    align-self: center;
    justify-self: end;

    margin-left: 2rem;

    color: #595959;
    font-size: 0.75rem;
    white-space: nowrap;
}


/* ==========================================================================
   PROGRAMMSEITE – PROGRAMM MOBILE
   ========================================================================== */

@media (max-width: 900px) {

    .programme__inner {
        width: min(calc(100% - 2rem), 1440px);
        padding: 3rem 0 2rem;
    }

    .programme__heading {
        margin-bottom: 1.5rem;
        font-size: 2rem;
    }


    /* Slots */

    .programme-slot,
    .programme-slot--break {
        grid-template-columns: 1fr;

        gap: 0.75rem;
        min-height: 0;

        padding: 1rem;
    }


    /* Uhrzeit */

    .programme-slot__time,
    .programme-slot--break .programme-slot__time {
        align-self: auto;
        padding-top: 0;
    }

    .programme-slot__time-value,
    .programme-slot__time-unit {
        display: inline;
    }

    .programme-slot__time-unit {
        margin-left: 0.25rem;
    }


    /* Einzelner Programmpunkt */

    .programme-slot--single:not(.programme-slot--break)
    .programme-session {
        display: block;
    }

    .programme-slot--single:not(.programme-slot--break)
    .programme-session__link {
        display: inline-block;

        margin-top: 0.75rem;
        margin-left: 0;

        grid-column: auto;
        grid-row: auto;
    }


    /* Parallele Sessions mobil untereinander */

    .programme-slot--parallel .programme-slot__sessions,
    .programme-slot--count-2 .programme-slot__sessions {
        grid-template-columns: 1fr;
    }

    .programme-slot--parallel .programme-session {
        min-height: 0;
    }


    /* Freier Ablauf */

    .programme-slot__free-flow {
        justify-self: start;

        margin-left: 0;
        margin-top: 0.25rem;
    }
}


/* ==========================================================================
   PROGRAMMSEITE – REFERENT:INNEN
   ========================================================================== */

.speakers {
    background: var(--qe-white);
}

.speakers__inner {
    width: min(calc(100% - 4rem), 1440px);
    margin-inline: auto;
    padding: 3rem 0 5rem;
}

.speakers__heading {
    margin: 0 0 2.5rem;
    color: var(--qe-black);
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.1;
}


/* ==========================================================================
   REFERENT:INNEN – GRID
   ========================================================================== */

.speakers__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    max-width: 1080px;
    margin-inline: auto;
}

/* Letzte Zeile mit zwei Karten zentrieren */

.speakers__grid > .speaker-card:nth-last-child(2):nth-child(3n + 1) {
    grid-column: 1 / 2;
    transform: translateX(50%);
}

.speakers__grid > .speaker-card:last-child:nth-child(3n + 2) {
    grid-column: 2 / 3;
    transform: translateX(50%);
}


/* ==========================================================================
   REFERENT:INNEN – KARTE
   ========================================================================== */

.speaker-card {
    overflow: hidden;
    background: var(--qe-white);
    border: 1px solid #dddddd;
    border-radius: 0.75rem;
}


/* ==========================================================================
   REFERENT:INNEN – BILD
   ========================================================================== */

.speaker-card__media {
    padding: 1.25rem 1.25rem 0;
}

.speaker-card__image,
.speaker-card__placeholder {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 0.6rem;
}

.speaker-card__image {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
}

.speaker-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e5e5e5;
}

.speaker-card__placeholder-icon {
    color: var(--qe-purple);
    font-size: 2rem;
    opacity: 0.45;
}


/* ==========================================================================
   REFERENT:INNEN – KARTENINHALT
   ========================================================================== */

.speaker-card__content {
    padding: 1.15rem 1.25rem 1.4rem;
}

.speaker-card__name {
    margin: 0;
    color: var(--qe-black);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.25;
}

.speaker-card__role,
.speaker-card__organisation {
    margin: 0.35rem 0 0;
    color: var(--qe-gray);
    font-size: 0.85rem;
    line-height: 1.4;
}

.speaker-card__link {
    display: inline-block;
    margin-top: 0.9rem;
    color: var(--qe-purple);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
}

.speaker-card__link:hover {
    text-decoration: underline;
    text-underline-offset: 0.15rem;
}


/* ==========================================================================
   REFERENT:INNEN – MEHR ANZEIGEN
   ========================================================================== */

/* Auf Desktop wird der Button nicht benötigt */

.speakers__more {
    display: none;
}


/* ==========================================================================
   PROGRAMMSEITE – REFERENT:INNEN MOBILE
   ========================================================================== */

@media (max-width: 900px) {

    .speakers__inner {
        width: min(calc(100% - 2rem), 1440px);
        padding: 1rem 0 4rem;
    }

    .speakers__heading {
        margin-bottom: 1.75rem;
        font-size: 2rem;
    }

    .speakers__grid {
        grid-template-columns: 1fr;
        max-width: none;
        gap: 0.85rem;
    }

    /* Desktop-Zentrierung aufheben */

    .speakers__grid > .speaker-card:nth-last-child(2):nth-child(3n + 1),
    .speakers__grid > .speaker-card:last-child:nth-child(3n + 2) {
        grid-column: auto;
        transform: none;
    }

    /* Kompakte horizontale Referentenkarte */

    .speaker-card {
        display: grid;
        grid-template-columns: 100px minmax(0, 1fr);
        align-items: start;
        gap: 1rem;
        padding: 1rem;
    }

    .speaker-card__media {
        padding: 0;
        width: 100px;
    }

    .speaker-card__image,
    .speaker-card__placeholder {
        width: 100px;
        height: 100px;
        aspect-ratio: 1 / 1;
        border-radius: 0.5rem;
    }

    .speaker-card__content {
        min-width: 0;
        padding: 0;
    }

    .speaker-card__name {
        font-size: 1.05rem;
        line-height: 1.3;
    }

    .speaker-card__role,
    .speaker-card__organisation {
        margin-top: 0.3rem;
        font-size: 0.8rem;
        line-height: 1.4;
        overflow-wrap: anywhere;
    }

    .speaker-card__link {
        margin-top: 0.65rem;
        font-size: 0.8rem;
    }

    /* Weitere Karten nur bei aktiviertem JavaScript ausblenden */

    .speakers.speakers--js-ready:not(.speakers--expanded)
    .speaker-card--extra {
        display: none;
    }

    /* Button */

    .speakers.speakers--js-ready .speakers__more {
        display: flex;
        justify-content: center;
        margin-top: 1.5rem;
    }

    .speakers__more-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.65rem;
        padding: 0.85rem 1.5rem;
        background: var(--qe-white);
        border: 2px solid var(--qe-purple);
        border-radius: 0.4rem;
        color: var(--qe-purple);
        font-family: inherit;
        font-size: 0.9rem;
        font-weight: 700;
        line-height: 1.3;
        cursor: pointer;
    }

    .speakers__more-button:hover {
        background: var(--qe-purple);
        color: var(--qe-white);
    }

    .speakers__more-button:focus-visible {
        outline: 3px solid var(--qe-purple);
        outline-offset: 3px;
    }

    .speakers__more-button span {
        font-size: 1.1rem;
    }
}


/* ==========================================================================
   PROGRAMMSEITE – VERANSTALTUNGSORT
   ========================================================================== */

.venue {
    background: #f5f5f4;
}

.venue__inner {
    width: min(calc(100% - 4rem), 1440px);
    margin-inline: auto;
    padding: 4rem 0 5rem;
}


/* ==========================================================================
   VERANSTALTUNGSORT – ÜBERSCHRIFT
   ========================================================================== */

.venue__heading {
    margin: 0 0 3rem;

    color: var(--qe-black);
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.1;
}


/* ==========================================================================
   VERANSTALTUNGSORT – LAYOUT
   ========================================================================== */

.venue__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 5rem;
    align-items: center;
}


/* ==========================================================================
   VERANSTALTUNGSORT – INHALT
   ========================================================================== */

.venue__content {
    min-width: 0;
}

.venue__name {
    margin: 0;

    color: var(--qe-black);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.25;
}

.venue__address {
    margin: 0.65rem 0 0;

    color: var(--qe-purple);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
}

.venue__description {
    max-width: 650px;
    margin-top: 2rem;

    color: var(--qe-gray);
    font-size: 1rem;
    line-height: 1.6;
}

.venue__description p {
    margin: 0;
}

.venue__description p + p {
    margin-top: 1rem;
}


/* ==========================================================================
   VERANSTALTUNGSORT – BILD
   ========================================================================== */

.venue__media {
    min-width: 0;
}

.venue__image {
    display: block;

    width: 100%;
    height: auto;

    border-radius: 1rem;
}



/* ==========================================================================
   PROGRAMMSEITE – VERANSTALTUNGSORT MOBILE
   ========================================================================== */

@media (max-width: 900px) {

    .venue__inner {
        width: min(calc(100% - 2rem), 1440px);
        padding: 2rem 0 2.5rem;
    }

    .venue__heading {
        margin-bottom: 1.5rem;
        font-size: 2rem;
    }

    .venue__layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .venue__name {
        font-size: 1.3rem;
    }

    .venue__address {
        font-size: 0.95rem;
    }

    .venue__description {
        margin-top: 1.25rem;
        font-size: 0.95rem;
    }

    .venue__image {
        border-radius: 0.75rem;
    }
}

/* ==========================================================================
   PROGRAMMSEITE – ANMELDUNG / CTA
   ========================================================================== */

.registration-cta {
    background: var(--qe-purple);
    color: var(--qe-white);
}

.registration-cta__inner {
    width: min(calc(100% - 4rem), 1440px);
    margin-inline: auto;
    padding: 5rem 0;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
}

.registration-cta__heading {
    max-width: 1200px;
    margin: 0;

    color: var(--qe-white);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
}

.registration-cta__event-info {
    margin: 1rem 0 2.25rem;

    color: var(--qe-white);
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.4;
}

.registration-cta__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 36px;
    padding: 0.65rem 2rem;

    background: var(--qe-cyan);
    color: var(--qe-black);

    border: 1px solid var(--qe-black);
    border-radius: 999px;

    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;

    text-decoration: none;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.registration-cta__button:hover {
    background: var(--qe-white);
    color: var(--qe-purple);
    border-color: var(--qe-white);
}

.registration-cta__button:focus-visible {
    outline: 3px solid var(--qe-white);
    outline-offset: 4px;
}


/* ==========================================================================
   PROGRAMMSEITE – ANMELDUNG / CTA MOBILE
   ========================================================================== */

@media (max-width: 900px) {

    .registration-cta__inner {
        width: min(calc(100% - 2rem), 1440px);
        padding: 2.75rem 0;
    }

    .registration-cta__heading {
        max-width: 100%;
        margin: 0;

        font-size: 1.75rem;
        line-height: 1.15;
    }

    .registration-cta__event-info {
        margin: 0.85rem 0 1.5rem;

        font-size: 1rem;
        line-height: 1.4;
    }

    .registration-cta__button {
        min-height: 0;
        margin-top: 0;
        padding: 0.4rem 1.25rem;

        font-size: 0.95rem;
        line-height: 1.2;
    }
}

/* ==========================================================================
   PROGRAMMSEITE – ANMELDUNG / CTA KLEINE SMARTPHONES
   ========================================================================== */

@media (max-width: 375px) {

    .registration-cta__heading {
        font-size: 1.55rem;
        line-height: 1.15;
        overflow-wrap: anywhere;
        hyphens: none;
    }

}

/* ==========================================================================
   PROGRAMMPUNKT – DETAILSEITE
   ========================================================================== */

.programme-detail {
    background: var(--qe-white);
}

.programme-detail__inner {
    width: min(calc(100% - 4rem), 1440px);
    margin-inline: auto;
    padding: 2rem 0 5rem;
}


/* ==========================================================================
   PROGRAMMPUNKT – EVENT-META
   ========================================================================== */

.programme-detail__event-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;

    margin-bottom: 1rem;

    color: var(--qe-gray);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
}

.programme-detail__location {
    color: var(--qe-purple);
}

.programme-detail__event-separator {
    color: var(--qe-gray);
}


/* ==========================================================================
   PROGRAMMPUNKT – MARKEN / KOOPERATION
   ========================================================================== */

.programme-detail__brands {
    display: flex;
    align-items: center;
    gap: 1rem;

    margin-bottom: 2rem;
}

.programme-detail__brand-logo {
    display: block;

    width: auto;
    max-width: 130px;
    max-height: 60px;

    object-fit: contain;
}

.programme-detail__brand-logo--dgq {
    max-width: 115px;
    max-height: 52px;
}

.programme-detail__brand-separator {
    color: var(--qe-gray);
    font-size: 1.1rem;
    font-weight: 700;
}


/* ==========================================================================
   PROGRAMMPUNKT – KATEGORIE & UHRZEIT
   ========================================================================== */

.programme-detail__session-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;

    margin-bottom: 1.25rem;
}

.programme-detail__category {
    display: inline-flex;
    align-items: center;

    padding: 0.25rem 0.55rem;

    background: var(--qe-green);
    color: var(--qe-black);

    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

.programme-detail__time {
    color: var(--qe-purple);

    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
}


/* ==========================================================================
   PROGRAMMPUNKT – TITEL
   ========================================================================== */

.programme-detail__heading {
    max-width: 1100px;
    margin: 1.25rem 0 0;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.02em;
}

@media (max-width: 900px) {
    .programme-detail__heading {
        max-width: none;
        margin-top: 1rem;
        font-size: 2.25rem;
        line-height: 1.1;
        letter-spacing: -0.015em;
    }
}

@media (max-width: 600px) {
    .programme-detail__heading {
        font-size: 1.9rem;
        line-height: 1.12;
    }
}


/* ==========================================================================
   PROGRAMMPUNKT – AKZENTLINIE
   ========================================================================== */

.programme-detail__accent {
    width: 110px;
    height: 4px;

    margin-top: 1.5rem;
    margin-bottom: 3.5rem;

    background: var(--qe-purple);
    border-radius: 999px;
}


/* ==========================================================================
   PROGRAMMPUNKT – EINLEITUNG
   ========================================================================== */

.programme-detail__introduction {
    max-width: 850px;

    color: var(--qe-black);
    font-size: 1.15rem;
    line-height: 1.6;
}

.programme-detail__introduction p {
    margin: 0;
}

.programme-detail__introduction p + p {
    margin-top: 1.25rem;
}


/* ==========================================================================
   PROGRAMMPUNKT – BESCHREIBUNG
   ========================================================================== */

.programme-detail__text {
    max-width: 850px;
    margin-top: 2rem;

    color: var(--qe-gray);
    font-size: 1.15rem;
    line-height: 1.65;
}

.programme-detail__text p {
    margin: 0;
}

.programme-detail__text p + p {
    margin-top: 1.25rem;
}

.programme-detail__text ul,
.programme-detail__text ol {
    margin: 1.25rem 0 0;
    padding-left: 1.5rem;
}

.programme-detail__text li + li {
    margin-top: 0.5rem;
}

.programme-detail__text a {
    color: var(--qe-purple);
    text-decoration: underline;
    text-underline-offset: 0.15rem;
}

.programme-detail__text a:hover {
    color: var(--qe-black);
}


/* ==========================================================================
   PROGRAMMPUNKT – MOBILE
   ========================================================================== */

@media (max-width: 900px) {

    .programme-detail__inner {
        width: min(calc(100% - 2rem), 1440px);
        padding: 1.5rem 0 4rem;
    }

    .programme-detail__event-meta {
    display: block;

    margin-bottom: 0.75rem;

    font-size: 0.72rem;
    line-height: 1.35;
    }

    .programme-detail__event-separator {
    margin: 0 0.4rem;
    }

    .programme-detail__brands {
        gap: 0.75rem;
        margin-bottom: 1.25rem;
    }

    .programme-detail__brand-logo {
        max-width: 95px;
        max-height: 44px;
    }

    .programme-detail__brand-logo--dgq {
        max-width: 90px;
        max-height: 40px;
    }

    .programme-detail__brand-separator {
        font-size: 1rem;
    }

    .programme-detail__session-meta {
        gap: 0.75rem;
        margin-bottom: 1rem;
    }

    .programme-detail__category {
        font-size: 0.68rem;
    }

    .programme-detail__time {
        font-size: 0.95rem;
    }

    .programme-detail__heading {
        max-width: none;

        font-size: 2rem;
        line-height: 1.08;
        letter-spacing: -0.015em;
    }

    .programme-detail__accent {
        width: 90px;
        height: 3px;

        margin-top: 1.25rem;
        margin-bottom: 2.25rem;
    }

    .programme-detail__introduction {
        max-width: none;

        font-size: 1.05rem;
        line-height: 1.55;
    }

    .programme-detail__text {
        max-width: none;
        margin-top: 1.5rem;

        font-size: 1.05rem;
        line-height: 1.55;
    }
}

/* ==========================================================================
   PROGRAMMPUNKT – REFERENT:INNEN
   ========================================================================== */

.programme-detail-speakers {
    background: #f5f5f4;
}

.programme-detail-speakers__inner {
    width: min(calc(100% - 4rem), 1440px);
    margin-inline: auto;
    padding: 4rem 0 5rem;
}

.programme-detail-speakers__heading {
    margin: 0 0 2rem;

    color: var(--qe-purple);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}


/* ==========================================================================
   PROGRAMMPUNKT – REFERENT:INNEN-LISTE
   ========================================================================== */

.programme-detail-speakers__list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}


/* ==========================================================================
   PROGRAMMPUNKT – REFERENT:INNEN-KARTE
   ========================================================================== */

.programme-detail-speaker {
    padding: 2.5rem;

    background: var(--qe-white);
    border: 1px solid #dddddd;
    border-radius: 0.75rem;
}

.programme-detail-speaker__header {
    display: flex;
    align-items: center;
    gap: 2rem;
}


/* Bild */

.programme-detail-speaker__media {
    flex: 0 0 180px;
}

.programme-detail-speaker__image,
.programme-detail-speaker__placeholder {
    display: block;

    width: 180px;
    height: 180px;
    aspect-ratio: 1 / 1;

    border-radius: 0.65rem;
}

.programme-detail-speaker__image {
    object-fit: cover;
    object-position: center;
}

.programme-detail-speaker__placeholder {
    background: #e5e5e5;
}


/* Name / Funktion */

.programme-detail-speaker__identity {
    min-width: 0;
}

.programme-detail-speaker__name {
    margin: 0;

    color: var(--qe-black);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
}

.programme-detail-speaker__role {
    margin: 0.4rem 0 0;

    color: var(--qe-purple);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
}

.programme-detail-speaker__organisation {
    margin: 0.25rem 0 0;

    color: var(--qe-gray);
    font-size: 1rem;
    line-height: 1.4;
}


/* Vita */

.programme-detail-speaker__bio {
    max-width: 900px;
    margin-top: 2rem;

    color: var(--qe-gray);
    font-size: 1rem;
    line-height: 1.6;
}

.programme-detail-speaker__bio p {
    margin: 0;
}

.programme-detail-speaker__bio p + p {
    margin-top: 1.25rem;
}

.programme-detail-speaker__bio a {
    color: var(--qe-purple);
    text-decoration: underline;
    text-underline-offset: 0.15rem;
}


/* ==========================================================================
   PROGRAMMPUNKT – ZURÜCK ZUM PROGRAMM
   ========================================================================== */

.programme-detail-back {
    background: var(--qe-white);
}

.programme-detail-back__inner {
    width: min(calc(100% - 4rem), 1440px);
    margin-inline: auto;
    padding: 2rem 0 3.5rem;

    border-top: none;
}

.programme-detail-back__link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;

    color: var(--qe-purple);
    font-size: 1rem;
    font-weight: 700;

    text-decoration: none;
}

.programme-detail-back__link span {
    font-size: 1.5rem;
    line-height: 1;
}

.programme-detail-back__link:hover {
    text-decoration: underline;
    text-underline-offset: 0.15rem;
}


/* ==========================================================================
   PROGRAMMPUNKT – REFERENT:INNEN MOBILE
   ========================================================================== */

@media (max-width: 900px) {

    .programme-detail-speakers__inner {
        width: min(calc(100% - 2rem), 1440px);
        padding: 3rem 0 2.5rem;
    }

    .programme-detail-speakers__heading {
        margin-bottom: 1.5rem;
        font-size: 1.3rem;
    }

    .programme-detail-speaker {
        padding: 1.25rem;
    }

    .programme-detail-speaker__header {
        align-items: flex-start;
        gap: 1.25rem;
    }

    .programme-detail-speaker__media {
        flex-basis: 110px;
    }

    .programme-detail-speaker__image,
    .programme-detail-speaker__placeholder {
        width: 110px;
        height: 110px;
    }

    .programme-detail-speaker__name {
        font-size: 1.35rem;
    }

    .programme-detail-speaker__role,
    .programme-detail-speaker__organisation {
        font-size: 0.9rem;
    }

    .programme-detail-speaker__bio {
        max-width: none;
        margin-top: 1.25rem;

        font-size: 0.95rem;
        line-height: 1.5;
    }

    .programme-detail-back__inner {
        width: min(calc(100% - 2rem), 1440px);
        padding: 1.5rem 0 2.5rem;
    }

    .programme-detail-back__link {
        font-size: 0.95rem;
    }
}


/* ==========================================================================
   PROGRAMMPUNKT – REFERENT:INNEN SMALL MOBILE
   ========================================================================== */

@media (max-width: 600px) {

    .programme-detail-speaker__header {
        flex-direction: column;
    }

    .programme-detail-speaker__media {
        flex-basis: auto;
    }

    .programme-detail-speaker__image,
    .programme-detail-speaker__placeholder {
        width: 140px;
        height: 140px;
    }

    .programme-detail-speaker__role {
        overflow-wrap: break-word;
        word-break: normal;
        hyphens: auto;
        -webkit-hyphens: auto;
    }
}

/* ==========================================================================
   ÜBER EXTENDED – INTRO / HERO
   ========================================================================== */

.about-page-hero {
    background: var(--qe-white);
}

.about-page-hero__inner {
    width: min(calc(100% - 4rem), 1440px);
    margin-inline: auto;
    padding: 5.5rem 0 5rem;

    text-align: center;
}

.about-page-hero__heading {
    margin: 0;

    color: var(--qe-purple);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.about-page-hero__subheading {
    max-width: 800px;
    margin: 1.5rem auto 0;

    color: var(--qe-black);
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.08;
}

.about-page-hero__text {
    max-width: 780px;
    margin: 2rem auto 0;

    color: var(--qe-gray);
    font-size: 1.15rem;
    line-height: 1.6;
}


/* ==========================================================================
   ÜBER EXTENDED – INTRO / HERO MOBILE
   ========================================================================== */

@media (max-width: 900px) {

    .about-page-hero__inner {
        width: min(calc(100% - 2rem), 1440px);
        padding: 3.5rem 0 4rem;
    }

    .about-page-hero__heading {
        font-size: 2.25rem;
        line-height: 1.08;
    }

    .about-page-hero__subheading {
        max-width: none;
        margin-top: 1.25rem;

        font-size: 1.8rem;
        line-height: 1.1;
    }

    .about-page-hero__text {
        max-width: none;
        margin-top: 1.5rem;

        font-size: 1.05rem;
        line-height: 1.55;
    }
}

/* ==========================================================================
   ÜBER EXTENDED – DIE IDEE HINTER EXTENDED
   ========================================================================== */

.about-idea {
    background: #f5f5f4;
}

.about-idea__inner {
    width: min(calc(100% - 4rem), 1440px);
    margin-inline: auto;
    padding: 5rem 0;
}

.about-idea__header {
    margin-bottom: 3rem;
}

.about-idea__eyebrow {
    margin: 0 0 0.65rem;

    color: var(--qe-purple);
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.about-idea__heading {
    margin: 0;

    color: var(--qe-black);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.15;
}


/* ==========================================================================
   ÜBER EXTENDED – IDEE / LAYOUT
   ========================================================================== */

.about-idea__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 1fr);
    gap: 5rem;
    align-items: start;
}


/* ==========================================================================
   ÜBER EXTENDED – IDEE / TEXT
   ========================================================================== */

.about-idea__text {
    max-width: 650px;

    color: var(--qe-gray);
    font-size: 1rem;
    line-height: 1.65;
}

.about-idea__text p {
    margin: 0;
}

.about-idea__text p + p {
    margin-top: 1.5rem;
}

.about-idea__text ul,
.about-idea__text ol {
    margin: 1.5rem 0 0;
    padding-left: 1.5rem;
}

.about-idea__text li + li {
    margin-top: 0.5rem;
}

.about-idea__text a {
    color: var(--qe-purple);
    text-decoration: underline;
    text-underline-offset: 0.15rem;
}

.about-idea__text a:hover {
    color: var(--qe-black);
}


/* ==========================================================================
   ÜBER EXTENDED – IDEE / KEY FACTS
   ========================================================================== */

.about-idea__facts {
    padding: 2rem 2.25rem;

    background: var(--qe-white);
    border: 1px solid #dddddd;
    border-radius: 0.75rem;
}

.about-idea__facts-heading {
    margin: 0 0 1rem;

    color: var(--qe-purple);
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.about-idea__facts-list {
    margin: 0;
    padding: 0;

    list-style: none;
}

.about-idea__fact {
    position: relative;

    padding-left: 1.25rem;

    color: var(--qe-black);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
}

.about-idea__fact + .about-idea__fact {
    margin-top: 0.5rem;
}

.about-idea__fact::before {
    content: "";

    position: absolute;
    top: 0.75em;
    left: 0;

    width: 6px;
    height: 6px;

    background: var(--qe-green);
    border-radius: 50%;

    transform: translateY(-50%);
}


/* ==========================================================================
   ÜBER EXTENDED – DIE IDEE HINTER EXTENDED MOBILE
   ========================================================================== */

@media (max-width: 900px) {

    .about-idea__inner {
        width: min(calc(100% - 2rem), 1440px);
        padding: 3.5rem 0;
    }

    .about-idea__header {
        margin-bottom: 2rem;
    }

    .about-idea__eyebrow {
        font-size: 0.75rem;
    }

    .about-idea__heading {
        font-size: 1.75rem;
    }

    .about-idea__grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-idea__text {
        max-width: none;

        font-size: 1rem;
        line-height: 1.6;
    }

    .about-idea__facts {
        padding: 1.5rem;
    }

    .about-idea__fact {
        font-size: 0.95rem;
    }
}

/* ==========================================================================
   ÜBER EXTENDED – FORMATLOGIK
   ========================================================================== */

.about-format-logic {
    background: var(--qe-white);
}

.about-format-logic__inner {
    width: min(calc(100% - 4rem), 1440px);
    margin-inline: auto;
    padding: 5rem 0;
}

.about-format-logic__heading {
    margin: 0 0 3.5rem;

    color: var(--qe-black);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.15;
}

.about-format-logic__flow {
    width: min(100%, 900px);
    margin-inline: auto;
}


/* ==========================================================================
   URSPRUNG
   ========================================================================== */

.about-format-logic__origin {
    width: min(100%, 420px);
    margin-inline: auto;
    padding: 1.5rem 2rem;

    text-align: center;

    background: #f5f5f4;
    border: 1px solid #dddddd;
    border-radius: 0.75rem;
}


/* ==========================================================================
   LABELS
   ========================================================================== */

.about-format-logic__label {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0.2rem 0.5rem;

    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

.about-format-logic__label--purple {
    background: var(--qe-purple);
    color: var(--qe-white);
}

.about-format-logic__label--green {
    background: var(--qe-green);
    color: var(--qe-black);
}

.about-format-logic__label--dark {
    background: var(--qe-black);
    color: var(--qe-white);
}


/* ==========================================================================
   URSPRUNG – TEXTE
   ========================================================================== */

.about-format-logic__card-title {
    margin: 0.75rem 0 0;

    color: var(--qe-black);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.2;
}

.about-format-logic__card-text {
    margin: 0.5rem 0 0;

    color: var(--qe-gray);
    font-size: 0.95rem;
    line-height: 1.4;
}


/* ==========================================================================
   VERBINDUNG URSPRUNG → EXTENDED
   ========================================================================== */

.about-format-logic__connector--vertical {
    width: 2px;
    height: 3rem;
    margin-inline: auto;

    background: var(--qe-purple);
}


/* ==========================================================================
   EXTENDED
   ========================================================================== */

.about-format-logic__extended {
    width: min(100%, 520px);
    margin-inline: auto;
    padding: 1.75rem 2rem;

    text-align: center;

    background: var(--qe-white);
    border: 2px solid var(--qe-purple);
    border-radius: 0.9rem;
}

.about-format-logic__extended-title {
    margin: 0.8rem 0 0;

    color: var(--qe-black);
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.2;
}

.about-format-logic__extended-highlight {
    color: var(--qe-purple);
}

.about-format-logic__extended-text {
    margin: 0.65rem 0 0;

    color: var(--qe-purple);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
}


/* ==========================================================================
   EVENTS – GRUNDLAYOUT
   ========================================================================== */

.about-format-logic__events {
    position: relative;

    display: grid;
    gap: 1.5rem;

    margin-top: 4rem;
}

.about-format-logic__events--1 {
    grid-template-columns: minmax(0, 360px);
    justify-content: center;
}

.about-format-logic__events--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-format-logic__events--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}


/* ==========================================================================
   VERBINDUNG EXTENDED → EVENTS
   ========================================================================== */

/*
   Senkrechte Hauptverbindung von der extended-Karte
   bis zur horizontalen Verteilerlinie.
*/

.about-format-logic__events::after {
    content: "";

    position: absolute;
    top: -4rem;
    left: 50%;

    width: 2px;
    height: 2rem;

    background: var(--qe-purple);

    transform: translateX(-50%);
}


/*
   Horizontale Verteilerlinie bei 2 oder 3 Events.
*/

.about-format-logic__events--2::before,
.about-format-logic__events--3::before {
    content: "";

    position: absolute;
    top: -2rem;

    height: 2px;

    background: var(--qe-purple);
}


/*
   Bei 2 Events läuft die Linie exakt von Kartenmitte zu Kartenmitte.
*/

.about-format-logic__events--2::before {
    left: calc((100% - 1.5rem) / 4);
    right: calc((100% - 1.5rem) / 4);
}


/*
   Bei 3 Events ebenfalls von Mitte der ersten
   bis Mitte der dritten Karte.
*/

.about-format-logic__events--3::before {
    left: calc((100% - 3rem) / 6);
    right: calc((100% - 3rem) / 6);
}


/*
   Kurze senkrechte Abzweigung von der horizontalen
   Linie bis zur jeweiligen Event-Karte.
*/

.about-format-logic__events--2 .about-format-logic__event::before,
.about-format-logic__events--3 .about-format-logic__event::before {
    content: "";

    position: absolute;
    top: -2rem;
    left: 50%;

    width: 2px;
    height: 2rem;

    background: var(--qe-purple);

    transform: translateX(-50%);
}


/*
   Bei genau einem Event brauchen wir keine horizontale Linie.
   Die Hauptverbindung läuft direkt bis zur Karte.
*/

.about-format-logic__events--1::after {
    height: 4rem;
}


/* ==========================================================================
   EVENT-KARTEN
   ========================================================================== */

.about-format-logic__event {
    position: relative;

    padding: 1.5rem 1.75rem;

    text-align: center;

    background: #f5f5f4;
    border: 1px solid #dddddd;
    border-radius: 0.75rem;
}

.about-format-logic__event-title {
    margin: 0.75rem 0 0;

    color: var(--qe-black);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.25;
}

.about-format-logic__event-text {
    margin: 0.5rem 0 0;

    color: var(--qe-gray);
    font-size: 0.9rem;
    line-height: 1.4;
}


/* ==========================================================================
   ÜBER EXTENDED – FORMATLOGIK MOBILE
   ========================================================================== */

@media (max-width: 900px) {

    .about-format-logic__inner {
        width: min(calc(100% - 2rem), 1440px);
        padding: 3.5rem 0;
    }

    .about-format-logic__heading {
        margin-bottom: 2.5rem;
        font-size: 1.75rem;
    }

    .about-format-logic__flow {
        width: 100%;
        min-width: 0;
    }

    /* Ursprung und extended */

    .about-format-logic__origin,
    .about-format-logic__extended {
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        padding: 1.5rem 1rem;
    }

    .about-format-logic__card-title {
        font-size: 1.2rem;
        overflow-wrap: anywhere;
    }

    .about-format-logic__extended-title {
        font-size: 1.25rem;
        overflow-wrap: anywhere;
    }

    .about-format-logic__card-text,
    .about-format-logic__extended-text {
        font-size: 0.95rem;
    }

    /* Verbindung zur Veranstaltung */

    .about-format-logic__connector--vertical {
        height: 2rem;
    }

    /* Veranstaltungen immer untereinander */

    .about-format-logic__events,
    .about-format-logic__events--1,
    .about-format-logic__events--2,
    .about-format-logic__events--3 {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 1rem;
        width: 100%;
        margin-top: 2rem;
    }

    /* Horizontale Desktop-Verteilung deaktivieren */
    .about-format-logic__events::before,
    .about-format-logic__event::before {
    display: none;
}

/* Senkrechte Verbindung von extended zu den Events */
    .about-format-logic__events::after {
        display: block;
        content: "";
        position: absolute;
        top: -2rem;
        left: 50%;
        width: 2px;
        height: 2rem;
        background: var(--qe-purple);
        transform: translateX(-50%);
}

    /* Veranstaltungskarten */

    .about-format-logic__event {
        box-sizing: border-box;
        width: 100%;
        min-width: 0;
        padding: 1.25rem 1.5rem;
        text-align: left;
    }

    .about-format-logic__event-title {
        font-size: 1.1rem;
        overflow-wrap: anywhere;
    }

    .about-format-logic__event-text {
        font-size: 0.95rem;
        overflow-wrap: anywhere;
    }
}

/* ==========================================================================
   ÜBER EXTENDED – VERANSTALTUNGEN / GEMEINSAMES LEITTHEMA
   ========================================================================== */

.about-events-concept {
    margin-top: 2rem;
    background: #f5f5f4;
}

.about-events-concept__inner {
    width: min(calc(100% - 4rem), 1440px);
    margin-inline: auto;
    padding: 5rem 0;
}

.about-events-concept__eyebrow {
    margin: 0 0 0.75rem;

    color: var(--qe-purple);
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.about-events-concept__heading {
    margin: 0 0 3.5rem;

    color: var(--qe-black);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.15;
}

.about-events-concept__heading {
    margin: 0 0 3.5rem;

    color: var(--qe-black);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.15;
}

.about-events-concept__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(460px, 1fr);
    gap: 5rem;
    align-items: start;
}


/* ==========================================================================
   TEXT
   ========================================================================== */

.about-events-concept__text {
    max-width: 650px;

    color: var(--qe-gray);
    font-size: 1rem;
    line-height: 1.65;
}

.about-events-concept__text p {
    margin: 0;
}

.about-events-concept__text p + p {
    margin-top: 1.5rem;
}

.about-events-concept__text ul,
.about-events-concept__text ol {
    margin: 1.5rem 0 0;
    padding-left: 1.5rem;
}

.about-events-concept__text li + li {
    margin-top: 0.5rem;
}

.about-events-concept__text a {
    color: var(--qe-purple);
    text-decoration: underline;
    text-underline-offset: 0.15rem;
}


/* ==========================================================================
   GRAFIK
   ========================================================================== */

.about-events-concept__visual {
    padding: 1.75rem;

    background: var(--qe-white);
    border: 1px solid #dddddd;
    border-radius: 0.75rem;
}

.about-events-concept__theme {
    position: relative;

    padding: 1rem 1.5rem;

    color: var(--qe-black);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;

    background: #f5f5f4;
    border: 1px solid #dddddd;
    border-radius: 0.65rem;
}


/* Verbindung vom Leitthema zu den Events */

.about-events-concept__theme::after {
    content: "";

    position: absolute;
    left: 50%;
    bottom: -1.5rem;

    width: 8px;
    height: 8px;

    background: #dddddd;
    border-radius: 50%;

    transform: translateX(-50%);
}


/* ==========================================================================
   EVENTS
   ========================================================================== */

.about-events-concept__events {
    display: grid;
    gap: 1rem;

    margin-top: 2.5rem;
}

.about-events-concept__events--1 {
    grid-template-columns: minmax(0, 280px);
    justify-content: center;
}

.about-events-concept__events--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-events-concept__events--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-events-concept__event {
    padding: 1.25rem 1.5rem;

    background: var(--qe-white);
    border: 1px solid #dddddd;
    border-radius: 0.65rem;
}

.about-events-concept__event-title {
    margin: 0;

    color: var(--qe-black);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.about-events-concept__event-perspective {
    margin: 0.35rem 0 0;

    color: var(--qe-gray);
    font-size: 0.9rem;
    line-height: 1.4;
}


/* ==========================================================================
   HINWEIS
   ========================================================================== */

.about-events-concept__note {
    max-width: 620px;
    margin: 1rem auto 0;

    color: var(--qe-gray);
    font-size: 0.85rem;
    line-height: 1.5;
    text-align: center;
}


/* ==========================================================================
   ÜBER EXTENDED – VERANSTALTUNGEN / GEMEINSAMES LEITTHEMA MOBILE
   ========================================================================== */

@media (max-width: 900px) {

    .about-events-concept {
        margin-top: 2rem;
    }

    .about-events-concept__inner {
        width: min(calc(100% - 2rem), 1440px);
        padding: 3.5rem 0 3.5rem;
    }

    .about-events-concept__heading {
        margin-bottom: 2rem;
        font-size: 1.75rem;
    }

    .about-events-concept__grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-events-concept__text {
        max-width: none;

        font-size: 1rem;
        line-height: 1.6;
    }

    .about-events-concept__visual {
        padding: 1.25rem;
    }

    .about-events-concept__events,
    .about-events-concept__events--1,
    .about-events-concept__events--2,
    .about-events-concept__events--3 {
        grid-template-columns: 1fr;
    }

    .about-events-concept__event {
        padding: 1.25rem;
    }

    .about-events-concept__note {
        font-size: 0.85rem;
    }
}

/* ==========================================================================
   ÜBER EXTENDED – MERKMALE
   ========================================================================== */

.about-features {
    background: var(--qe-white);
}

.about-features__inner {
    width: min(calc(100% - 4rem), 1440px);
    margin-inline: auto;
    padding: 5rem 0;
}

.about-features__eyebrow {
    margin: 0 0 0.65rem;

    color: var(--qe-purple);
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.about-features__heading {
    margin: 0 0 3.5rem;

    color: var(--qe-black);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.15;
}


/* ==========================================================================
   MERKMAL-GRID
   ========================================================================== */

.about-features__grid {
    display: grid;
    gap: 1.5rem;
}


/* ==========================================================================
   1 MERKMAL
   ========================================================================== */

.about-features__grid:has(> .about-feature:first-child:last-child) {
    grid-template-columns: minmax(0, 1fr);
}

.about-features__grid:has(> .about-feature:first-child:last-child)
.about-feature {
    max-width: 50%;
}


/* ==========================================================================
   2 MERKMALE
   ========================================================================== */

.about-features__grid:has(
    > .about-feature:first-child:nth-last-child(2)
) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}


/* ==========================================================================
   3 MERKMALE
   ========================================================================== */

.about-features__grid:has(
    > .about-feature:first-child:nth-last-child(3)
) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}


/* ==========================================================================
   4 MERKMALE – 2 + 2
   ========================================================================== */

.about-features__grid:has(
    > .about-feature:first-child:nth-last-child(4)
) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}


/* ==========================================================================
   5 MERKMALE – 3 + 2
   ========================================================================== */

.about-features__grid:has(
    > .about-feature:first-child:nth-last-child(5)
) {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.about-features__grid:has(
    > .about-feature:first-child:nth-last-child(5)
)
.about-feature {
    grid-column: span 2;
}

.about-features__grid:has(
    > .about-feature:first-child:nth-last-child(5)
)
.about-feature:nth-child(4) {
    grid-column: 1 / span 3;
}

.about-features__grid:has(
    > .about-feature:first-child:nth-last-child(5)
)
.about-feature:nth-child(5) {
    grid-column: 4 / span 3;
}


/* ==========================================================================
   6 ODER MEHR MERKMALE – MAXIMAL 3 PRO ZEILE
   ========================================================================== */

.about-features__grid:not(
    :has(> .about-feature:first-child:nth-last-child(-n + 5))
) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}


/* ==========================================================================
   MERKMAL-KARTE
   ========================================================================== */

.about-feature {
    min-width: 0;
    padding: 2rem 2rem 2.25rem;

    background: var(--qe-white);
    border: 1px solid #dddddd;
    border-radius: 0.75rem;
}

.about-feature__dot {
    display: block;

    width: 8px;
    height: 8px;
    margin-bottom: 1.5rem;

    background: var(--qe-purple);
    border-radius: 50%;
}

.about-feature__title {
    margin: 0;

    color: var(--qe-black);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.25;
}

.about-feature__text {
    margin: 0.65rem 0 0;

    color: var(--qe-gray);
    font-size: 1rem;
    line-height: 1.5;
}

/* ==========================================================================
   ÜBER EXTENDED – MERKMALE MOBILE
   ========================================================================== */

@media (max-width: 900px) {

    .about-features__inner {
        width: min(calc(100% - 2rem), 1440px);
        padding: 3.5rem 0;
    }

    .about-features__eyebrow {
        font-size: 0.75rem;
    }

    .about-features__heading {
        margin-bottom: 2rem;
        font-size: 1.75rem;
    }

    /* Alle Varianten mit 1 bis 5 Merkmalen */
    .about-features__grid,
    .about-features__grid:has(> .about-feature:first-child:last-child),
    .about-features__grid:has(> .about-feature:first-child:nth-last-child(2)),
    .about-features__grid:has(> .about-feature:first-child:nth-last-child(3)),
    .about-features__grid:has(> .about-feature:first-child:nth-last-child(4)),
    .about-features__grid:has(> .about-feature:first-child:nth-last-child(5)),
    .about-features__grid:not(:has(> .about-feature:first-child:nth-last-child(-n + 5))) {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 1rem;
    }

    /* Alle Karten auf volle Breite */
    .about-features__grid > .about-feature,
    .about-features__grid:has(> .about-feature:first-child:nth-last-child(5)) > .about-feature:nth-child(4),
    .about-features__grid:has(> .about-feature:first-child:nth-last-child(5)) > .about-feature:nth-child(5) {
        box-sizing: border-box;
        grid-column: auto;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 1.5rem;
    }

    .about-feature__dot {
        margin-bottom: 1.25rem;
    }

    .about-feature__title {
        font-size: 1.2rem;
    }

    .about-feature__text {
        font-size: 0.95rem;
    }
}

/* ==========================================================================
   ÜBER EXTENDED – MOBILE POSITIONIERUNG ALLER MERKMALE
   ========================================================================== */

@media (max-width: 900px) {

    .about-features .about-features__grid > .about-feature {
        grid-column: auto !important;
        grid-row: auto !important;
        position: static;
        transform: none;
    }

}


/* Rechtliche Seiten: Impressum und Datenschutz */

.legal-page {
    padding: 4rem 0 6rem;
}

.legal-page__inner {
    width: min(calc(100% - 2rem), 850px);
    margin: 0 auto;
}

.legal-page__title {
    margin: 0 0 2.5rem;
    color: var(--qe-purple);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
}

.legal-page__content {
    font-size: 1rem;
    line-height: 1.7;
    overflow-wrap: break-word;
}

.legal-page__content h2 {
    margin: 2.5rem 0 1rem;
    font-size: 1.5rem;
    line-height: 1.3;
}

.legal-page__content h3 {
    margin: 2rem 0 0.75rem;
    font-size: 1.2rem;
    line-height: 1.4;
}

.legal-page__content p {
    margin: 0 0 1rem;
}

.legal-page__content ul,
.legal-page__content ol {
    margin: 0 0 1.5rem;
    padding-left: 1.5rem;
}

.legal-page__content li {
    margin-bottom: 0.5rem;
}

.legal-page__content a {
    color: var(--qe-purple);
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 600px) {
    .legal-page {
        padding: 2.5rem 0 4rem;
    }

    .legal-page__title {
        margin-bottom: 2rem;
    }

    .legal-page__content h2 {
        font-size: 1.3rem;
    }
}


/* Footer: Copyright */

.site-footer__bottom {
    width: min(100% - 2rem, 1440px);
    margin: 0 auto;
    padding: 1rem 0 1.5rem;
    border-top: 1px solid #e6e6e6;
}

.site-footer__copyright {
    margin: 0;
    color: #666;
    font-size: 0.85rem;
    line-height: 1.5;
}

@media (max-width: 600px) {
    .site-footer__bottom {
        margin-top: 0rem;
        padding-top: 1rem;
    }

    .site-footer__copyright {
        font-size: 0.8rem;
    }
}

/* Abstand zum Footer auf rechtlichen Seiten */

.legal-page {
    padding-bottom: 2rem;
}

/* Rechtliche Seiten: Abstand zum Footer reduzieren */

body:has(.legal-page) .site-footer {
    margin-top: 2rem;
}