﻿.dynamic-content {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 14px;
    width: min(86vw, 860px);
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}

.content-article {
    grid-column: 1 / -1;
    min-width: 0;
    margin: 0;
}

.article-title,
.article-text,
.article-text p {
    margin-top: 0;
}

.article-text p:last-child {
    margin-bottom: 0;
}

.template-intertitle,
.template-introtitle {
    margin-bottom: clamp(24px, 2.2vw, 30px);
    border-bottom: 1px solid var(--rule);
}

.template-intertitle:not(:first-of-type),
.template-introtitle:not(:first-of-type) {
    margin-top: clamp(70px, 7vw, 92px);
}

.template-intertitle .article-title,
.template-introtitle .article-title,
.template-intertitle .article-text,
.template-introtitle .article-text {
    margin-bottom: 4px;
    font-size: clamp(0.7rem, 0.72vw, 0.78rem);
    font-weight: 400;
    line-height: 1.2;
}

.template-title {
    margin-bottom: 10px;
}

.template-title .article-title {
    margin-bottom: 6px;
    font-size: clamp(2rem, 2.65vw, 2.45rem);
    font-weight: 400;
    line-height: 1.02;
}

.template-title .article-text {
    font-size: clamp(1rem, 1.1vw, 1.08rem);
    line-height: 1.05;
}

.template-text .article-title {
    margin-bottom: 6px;
    font-size: 1.2rem;
    font-weight: 400;
}

.template-text .article-text {
    font-size: clamp(0.73rem, 0.76vw, 0.8rem);
    line-height: 1.14;
}

.template-text .article-text p {
    margin-bottom: 8px;
}

.template-layout {
    display: none;
}

/* Grosses Artikelbild – Article.TemplateName = "imagebig" */
.template-imagebig {
    margin-top: clamp(34px, 5vw, 64px);
}

.template-imagebig > .article-title,
.template-imagebig > .article-text {
    display: none;
}

.image-big-list {
    display: grid;
    gap: clamp(18px, 3vw, 30px);
}

.image-big {
    margin: 0;
}

.image-big img {
    display: block;
    width: 100%;
    height: auto;
}

.image-big figcaption {
    margin-top: 5px;
    font-size: 0.65rem;
    line-height: 1.2;
    text-align: right;
}

.template-schedulesmall + .template-title,
.template-schedulebig + .template-title {
    margin-top: clamp(44px, 5vw, 72px);
}

.template-schedulesmall,
.template-schedulebig {
    display: flex;
    flex-direction: column;
    margin-top: clamp(22px, 2.5vw, 30px);
    text-align: center;
}

.template-schedulesmall .article-title,
.template-schedulebig .article-title {
    order: 1;
    margin: 0;
    padding: 6px 0 5px;
    border-top: 1px solid var(--rule-strong);
    border-bottom: 1px solid var(--rule-strong);
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    line-height: 1.1;
    text-transform: uppercase;
}

.template-schedulesmall .article-text,
.template-schedulebig .article-text {
    order: 3;
    margin: 0;
    padding: 8px 0;
    border-bottom: 1px solid var(--rule);
    font-size: 0.76rem;
    line-height: 1.15;
}

.schedule-small,
.schedule-big {
    order: 2;
}

.schedule-small-years,
.schedule-small-dates {
    display: grid;
    grid-template-columns:
        repeat(var(--schedule-columns), minmax(0, 1fr));
}

.schedule-small-years {
    border-bottom: 1px solid var(--rule-strong);
    font-size: 0.7rem;
    line-height: 1.75;
}

.schedule-small-dates,
.schedule-big {
    border-bottom: 1px solid var(--rule-strong);
}

.schedule-small-dates time {
    padding: 6px 4px 5px;
    font-size: clamp(0.95rem, 1.05vw, 1.08rem);
    line-height: 1.1;
    white-space: nowrap;
}

.schedule-big-row {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 0.35em;
    min-height: 29px;
    padding: 4px 10px;
    border-bottom: 1px solid var(--rule);
    font-size: clamp(0.95rem, 1.05vw, 1.08rem);
    line-height: 1.1;
}

.schedule-big-row:last-child {
    border-bottom: 0;
}

.schedule-small-details,
.schedule-big-details {
    display: block;
    order: 4;
    margin-top: 20px;
    color: inherit;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-decoration: none;
    text-transform: uppercase;
}

.schedule-small-details:hover,
.schedule-big-details:hover {
    opacity: 0.65;
}

.schedule-small-details span,
.schedule-big-details span {
    letter-spacing: 0;
}

.template-prices {
    grid-column: auto;
    margin-top: 7px;
    border-top: 1px solid var(--rule-strong);
}

.template-prices .article-title,
.template-priceslong .article-title {
    display: none;
}

.template-prices .article-text,
.template-priceslong .article-text {
    font-size: 0.78rem;
    line-height: 1.15;
}

.template-prices .article-text p,
.template-priceslong .article-text p {
    margin: 0;
    padding: 5px 8px;
    border-bottom: 1px solid var(--rule);
}

.template-prices .article-text strong {
    font-weight: 700;
}

.template-priceslong {
    grid-column: 1 / -1;
    margin-top: 20px;
    border-top: 1px solid var(--rule-strong);
}

.template-contact {
    margin-top: clamp(42px, 6vw, 76px);
}

.template-contact .article-title {
    margin-bottom: 14px;
    font-size: clamp(1.65rem, 2vw, 1.9rem);
    font-weight: 400;
    line-height: 1.1;
}

.template-contact .article-text {
    margin-bottom: 14px;
    font-size: 0.85rem;
}

.contact-form {
    text-align: left;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 14px;
}

.contact-address-fields,
.contact-message-fields {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    margin: 0;
    padding: 5px 4px 4px;
    border: 0;
    border-top: 1px solid var(--rule-strong);
    border-radius: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-size: 0.78rem;
    line-height: 1.15;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(17, 17, 17, 0.42);
    opacity: 1;
}

.contact-form input:focus,
.contact-form textarea:focus {
    background: rgba(255, 255, 255, 0.16);
    border-top-color: var(--ink);
}

.contact-form textarea {
    min-height: 112px;
    resize: vertical;
}

.contact-form [data-valmsg-for] {
    color: #7c1919;
    font-size: 0.68rem;
}

.contact-validation {
    margin-bottom: 10px;
    color: #7c1919;
    font-size: 0.78rem;
    text-align: center;
}

.contact-validation:empty {
    display: none;
}

.contact-validation ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.contact-submit {
    display: block;
    margin: 22px auto 0;
    padding: 5px 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
}

.contact-submit span {
    letter-spacing: 0;
}

.contact-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-success {
    margin: 28px 0;
    padding: 10px;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    font-size: 0.85rem;
}

.footer-item {
    margin-top: clamp(42px, 7vw, 88px);
    padding: 16px 24px 9px;
    font-size: 0.58rem;
    line-height: 1.2;
    text-align: center;
}

.sponsor-footer {
    width: min(100%, var(--frame-width));
    margin: 0 auto;
}

.sponsor-footer-logos {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(120px, 1fr));
    align-items: center;
    gap: clamp(18px, 3vw, 36px);
    min-height: 74px;
    padding: 14px clamp(28px, 5vw, 58px);
    background: var(--paper);
}

.sponsor-footer-item {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
}

.sponsor-footer-item a {
    display: block;
}

.sponsor-footer-item img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 35px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .dynamic-content {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .template-intertitle:not(:first-of-type),
    .template-introtitle:not(:first-of-type) {
        margin-top: 56px;
    }

    .template-title .article-title {
        font-size: clamp(1.8rem, 9vw, 2.15rem);
    }

    .template-title .article-text {
        font-size: 1rem;
        line-height: 1.18;
    }

    .template-imagebig {
        margin-top: 36px;
    }

    .template-prices,
    .template-priceslong {
        grid-column: 1;
    }

    .template-prices {
        margin-top: 12px;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .template-schedulesmall + .template-title,
    .template-schedulebig + .template-title {
        margin-top: 40px;
    }

    .schedule-small {
        overflow-x: auto;
    }

    .schedule-small-years,
    .schedule-small-dates {
        min-width: 620px;
    }

    .schedule-big-row {
        flex-wrap: wrap;
        min-height: 0;
        padding: 7px 5px;
        font-size: 0.95rem;
    }

    .footer-item {
        margin-top: 44px;
    }

    .sponsor-footer-logos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
        padding: 18px 20px;
    }
}

@media (max-width: 768px) {
    .schedule-small {
        width: 100%;
        overflow: visible;
    }

    .schedule-small-years {
        display: none;
    }

    .schedule-small-dates {
        display: block;
        min-width: 0;
        border-top: 1px solid var(--rule-strong);
    }

    .schedule-small-dates time {
        display: block;
        width: 100%;
        padding: 8px 5px;
        border-bottom: 1px solid var(--rule);
        font-size: 1rem;
        line-height: 1.15;
        white-space: normal;
        text-align: center;
    }

    .schedule-small-dates time:last-child {
        border-bottom: 0;
    }

    .template-schedulesmall .article-text {
        padding: 10px 8px;
        line-height: 1.25;
    }

    .schedule-small-details {
        margin-top: 18px;
    }
}

@media (max-width: 420px) {
    .sponsor-footer-logos {
        grid-template-columns: 1fr;
    }
}

