/* Tag der offenen Tür – city landing page (Figma node 875:3985) */

.tdot-page {
    background: #ffffff;
    overflow-x: hidden;
    font-family: 'Montserrat', sans-serif;
    color: #281700;
}

.tdot-page .container {
    max-width: 1180px;
}

.tdot-page h1,
.tdot-page h2,
.tdot-page h3,
.tdot-page p {
    margin: 0;
}

/* ---------- Top bar ---------- */
.tdot-topbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 5;
    padding: 41px 0 0;
    background: transparent;
}

.tdot-topbar .container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.tdot-topbar img {
    height: 48px;
}

.tdot-topbar-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #281700;
    border-radius: 30px;
    padding: 12px 24px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    text-decoration: none;
    white-space: nowrap;
}

/* ---------- Hero ---------- */
.tdot-hero {
    position: relative;
    background: #fff4e6;
    padding: 120px 0 90px;
    overflow: hidden;
}

.tdot-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.tdot-hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(-90deg, rgba(0, 59, 196, 0) 26%, var(--tdot-blue, #2c52a3) 69%);
}

.tdot-hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 480px;
    grid-template-areas:
        "intro date"
        "cta   date";
    align-items: start;
    gap: 30px 60px;
    padding-top: 130px;
}

.tdot-hero-intro {
    grid-area: intro;
    display: flex;
    flex-direction: column;
    gap: 30px;
    color: #ffffff;
    min-width: 0;
}

.tdot-hero-cta {
    grid-area: cta;
}

.tdot-date-card {
    grid-area: date;
}

.tdot-hero-heading {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: clamp(40px, 5.5vw, 80px);
    line-height: 1.05;
    position: relative;
    display: inline-block;
}

.tdot-hero-heading .line-2 {
    color: var(--tdot-orange, #f38c00);
    display: block;
    position: relative;
}

.tdot-hero-heading .line-2::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 12px;
    background: url('../images/tdot/icon-vector-89.svg') left center / contain no-repeat;
}

.tdot-hero-text {
    max-width: 550px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tdot-hero-text .subheading {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 1.4;
}

.tdot-hero-text .description {
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    line-height: 1.75;
}

.tdot-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    background: var(--tdot-orange, #f38c00);
    color: #ffffff;
    border-radius: 100px;
    padding: 6px 6px 6px 30px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    width: fit-content;
}

.tdot-hero-cta:hover {
    color: #ffffff;
    opacity: 0.92;
}

.tdot-hero-cta svg {
    flex-shrink: 0;
}

.tdot-date-card {
    width: 100%;
    max-width: 480px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 74px 37px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.tdot-date-card-top {
    background: #fff4e6;
    padding: 30px 50px;
}

.tdot-date-card-top .weekday {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: 40px;
    color: #281700;
}

.tdot-date-card-top .year {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: 40px;
    color: var(--tdot-orange, #f38c00);
}

.tdot-date-card-top .date-label {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: 40px;
    color: #281700;
    display: block;
}

.tdot-date-card-bottom {
    padding: 30px 50px 40px;
}

.tdot-date-card-bottom .welcome-label {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    color: #666666;
    display: block;
    margin-bottom: 6px;
}

.tdot-date-card-bottom .time-label {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: 40px;
    color: #281700;
    display: block;
}

.tdot-date-card-bottom .city-label {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: 40px;
    color: var(--tdot-orange, #f38c00);
    display: block;
    line-height: 1;
    /* margin-top: 12px; */
}

/* ---------- Partner strip ---------- */
.tdot-partners {
    background: #f4f6fa;
    border-bottom: 0.5px solid #e0e0e0;
    padding: 40px 0 48px;
}

.tdot-partners-title {
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 32px;
}

.tdot-partners-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 32px 48px;
}

.tdot-partners-grid img {
    max-height: 50px;
    max-width: 150px;
    width: auto;
    object-fit: contain;
}

/* ---------- Activities mosaic ---------- */
.tdot-section {
    background: #ffffff;
    padding: 90px 0;
}

.tdot-section--muted {
    background: #f4f6fa;
}

.tdot-section-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 50px;
}

.tdot-section-header .heading-group .title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: clamp(28px, 3.5vw, 40px);
    color: #281700;
}

.tdot-section-header .heading-group .subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(20px, 2.5vw, 30px);
    color: #666666;
    margin-top: 8px;
}

.tdot-section-header .lead {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    color: #666666;
    max-width: 420px;
}

.tdot-section-title-centered {
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: clamp(28px, 3.5vw, 40px);
    line-height: 1.25;
    color: #281700;
    margin-bottom: 60px;
}

.tdot-section-title-centered .accent {
    color: var(--tdot-orange, #f38c00);
    display: block;
}

.tdot-mosaic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 180px;
    gap: 16px;
}

.tdot-mosaic-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    grid-column: span 2;
    grid-row: span 2;
}

.tdot-mosaic-item:nth-child(2) {
    grid-column: span 2;
}

.tdot-mosaic-item::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 55%;
    background: linear-gradient(to bottom, rgba(29, 29, 29, 0), #1d1d1d);
    opacity: 0.85;
}

.tdot-mosaic-label {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    background: var(--tdot-blue, #2c52a3);
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 18px;
    text-align: center;
    padding: 14px 20px;
    border-radius: 8px 8px 0 0;
    width: max-content;
    max-width: 90%;
}

/* ---------- Berufsfelder categories ---------- */
.tdot-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.tdot-category-card {
    display: flex;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    min-height: 220px;
}

.tdot-category-image {
    position: relative;
    flex: 0 0 34%;
    min-width: 0;
    background-size: cover;
    background-position: center;
}

.tdot-category-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 60%, #ffffff 100%);
}

.tdot-category-body {
    flex: 1;
    min-width: 0;
    padding: 24px 28px 24px 10px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tdot-category-body .category-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 1.3;
    color: #281700;
}

.tdot-category-body ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tdot-category-body li {
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    color: #000000;
}

.tdot-category-body li::before {
    content: "";
    flex-shrink: 0;
    width: 11px;
    height: 18px;
    background: var(--tdot-orange, #f38c00);
}

/* ---------- Stats banner ---------- */
.tdot-stats-title {
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: clamp(28px, 3.5vw, 40px);
    color: #281700;
    margin-bottom: 40px;
}

.tdot-stats-title--spaced {
    margin-top: 90px;
}

.tdot-stats-banner {
    background: var(--tdot-blue, #2c52a3);
    border-radius: 8px;
    box-shadow: 0 24px 54px rgba(1, 60, 196, 0.31);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.tdot-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    padding: 40px 30px;
    border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.tdot-stat:last-child {
    border-right: none;
}

.tdot-stat img {
    height: 85px;
    width: auto;
}

.tdot-stat-icon {
    position: relative;
    display: inline-flex;
}

.tdot-stat-icon .overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 42px;
}

.tdot-stat-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 22px;
    color: #ffffff;
    line-height: 1.5;
}

/* ---------- Anreise / map ---------- */
.tdot-location {
    position: relative;
    padding: 90px 0;
}

.tdot-location-map {
    position: absolute;
    inset: 0;
}

.tdot-location-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Google-Maps embed fills the same full-bleed box as the static map image */
.tdot-location-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.tdot-location-card {
    position: relative;
    z-index: 2;
    max-width: 580px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 22px 62px rgba(0, 0, 0, 0.4);
    padding: 40px;
}

.tdot-page .tdot-location-card-title {
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 30px;
    margin-bottom: 24px;
}

.tdot-location-row {
    display: flex;
    align-items: stretch;
    min-height: 104px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
}

.tdot-location-row .icon-cell {
    flex: 0 0 85px;
    background: rgba(224, 224, 224, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tdot-location-row .icon-cell img {
    width: 30px;
    height: 30px;
}

.tdot-location-row .label {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 16px 24px;
}

.tdot-location-row .label strong {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: #000000;
}

.tdot-location-row .label span {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    color: #666666;
}

/* Phone/e-mail rows carry no label, so the value itself is the primary text */
.tdot-location-row .label > span:only-child {
    font-weight: 500;
    color: #281700;
}

.tdot-info-note {
    display: flex;
    align-items: stretch;
    background: #fff4e6;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 24px;
}

.tdot-info-note .icon-cell {
    flex: 0 0 58px;
    background: #ed8a06;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tdot-info-note .icon-cell img {
    width: 28px;
    height: 28px;
}

.tdot-info-note p {
    padding: 14px 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    color: #281700;
    line-height: 1.6;
}

.tdot-location-map-inline {
    display: none;
}

.tdot-route-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--tdot-blue, #2c52a3);
    color: #ffffff;
    border-radius: 8px;
    padding: 20px 16px;
    text-decoration: underline;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
}

.tdot-route-btn:hover {
    color: #ffffff;
}

.tdot-route-btn img {
    width: 24px;
    height: 24px;
}

/* ---------- Footer bar ---------- */
.tdot-footer {
    /* Overrides sitewide css/style.css `footer { margin-top: 180px }`, meant for the global site footer.php, not this template's own <footer>. */
    margin-top: 0;
    background: var(--tdot-blue, #2c52a3);
    padding: 32px 0;
}

.tdot-footer .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.tdot-footer p,
.tdot-footer a,
.tdot-footer-links span {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    color: #ffffff;
    margin: 0;
}

.tdot-footer-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.tdot-footer-links a {
    text-decoration: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .tdot-topbar {
        /* position: static; */
        padding: 24px 0 0;
    }

    .tdot-hero {
        /* Clear the absolute top bar so the heading no longer sits on the logo */
        padding-top: 100px;
    }

    /*
     * Stacked layout gets its own background presentation (Figma mobile
     * nodes 908:7467 / 908:7469). The desktop wash runs left-to-right,
     * which on a narrow screen leaves the copy on the bright building and
     * balloon side of the photo; here the photo is cropped to the crowd in
     * front of the building and the blue runs top-down, so heading, lead
     * text and date card sit on solid colour and stay readable.
     */
    .tdot-hero-bg {
        background-size: auto 119%;
        background-position: 63% 80%;
    }

    .tdot-hero-bg::after {
        background: linear-gradient(180deg,
            var(--tdot-blue, #2c52a3) 0%,
            var(--tdot-blue, #2c52a3) 32%,
            rgba(44, 82, 163, 0) 131%);
    }

    .tdot-hero .container {
        padding-top: 0;
        grid-template-columns: 1fr;
        grid-template-areas:
            "intro"
            "date"
            "cta";
    }

    .tdot-date-card {
        max-width: 100%;
    }

    .tdot-mosaic {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 160px;
    }

    .tdot-categories {
        grid-template-columns: 1fr;
    }

    .tdot-category-card {
        flex-direction: column;
    }

    .tdot-category-image {
        height: 180px;
    }

    .tdot-stats-banner {
        grid-template-columns: 1fr;
    }

    .tdot-stat {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    }

    .tdot-stat:last-child {
        border-bottom: none;
    }
}

/* ---------- Location / Anreise: flat stack from tablet down (Figma 908:7466) ---------- */
@media (max-width: 991px) {
    .tdot-location {
        /* Figma mobile: 50px above the heading, 36px down to the footer */
        padding: 50px 0 36px;
    }

    /* The full-bleed background map is desktop-only; mobile shows it inline in the card */
    .tdot-location-map {
        display: none;
    }

    .tdot-location-card {
        margin: 0;
        padding: 0;
        max-width: none;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .tdot-page .tdot-location-card-title {
        text-align: left;
        margin-bottom: 20px;
    }

    .tdot-location-row {
        min-height: 101px;
        margin-bottom: 16px;
    }

    .tdot-location-row .icon-cell {
        flex: 0 0 70px;
    }

    .tdot-location-row .icon-cell img {
        width: 26px;
        height: 26px;
    }

    .tdot-location-row .label {
        padding: 12px 16px;
        gap: 4px;
    }

    .tdot-location-row .label strong {
        font-size: 18px;
    }

    .tdot-location-row .label span {
        font-size: 16px;
    }

    .tdot-info-note {
        margin-bottom: 20px;
    }

    .tdot-info-note .icon-cell {
        flex: 0 0 70px;
    }

    .tdot-info-note .icon-cell img {
        width: 30px;
        height: 30px;
    }

    .tdot-info-note p {
        padding: 16px 14px 16px 12px;
        font-size: 14px;
        line-height: 22px;
    }

    .tdot-location-map-inline {
        display: block;
        height: 393px;
        border-radius: 8px;
        overflow: hidden;
        margin-bottom: 8px;
    }

    .tdot-location-map-inline img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .tdot-location-map-inline iframe {
        display: block;
        width: 100%;
        height: 100%;
        border: 0;
    }

    .tdot-route-btn {
        padding: 20px 16px;
        font-size: 18px;
    }
}

/* ---------- Mobile (Figma node 908:7466, 390px frame) ---------- */
@media (max-width: 767px) {
    .tdot-page .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    /* Top bar: logo only, no floating CTA pill on mobile */
    .tdot-topbar {
        padding: 20px 0 0;
    }

    .tdot-topbar img {
        /* Figma mobile: logo occupies y 20-78 */
        height: 58px;
    }

    .tdot-topbar-cta {
        display: none;
    }

    /* Hero: heading, text, date card, CTA all stacked full-width in that order */
    .tdot-hero {
        /* Figma mobile: heading top 124, section ends 26px under the CTA */
        padding: 124px 0 26px;
    }

    .tdot-hero .container {
        grid-template-columns: 1fr;
        grid-template-areas:
            "intro"
            "date"
            "cta";
        gap: 20px;
        padding-top: 0;
    }

    .tdot-hero-heading {
        font-size: 40px;
        line-height: 50px;
    }

    /* The swoosh underline is a desktop-only flourish; the 390px Figma
       frame runs the heading straight into the subheading without it. */
    .tdot-hero-heading .line-2::after {
        display: none;
    }

    /* Figma mobile: the heading block runs straight into the subheading */
    .tdot-hero-intro {
        gap: 0;
    }

    .tdot-hero-text .subheading {
        font-size: 20px;
        line-height: 30px;
    }

    .tdot-hero-text .description {
        font-size: 14px;
        line-height: 24px;
    }

    .tdot-hero-cta {
        width: 100%;
        justify-content: center;
        padding: 21px 24px;
        line-height: 28px;
        gap: 0;
        /* container row gap is 20px; Figma leaves 30px under the date card */
        margin-top: 10px;
    }

    .tdot-hero-cta svg {
        display: none;
    }

    .tdot-date-card {
        max-width: 100%;
        border-radius: 8px;
    }

    .tdot-date-card-top,
    .tdot-date-card-bottom {
        padding: 20px;
    }

    .tdot-date-card-top .weekday,
    .tdot-date-card-top .year,
    .tdot-date-card-top .date-label,
    .tdot-date-card-bottom .time-label,
    .tdot-date-card-bottom .city-label {
        font-size: 28px;
        line-height: 35px;
    }

    .tdot-date-card-top .date-label {
        margin-top: 6px;
    }

    .tdot-date-card-bottom .welcome-label {
        font-size: 14px;
        line-height: 21px;
        margin-bottom: 3px;
    }

    .tdot-date-card-bottom .city-label {
        margin-top: 6px;
    }

    /* Partner logos: 2-column grid instead of centered flex-wrap */
    .tdot-partners {
        padding: 50px 0 30px;
    }

    .tdot-partners-title {
        /* Figma mobile: heading sits flush left, logos stay centred in the grid */
        text-align: left;
        font-size: 20px;
        line-height: 28px;
        margin-bottom: 16px;
    }

    .tdot-partners-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        /* Figma mobile: 165x55 cells, 6px row gap / 20px column gap */
        grid-auto-rows: 55px;
        gap: 6px 20px;
        justify-items: center;
        align-items: center;
    }

    .tdot-partners-grid img {
        max-height: 55px;
    }

    /* Section spacing/titles */
    .tdot-section {
        padding: 43px 0 46px;
    }

    .tdot-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 29px;
    }

    .tdot-section-header .heading-group .title {
        font-size: 24px;
        line-height: 34px;
    }

    .tdot-section-header .heading-group .subtitle {
        font-size: 20px;
        line-height: 30px;
    }

    .tdot-section-header .lead {
        font-size: 16px;
        line-height: 26px;
        max-width: 100%;
    }

    .tdot-section-title-centered {
        text-align: left;
        font-size: 24px;
        line-height: 34px;
        margin-bottom: 21px !important;
    }

    /* Activity mosaic: full-width stacked cards */
    .tdot-mosaic {
        grid-template-columns: 1fr;
        grid-auto-rows: 275px;
        gap: 20px;
    }

    .tdot-mosaic-item,
    .tdot-mosaic-item:nth-child(2) {
        grid-column: span 1;
        /* the desktop rule spans two rows, which doubled every mobile card */
        grid-row: span 1;
    }

    /* Figma mobile: 15px pill padding on 30px leading, so labels stay one line */
    .tdot-mosaic-label {
        padding: 15px;
        line-height: 30px;
    }

    /* Category cards: horizontal scroll-snap carousel with a peek of the next card */
    .tdot-categories {
        display: flex;
        grid-template-columns: none;
        align-items: stretch;
        gap: 20px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        margin: 0 -20px 0 0;
        padding: 0 20px 4px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .tdot-categories::-webkit-scrollbar {
        display: none;
    }

    .tdot-category-card {
        flex: 0 0 325px;
        scroll-snap-align: start;
        flex-direction: column;
        /* Height comes from the tallest card in the row, not a fixed 489px,
           so short cards don't trail a block of empty white */
        min-height: 0;
        height: auto;
        max-width: 95%;
    }

    .tdot-category-image {
        height: 180px;
        flex: 0 0 180px;
    }

    /* Mobile stacks image above text, so the fade runs top-to-bottom */
    .tdot-category-image::after {
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 45%, #ffffff 100%);
    }

    .tdot-category-body {
        padding: 9px 20px 24px;
        gap: 0;
    }

    .tdot-category-body .category-title {
        font-size: 22px;
        line-height: 32px;
    }

    .tdot-category-body ul {
        gap: 8px;
        margin-top: 12px;
    }

    .tdot-category-body li {
        font-size: 18px;
        line-height: 30px;
        gap: 8px;
        align-items: flex-start;
    }

    .tdot-category-body li::before {
        margin-top: 6px;
    }

    .tdot-page .tdot-stats-title {
        text-align: left;
        font-size: 24px;
        line-height: 34px;
        /* !important beats the .mb-3 utility on the same element */
        margin-bottom: 20px !important;
    }

    /*
     * The carousel carries .pb-3 .mb-5 utilities that add ~64px on mobile.
     * Keep only the 4px that lets the card shadow show, and let
     * .tdot-stats-title--spaced own the 42px gap Figma asks for.
     */
    .tdot-page .tdot-categories {
        margin-bottom: 0 !important;
        padding-bottom: 4px !important;
    }

    /* .tdot-page p { margin: 0 } outranks a bare class here, so scope it */
    .tdot-page .tdot-stats-title--spaced {
        margin-top: 38px;
    }

    .tdot-stats-banner {
        max-width: 350px;
        margin: 0 auto 0 0;
    }

    .tdot-stat {
        padding: 45px 26px;
        gap: 12px;
    }

    .tdot-stat img {
        height: 85px;
    }

    .tdot-stat-text {
        font-size: 20px;
        line-height: 30px;
    }

    .tdot-page .tdot-location-card-title {
        font-size: 26px;
        line-height: 34px;
    }

    /* Keeps the marker in frame once the wide map is cropped to a portrait box */
    .tdot-location-map-inline img {
        object-position: 64% center;
    }

    /* Footer: stack copyright above links, links wrap */
    .tdot-footer .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .tdot-footer {
        padding: 30px 0;
    }

    .tdot-footer .container {
        gap: 18px;
    }

    .tdot-footer p {
        font-size: 14px;
    }

    .tdot-footer-links {
        flex-wrap: wrap;
        gap: 8px 16px;
    }

    .tdot-footer-links a,
    .tdot-footer-links span {
        font-size: 15px;
    }
}

/* ---------- Anmeldung modal (Figma 895:5440 / 899:6610 / 904:7169) ---------- */
body.tdot-no-scroll {
    overflow: hidden;
}

.tdot-anmeldung {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1050;
    overflow-y: auto;
    background: #ffffff;
    font-family: 'Poppins', sans-serif;
    color: #281700;
}

.tdot-anmeldung.is-open {
    display: block;
    animation: tdot-anmeldung-in 0.2s ease-out;
}

.tdot-anmeldung :where(p, label) {
    margin: 0;
}

@keyframes tdot-anmeldung-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Own top bar — the overlay covers the page header */
.tdot-anmeldung-bar {
    position: sticky;
    top: 0;
    z-index: 2;
    height: 96px;
    background: #ffffff;
    border-bottom: 1px solid #e0e0e0;
}

.tdot-anmeldung-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    height: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 15px;
}

.tdot-anmeldung-logo {
    height: 57px;
    width: auto;
}

.tdot-anmeldung-close {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    background: #f0f2f6;
    border: 1px solid #e0e0e0;
    border-radius: 30px;
    padding: 0 41px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 30px;
    color: #281700;
    cursor: pointer;
}

.tdot-anmeldung-close:hover {
    background: #e6e9ef;
}

.tdot-anmeldung-close-icon {
    display: none;
    width: 24px;
    height: 24px;
}

.tdot-anmeldung-body {
    position: relative;
    padding: 80px 15px 100px;
}

/* Soft wash behind the cards, fading out below them */
.tdot-anmeldung-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 578px;
    background: linear-gradient(180deg, #f4f6fa 0%, rgba(244, 246, 250, 0) 100%);
    pointer-events: none;
}

.tdot-anmeldung-grid {
    position: relative;
    display: grid;
    grid-template-columns: 498px 332px;
    gap: 20px;
    align-items: start;
    max-width: 850px;
    margin: 0 auto;
}

.tdot-anmeldung-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 75px 21px rgba(0, 0, 0, 0), 0 48px 19px rgba(0, 0, 0, 0.02), 0 27px 16px rgba(0, 0, 0, 0.05), 0 12px 12px rgba(0, 0, 0, 0.09), 0 3px 7px rgba(0, 0, 0, 0.1);
}

/* ---------- Form ---------- */
.tdot-anmeldung-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 30px;
}

.tdot-anmeldung-form[hidden] {
    display: none;
}

.tdot-anmeldung-title {
    font-size: 20px;
    line-height: 30px;
    font-weight: 700;
    color: #281700;
}

.tdot-field-row {
    display: flex;
    gap: 20px;
}

.tdot-field-row .tdot-field {
    flex: 1 1 0;
    min-width: 0;
}

.tdot-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tdot-field-label {
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    color: #281700;
}

.tdot-field input,
.tdot-field select {
    width: 100%;
    height: 46px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 0 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    line-height: 24px;
    color: #281700;
}

.tdot-field input:focus,
.tdot-field select:focus {
    outline: none;
    border-color: var(--tdot-blue, #2c52a3);
}

.tdot-field.has-error input,
.tdot-field.has-error select {
    border-color: #c62828;
}

.tdot-field-error {
    font-size: 12px;
    line-height: 18px;
    color: #c62828;
}

.tdot-field-error:empty {
    display: none;
}

.tdot-select {
    position: relative;
}

.tdot-select select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 40px;
    cursor: pointer;
}

.tdot-select select.is-placeholder {
    color: rgba(102, 102, 102, 0.5);
}

.tdot-select img {
    position: absolute;
    top: 50%;
    right: 12px;
    width: 16px;
    height: 16px;
    transform: translateY(-50%);
    pointer-events: none;
}

/* The "Terminhinweis" caption sits on a 24px line in the design */
.tdot-field--hint .tdot-field-label {
    line-height: 24px;
}

.tdot-hint-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #f4f6fa;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 11px 12px;
}

.tdot-hint-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    line-height: 22px;
    font-weight: 500;
    color: #281700;
}

.tdot-hint-row img {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.tdot-anmeldung-consent {
    max-width: 379px;
    margin: 8px 0 4px;
    font-size: 12px;
    line-height: 20px;
    color: #666666;
}

.tdot-anmeldung-consent a {
    color: var(--tdot-blue, #2c52a3);
    text-decoration: underline;
}

.tdot-anmeldung-form-error {
    font-size: 13px;
    line-height: 20px;
    color: #c62828;
}

.tdot-anmeldung-submit {
    height: 50px;
    background: var(--tdot-orange, #f38c00);
    border: none;
    border-radius: 100px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    color: #ffffff;
    cursor: pointer;
    transition: filter 0.15s ease;
}

.tdot-anmeldung-submit:hover {
    filter: brightness(0.94);
}

.tdot-anmeldung-submit:disabled,
.tdot-anmeldung-submit.is-loading {
    opacity: 0.6;
    cursor: default;
    filter: none;
}

/* ---------- Confirmation ---------- */
.tdot-anmeldung-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 78px 69px 81px;
}

.tdot-anmeldung-success[hidden] {
    display: none;
}

.tdot-anmeldung-success:focus {
    outline: none;
}

.tdot-anmeldung-success-icon svg {
    display: block;
    width: 76px;
    height: 76px;
}

.tdot-anmeldung-success-heading {
    margin-top: 24px;
    font-size: 30px;
    line-height: 40px;
    font-weight: 600;
    color: #281700;
}

.tdot-anmeldung-success-subheading {
    margin-top: 8px;
    font-size: 18px;
    line-height: 20px;
    color: #666666;
}

.tdot-anmeldung-success-text {
    margin-top: 12px;
    font-size: 14px;
    line-height: 20px;
    color: #281700;
}

.tdot-anmeldung-download {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    height: 120px;
    margin-top: 24px;
    padding: 0 20px;
    background: #f4f6fa;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
}

.tdot-anmeldung-download img {
    width: 44px;
    height: 50px;
}

.tdot-anmeldung-download span {
    font-size: 14px;
    line-height: 20px;
    color: #281700;
    text-decoration: underline;
}

.tdot-anmeldung-download:hover {
    background: #eceff5;
}

.tdot-anmeldung-success-footnote {
    margin-top: 24px;
    font-size: 14px;
    line-height: 20px;
    font-style: italic;
    color: #281700;
}

.tdot-anmeldung-success-logo {
    width: 74px;
    height: 30px;
    margin-top: 11px;
}

/* ---------- Side column ---------- */
.tdot-anmeldung-aside {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tdot-anmeldung-photo {
    height: 316px;
    border-radius: 8px;
    background-color: #f4f6fa;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.tdot-anmeldung-place {
    position: relative;
    display: flex;
    align-items: flex-end;
    height: 270px;
    padding: 20px;
    border-radius: 12px;
    overflow: hidden;
}

.tdot-anmeldung-place-bg {
    position: absolute;
    inset: 0;
    background-color: var(--tdot-blue, #2c52a3);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    filter: blur(4.5px);
    /* Scale up so the blur does not expose the card edges */
    transform: scale(1.06);
}

.tdot-anmeldung-place::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(44, 82, 163, 0) 0%, var(--tdot-blue, #2c52a3) 100%);
}

.tdot-anmeldung-place-text {
    position: relative;
    z-index: 1;
}

.tdot-anmeldung-place-text .name {
    font-size: 20px;
    line-height: 23px;
    font-weight: 700;
    color: #fafbfd;
}

.tdot-anmeldung-place-text .address {
    margin-top: 4px;
    font-size: 16px;
    line-height: 24px;
    color: #f8fafc;
}

@media (prefers-reduced-motion: reduce) {
    .tdot-anmeldung.is-open {
        animation: none;
    }

    .tdot-anmeldung-submit {
        transition: none;
    }
}

@media (max-width: 991px) {
    .tdot-anmeldung-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
    }

    .tdot-anmeldung-body {
        padding-top: 48px;
    }

    .tdot-anmeldung-aside {
        flex-direction: row;
    }

    .tdot-anmeldung-aside > * {
        flex: 1 1 0;
        min-width: 0;
    }

    .tdot-anmeldung-photo,
    .tdot-anmeldung-place {
        height: 240px;
    }

    .tdot-anmeldung-success {
        padding: 56px 40px 60px;
    }
}

/* Mobile (Figma 939:1158 / 940:1854 / 940:2039): no card, circular close
   button, only the location image, and the name fields stay side by side. */
@media (max-width: 767px) {
    .tdot-anmeldung-bar {
        height: 98px;
    }

    .tdot-anmeldung-bar-inner {
        max-width: none;
        padding: 0 20px;
    }

    .tdot-anmeldung-close {
        width: 50px;
        height: 50px;
        padding: 0;
        border-radius: 50%;
    }

    .tdot-anmeldung-close-label {
        display: none;
    }

    .tdot-anmeldung-close-icon {
        display: block;
    }

    .tdot-anmeldung-body {
        padding: 24px 20px 20px;
    }

    /* Wash runs to y578 of the design, i.e. 480px below the 98px bar */
    .tdot-anmeldung-body::before {
        height: 480px;
    }

    .tdot-anmeldung-grid {
        max-width: none;
        gap: 20px;
    }

    /* The form sits straight on the page — no card on mobile */
    .tdot-anmeldung-card {
        background: none;
        border-radius: 0;
        box-shadow: none;
    }

    .tdot-anmeldung-form {
        gap: 20px;
        /* 30px to the image card below, against the grid's 20px */
        padding: 0 0 10px;
    }

    .tdot-anmeldung-title {
        /* Design leaves only 11px between title and first label */
        margin-bottom: -9px;
    }

    .tdot-field-row {
        gap: 20px;
    }

    .tdot-anmeldung-consent {
        max-width: none;
        /* Design leaves 17px from the hint box, against the form's 20px gap */
        margin: -3px 0 0;
    }

    .tdot-anmeldung-aside {
        flex-direction: column;
    }

    /* Undo the tablet row sizing, which would otherwise collapse the heights */
    .tdot-anmeldung-aside > * {
        flex: 0 0 auto;
    }

    /* Only the location card ships on mobile */
    .tdot-anmeldung-photo {
        display: none;
    }

    .tdot-anmeldung-place {
        height: 270px;
    }

    .tdot-anmeldung-success {
        /* 40px below the bar, of which the body already contributes 24px */
        padding: 16px 0 0;
    }

    .tdot-anmeldung-success-icon svg {
        width: 65px;
        height: 65px;
    }

    .tdot-anmeldung-success-heading {
        margin-top: 12px;
    }

    .tdot-anmeldung-success-text {
        max-width: 300px;
        line-height: 24px;
    }

    .tdot-anmeldung-download {
        margin-top: 18px;
        padding: 0 16px;
    }

    .tdot-anmeldung-success-footnote {
        margin-top: 20px;
    }

    .tdot-anmeldung-success-logo {
        margin-top: 16px;
    }
}
