/* =================================================
   WERBESEITE – INHALT IM STANDARD-TEMPLATE
================================================= */

.akh-werbung {
    color: var(--antenne-text, #17181b);
    font-family: inherit;
}

.akh-werbung *,
.akh-werbung-form * {
    box-sizing: border-box;
}

.akh-werbung .akh-werbung-kicker {
    display: block;
    margin: 0 0 10px;
    color: #777d86;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .10em;
    line-height: 1.4;
    text-transform: uppercase;
}

.akh-werbung h2,
.akh-werbung h3 {
    text-transform: none;
}

.akh-werbung .akh-werbung-hero {
    margin: 0 0 42px;
    padding: 42px;
    overflow: hidden;
    border-radius: 22px;

    background:
        radial-gradient(
            circle at 95% 10%,
            rgba(255, 255, 255, .15),
            transparent 24rem
        ),
        linear-gradient(125deg, #e30613, #9b0812);

    color: #ffffff;
}

.akh-werbung .akh-werbung-hero .akh-werbung-kicker {
    color: #ffffff;
}

.akh-werbung .akh-werbung-hero h1 {
    margin: 0 0 20px;
    color: #ffffff;
    font-size: clamp(30px, 4.5vw, 52px);
    font-weight: 900;
    line-height: 1.06;
    letter-spacing: -.045em;
}

.akh-werbung .akh-werbung-hero p {
    max-width: 680px;
    margin: 0 0 25px;
    color: #ffffff;
    font-size: 17px;
    line-height: 1.6;
}

.akh-werbung .akh-werbung-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 46px;
    padding: 12px 20px;
    border-radius: 999px;
    background: #ffffff;

    color: #9b0812;
    font-size: 14px;
    font-weight: 850;
    text-decoration: none;
}

.akh-werbung .akh-werbung-button:hover {
    background: #f4f5f7;
    color: #9b0812;
}

.akh-werbung .akh-werbung-section {
    margin: 0;
    padding: 24px 0 36px;
}

.akh-werbung .akh-werbung-section-head {
    position: relative;
    margin: 0 0 25px;
    padding-left: 19px;
}

.akh-werbung .akh-werbung-section-head::before {
    content: "";
    position: absolute;
    top: 3px;
    bottom: 4px;
    left: 0;
    width: 5px;
    border-radius: 10px;
    background: var(--antenne-red, #e30613);
}

.akh-werbung .akh-werbung-section-head h2,
.akh-werbung .akh-werbung-contact h2 {
    margin: 0;
    color: var(--antenne-text, #17181b);
    font-size: clamp(27px, 3.5vw, 38px);
    font-weight: 850;
    line-height: 1.12;
    letter-spacing: -.035em;
}

/* Angebotskarten */
.akh-werbung .akh-werbung-offers {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.akh-werbung .akh-werbung-offer {
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin: 0;
    padding: 26px;
    border: 1px solid #e4e6ea;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(21, 23, 28, .05);
}

.akh-werbung .akh-werbung-label {
    align-self: flex-start;
    margin-bottom: 18px;
    padding: 6px 10px;
    border-radius: 99px;
    background: rgba(227, 6, 19, .08);
    color: var(--antenne-red, #e30613);

    font-size: 10px;
    font-weight: 850;
    letter-spacing: .08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.akh-werbung .akh-werbung-offer h3 {
    margin: 0 0 16px;
    color: var(--antenne-text, #17181b);
    font-size: 27px;
    font-weight: 850;
    line-height: 1.08;
    letter-spacing: -.035em;
}

.akh-werbung .akh-werbung-offer p {
    margin: 0 0 22px;
    color: #565a62;
    font-size: 15px;
    line-height: 1.65;
}

.akh-werbung .akh-werbung-offer > a {
    margin-top: auto;
    color: var(--antenne-red, #e30613);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.5;
    text-decoration: none;
}

/* Regionaler Zwischenbereich */
.akh-werbung .akh-werbung-region {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
    margin: 12px 0 24px;
    padding: 32px;
    border-radius: 18px;
    background: #f5f6f8;
}

.akh-werbung .akh-werbung-region h2 {
    margin: 0;
    color: var(--antenne-text, #17181b);
    font-size: clamp(25px, 3vw, 34px);
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -.035em;
}

.akh-werbung .akh-werbung-region p {
    margin: 0;
    color: #565a62;
    font-size: 16px;
    line-height: 1.7;
}

/* Ansprechpartner */
.akh-werbung .akh-werbung-team {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.akh-werbung .akh-werbung-person {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid #e4e6ea;
    border-radius: 18px;
    background: #ffffff;
}

.akh-werbung .akh-werbung-person > img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    margin: 0;
    object-fit: cover;
    object-position: center top;
    background: #f0f2f4;
}

.akh-werbung .akh-werbung-person-content {
    padding: 22px 20px;
}

.akh-werbung .akh-werbung-person-role {
    display: block;
    margin-bottom: 8px;
    color: #777d86;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.akh-werbung .akh-werbung-person h3 {
    margin: 0 0 14px;
    color: var(--antenne-text, #17181b);
    font-size: 21px;
    font-weight: 850;
    line-height: 1.2;
    letter-spacing: -.025em;
    overflow-wrap: anywhere;
}

.akh-werbung .akh-werbung-person-content > a {
    display: block;
    margin-top: 8px;
    color: var(--antenne-red, #e30613);
    font-size: 13px;
    font-weight: 750;
    line-height: 1.4;
    text-decoration: none;
}

/* Kontakt */
.akh-werbung .akh-werbung-contact {
    scroll-margin-top: 120px;
    margin: 12px 0 0;
    padding: 30px;
    border-radius: 18px;
    background: #f5f6f8;
}

.akh-werbung .akh-werbung-contact > p {
    margin: 16px 0 0;
    color: #565a62;
    font-size: 16px;
    line-height: 1.65;
}

.akh-werbung .akh-werbung-direct {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-top: 20px;
    font-size: 14px;
}

.akh-werbung .akh-werbung-direct > span {
    flex-basis: 100%;
    color: #565a62;
}

.akh-werbung .akh-werbung-direct a {
    color: var(--antenne-red, #e30613);
    font-weight: 800;
    text-decoration: none;
}

/* Formular nur auf dieser Werbeseite */
.akh-werbung-form {
    margin: 24px 0 40px;
}

.akh-werbung-form .wpforms-container {
    margin: 0;
}

.akh-werbung-form .wpforms-container .wpforms-submit {
    border-radius: 999px;
    background: var(--antenne-red, #e30613);
    color: #ffffff;
}

/* Karten */
.akh-werbung .akh-werbung-maps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.akh-werbung .akh-werbung-maps figure {
    margin: 0;
    overflow: hidden;
    border: 1px solid #e4e6ea;
    border-radius: 16px;
    background: #ffffff;
}

.akh-werbung .akh-werbung-maps img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
}

.akh-werbung .akh-werbung-maps figcaption {
    padding: 14px 18px;
    color: var(--antenne-text, #17181b);
    font-size: 14px;
    font-weight: 800;
}

.akh-werbung a:focus-visible {
    outline: 3px solid var(--antenne-red, #e30613);
    outline-offset: 4px;
}

.akh-werbung .akh-werbung-hero a:focus-visible {
    outline-color: #ffffff;
}

@media (max-width: 900px) {
    .akh-werbung .akh-werbung-offers,
    .akh-werbung .akh-werbung-team {
        grid-template-columns: 1fr;
    }

    .akh-werbung .akh-werbung-region {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .akh-werbung .akh-werbung-person {
        display: grid;
        grid-template-columns: 160px minmax(0, 1fr);
        align-items: center;
    }

    .akh-werbung .akh-werbung-person > img {
        height: 100%;
        min-height: 200px;
    }
}

@media (max-width: 620px) {
    .akh-werbung .akh-werbung-hero {
        margin-bottom: 24px;
        padding: 28px 22px;
        border-radius: 16px;
    }

    .akh-werbung .akh-werbung-section {
        padding: 20px 0 26px;
    }

    .akh-werbung .akh-werbung-offer {
        padding: 23px 20px;
    }

    .akh-werbung .akh-werbung-region,
    .akh-werbung .akh-werbung-contact {
        padding: 24px 20px;
    }

    .akh-werbung .akh-werbung-person {
        grid-template-columns: 105px minmax(0, 1fr);
    }

    .akh-werbung .akh-werbung-person > img {
        min-height: 180px;
    }

    .akh-werbung .akh-werbung-person-content {
        padding: 18px 14px;
    }

    .akh-werbung .akh-werbung-person h3 {
        font-size: 18px;
    }

    .akh-werbung .akh-werbung-maps {
        grid-template-columns: 1fr;
    }
}

/* Eigenständiges Werbe-Template */
main.antenne-werbung {
    padding: 44px 0 60px;
}

main.antenne-werbung > .antenne-container {
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto;
}

main.antenne-werbung .akh-werbung h1 {
    text-transform: none;
}

/* Formular befindet sich jetzt direkt im Kontaktbereich */
main.antenne-werbung .akh-werbung-contact .akh-werbung-form {
    margin: 26px 0 0;
}

@media (max-width: 620px) {
    main.antenne-werbung {
        padding: 28px 0 42px;
    }

    main.antenne-werbung > .antenne-container {
        width: calc(100% - 28px);
    }
}