:root {
    --ks-ink: #252729;
    --ks-body: #4d5457;
    --ks-muted: #62696c;
    --ks-turquoise: #70c7d1;
    --ks-turquoise-dark: #177f8b;
    --ks-turquoise-soft: #eaf7f8;
    --ks-gray: #f2f3f3;
    --ks-line: #dfe3e3;
    --ks-white: #fff;
    --ks-radius: 16px;
}

body.kultursteuer-page {
    background: var(--ks-white);
    color: var(--ks-ink);
    font-size: 18px;
    min-width: 0;
}

body.kultursteuer-page::after { display: none; }

.kultursteuer-page :focus-visible {
    outline-color: var(--ks-turquoise-dark);
}

.site-header,
.hero,
.standpoint {
    width: min(calc(100% - 48px), 1120px);
    margin: 0 auto clamp(4rem, 8vw, 7rem);
    display: grid;
    gap: 1.5rem;
}

footer {
    width: min(calc(100% - 48px), 1120px);
    margin-inline: auto;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 104px;
}

.site-header img { width: 100px; }
footer > img { width: min(240px, 100%); }

.header-cta,
.button,
.signup-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: .8rem 1.35rem;
    border: 0;
    border-radius: 999px;
    background: var(--ks-turquoise);
    color: var(--ks-white);
    font-family: 'Geomanist-Bold', Arial, sans-serif;
    font-weight: 700;
    text-decoration: none;
    transition: background .18s ease, transform .18s ease;
}

.header-cta { min-height: 42px; padding: .6rem 1rem; font-size: .84rem; }
.header-cta:hover, .button:hover, .signup-form button:hover { background: var(--ks-turquoise-dark); }
.header-cta:active, .button:active, .signup-form button:active { transform: translateY(1px); }

.hero {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(500px, 1.12fr);
    min-height: 760px;
    padding: clamp(2rem, 4vw, 3.6rem) 1.6rem 0 clamp(2rem, 5vw, 4.6rem);
    overflow: hidden;
    border-radius: var(--ks-radius);
    background: var(--ks-gray);
}

.hero::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: auto -14% -12%;
    height: 52%;
    background: url('../images/hero-chevrons.svg') repeat;
    background-size: 72px 30px;
    opacity: .28;
    mask-image: linear-gradient(to bottom, transparent, #000 25%);
    transform: skewY(-14deg);
    pointer-events: none;
}

.hero-copy {
    position: relative;
    z-index: 3;
    align-self: center;
    padding-block: 1.5rem 2rem;
    background: transparent;
}

.hero-visual { display: contents; }

.hero-kicker {
    position: absolute;
    z-index: 1;
    top: 4.25rem;
    left: 50%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    width: 190px;
    aspect-ratio: 1;
    padding: 1rem;
    border-radius: 50%;
    background: var(--ks-turquoise);
    color: var(--ks-white);
    font-family: 'Geomanist-Bold', Arial, sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.05;
    text-align: center;
    transform: rotate(5deg);
}

.hero-kicker strong {
    display: block;
    color: var(--ks-ink);
    font-size: inherit;
    line-height: .95;
}

.hero h1 {
    max-width: 620px;
    font-size: clamp(3.6rem, 6.7vw, 5.75rem);
    line-height: .93;
    letter-spacing: -.035em;
    text-wrap: balance;
}

.hero h1 span {
    display: table;
    width: fit-content;
    margin-block: .08em;
    padding: .02em .14em .08em;
    border-radius: 10px;
    background: var(--ks-turquoise);
    color: var(--ks-white);
}

.hero h1 .hero-underline {
    display: inline;
    width: auto;
    margin: 0;
    padding: 0 .12em 0 0;
    border-radius: 0;
    background: linear-gradient(to bottom, transparent 55%, var(--ks-turquoise) 55% 90%, transparent 90%);
    color: inherit;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.hero h1 .hero-title-light {
    font-family: 'Geomanist-Light', Arial, sans-serif;
    font-weight: 300;
}

.hero-mobile-break { display: none; }

.hero h1 mark {
    background: linear-gradient(transparent 60%, var(--party-color) 60%, var(--party-color) 90%, transparent 90%);
    color: inherit;
    white-space: nowrap;
}

.party-spoe { --party-color: #ef4444; }
.party-neos { --party-color: #ed5b9b; }

.hero-promises {
    display: grid;
    justify-items: start;
    gap: .35rem;
    margin-top: 1.5rem;
    list-style: none;
}

.hero-promises li {
    padding: .15rem .65rem .2rem;
    background: #ffbd21;
    font-family: 'Geomanist-Bold', Arial, sans-serif;
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    line-height: 1.25;
}

.hero-action {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    min-height: 44px;
    margin-top: 2rem;
    color: var(--ks-ink);
    font-family: 'Geomanist-Bold', Arial, sans-serif;
    font-size: 1.55rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.hero-action span:first-child { box-shadow: inset 0 -.16em var(--ks-turquoise); }
.hero-action span:last-child { font-size: 1.4em; line-height: 1; }
.hero-action:hover { color: var(--ks-turquoise); }

.hero-portrait {
    position: relative;
    z-index: 2;
    align-self: stretch;
    min-width: 0;
    margin: 0 0 0 -4.5rem;
    overflow: hidden;
    border-radius: var(--ks-radius);
    background: transparent;
}

.hero-portrait img {
    position: absolute;
    inset: 0 auto auto 50%;
    display: block;
    width: auto;
    height: 100%;
    max-width: none;
    object-fit: contain;
    transform: translateX(-50%);
}


.standpoint {
    display: flex;
    width: min(calc(100% - 48px), 1200px);
    gap: 2rem;
    margin-bottom: 0;
    padding-block: 0 clamp(4rem, 6vw, 6rem);
}

.standpoint-column {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    gap: 2rem;
}

.standpoint-copy {
    padding-right: clamp(1rem, 4vw, 4rem);
}

.standpoint h2,
.signup h2 {
    max-width: 760px;
    font-size: clamp(2.6rem, 4.8vw, 4.25rem);
    line-height: .98;
    letter-spacing: -.035em;
    text-wrap: balance;
}

.standpoint-copy > p:last-child {
    max-width: 48ch;
    margin-top: 1.6rem;
    color: var(--ks-body);
    text-wrap: pretty;
}

.standpoint-topic {
    position: relative;
    display: block;
    align-self: stretch;
    width: 100%;
    min-width: 0;
    min-height: 235px;
    padding: 2.5rem 4rem 2.5rem 2.5rem;
    border: 0;
    border-radius: var(--ks-radius);
    background: #f8f8f7;
    color: inherit;
    text-align: left;
    cursor: pointer;
    transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease;
}

.standpoint-column:first-child .standpoint-topic:nth-of-type(odd) { --topic-hover: #dc8866; }
.standpoint-column:first-child .standpoint-topic:nth-of-type(even) { --topic-hover: #fcc10b; }
.standpoint-column:last-child .standpoint-topic:nth-of-type(odd) { --topic-hover: #87ab9e; }
.standpoint-column:last-child .standpoint-topic:nth-of-type(even) { --topic-hover: #f2cebb; }

.standpoint-topic:focus-visible {
    z-index: 1;
    transform: translateY(-8px) scale(1.025);
    background: var(--topic-hover);
    box-shadow: 0 18px 36px rgba(37, 39, 41, .14);
    outline-offset: 3px;
}

@media (hover: hover) {
    .standpoint-topic:hover {
        z-index: 1;
        transform: translateY(-8px) scale(1.025);
        background: var(--topic-hover);
        box-shadow: 0 18px 36px rgba(37, 39, 41, .14);
    }
}

.topic-title {
    display: block;
    font-family: 'Geomanist-Bold', Arial, sans-serif;
    font-size: clamp(1.45rem, 2.2vw, 1.9rem);
    line-height: 1.08;
    letter-spacing: -.025em;
    text-wrap: balance;
}

.topic-preview {
    display: block;
    margin-top: .55rem;
    color: var(--ks-ink);
    font-size: clamp(1.1rem, 1.6vw, 1.35rem);
    line-height: 1.25;
}

.topic-description {
    display: block;
    max-width: 36ch;
    margin-top: 1.35rem;
    color: var(--ks-body);
    font-size: 1rem;
    line-height: 1.4;
}

.topic-indicator {
    position: absolute;
    top: 2.5rem;
    right: 2.5rem;
    width: .65rem;
    height: .65rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
}

.topic-dialog {
    width: min(680px, calc(100% - 32px));
    max-width: none;
    max-height: calc(100dvh - 48px);
    margin: auto;
    padding: 0;
    border: 0;
    border-radius: 24px;
    background: var(--ks-white);
    color: var(--ks-ink);
    box-shadow: 0 32px 90px rgba(25, 30, 31, .22);
    overflow: hidden;
}

.topic-dialog::backdrop { background: rgba(28, 33, 35, .55); }

.topic-dialog-content {
    max-height: calc(100dvh - 48px);
    padding: clamp(2rem, 5vw, 3.5rem);
    overflow-y: auto;
}

.topic-dialog h2 {
    max-width: 16ch;
    padding-right: 1.5rem;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.08;
    letter-spacing: -.03em;
}

.topic-dialog p {
    margin-top: 1.5rem;
    color: var(--ks-body);
    line-height: 1.55;
}

.topic-dialog h3 {
    margin-top: 2rem;
    font-size: 1rem;
}

.topic-dialog ul {
    display: grid;
    gap: .75rem;
    margin-top: .9rem;
    padding-left: 1.25rem;
    color: var(--ks-body);
    line-height: 1.45;
}

.topic-dialog li { padding-left: .25rem; }
.topic-dialog li::marker { color: var(--ks-turquoise-dark); }

.topic-dialog-close {
    position: absolute;
    z-index: 1;
    top: 1rem;
    right: 1rem;
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 0;
    border-radius: 50%;
    background: var(--ks-gray);
    color: var(--ks-ink);
    font-size: 2rem;
    line-height: 1;
}

.signup {
    display: grid;
    grid-template-columns: minmax(280px, .74fr) minmax(460px, 1.26fr);
    gap: clamp(2.5rem, 7vw, 6rem);
    padding: clamp(4.5rem, 8vw, 7rem) max(24px, calc((100vw - 1120px) / 2));
    background: var(--ks-gray);
}

.signup-intro > p {
    max-width: 48ch;
    margin-top: 1.3rem;
    color: var(--ks-body);
    text-wrap: pretty;
}

.signup-form {
    min-width: 0;
    align-self: start;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border-radius: var(--ks-radius);
    background: var(--ks-white);
    box-shadow: 0 8px 20px rgba(37, 39, 41, .08);
}

/* Override the embedded form's fixed widths and inline typography. */
.signup-form .marketingForm,
.signup-form .marketingForm * {
    font-family: 'Geomanist-Light', Arial, sans-serif !important;
    box-sizing: border-box;
}

.signup-form .marketingForm,
.signup-form [data-layout],
.signup-form .columnContainer {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
}

.signup-form .marketingForm label,
.signup-form .submitButton,
.signup-form .submitButton * {
    font-family: 'Geomanist-Bold', Arial, sans-serif !important;
}

.signup-form .textFormFieldBlock input {
    min-height: 52px;
    padding: .75rem .9rem;
    border: 1px solid #cbd1d1;
    border-radius: 10px;
    background: var(--ks-white);
    color: var(--ks-ink);
    font-size: 1rem;
}

.signup-form .marketingForm input:focus-visible {
    outline: 2px solid var(--ks-turquoise-dark);
    outline-offset: 2px;
}

.signup-form .consentBlock p,
.signup-form .consentBlock p * {
    text-align: left !important;
    line-height: 1.5 !important;
    letter-spacing: normal !important;
}

.signup-form .submitButtonWrapper { padding: 1.5rem 0 0; }

.signup-form .submitButton {
    width: 100% !important;
    min-height: 50px;
    padding: .8rem 1.35rem !important;
    border-radius: 999px !important;
    background: var(--ks-turquoise) !important;
    font-size: 1rem !important;
}

.signup-form .submitButton * { letter-spacing: normal !important; }
.signup-form .submitButton:hover { background: var(--ks-turquoise-dark) !important; }

footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 132px;
    background: var(--ks-white);
}

footer nav {
    position: static;
    display: flex;
    width: auto;
    height: auto;
    padding: 0;
    gap: 1.2rem;
}

footer nav a {
    color: var(--ks-muted);
    font-family: 'Geomanist-Bold', Arial, sans-serif;
    font-size: .74rem;
    text-transform: uppercase;
}

@media (min-width: 901px) and (max-width: 1024px) {
    .hero { grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr); }
}

@media (max-width: 900px) {
    .hero {
        display: flex;
        min-height: 0;
        padding: 0;
        flex-direction: column;
    }
    .hero::before { inset: auto -14% 28%; height: 60%; }
    .hero-portrait {
        order: 1;
        width: 100%;
        height: clamp(400px, 60vw, 540px);
        margin: 0;
        border-radius: var(--ks-radius) var(--ks-radius) 0 0;
    }
    .hero-portrait img {
        inset: 0 auto auto 50%;
        width: auto;
        height: 100%;
        transform: translateX(-50%);
    }
    .hero-copy {
        display: flex;
        order: 2;
        margin-top: -3.25rem;
        padding: clamp(1.2rem, 4vw, 2.5rem);
        flex-direction: column;
        border-radius: 14px 14px 0 0;
        background: var(--ks-gray);
    }
    .hero-kicker {
        top: 2rem;
        right: auto;
        left: calc(50% - clamp(70px, 16vw, 110px));
        width: clamp(128px, 34vw, 150px);
        padding: .75rem;
        font-size: clamp(1.45rem, 5vw, 1.7rem);
        transform: translateX(-50%) rotate(5deg);
    }
    .hero h1 { order: 1; font-size: clamp(2.8rem, 8vw, 4.5rem); }
    .hero-promises { order: 2; }
    .hero-action { order: 3; align-self: flex-start; margin-top: 1.6rem; font-size: clamp(1.05rem, 2vw, 1.2rem); }
    .standpoint { flex-direction: column; }
    .standpoint-column { display: contents; }
    .standpoint-copy { order: 0; padding-right: 0; }
    .standpoint-topic { min-height: 0; }
    .standpoint-column:first-child .standpoint-topic:nth-of-type(1) { order: 2; }
    .standpoint-column:first-child .standpoint-topic:nth-of-type(2) { order: 4; }
    .standpoint-column:first-child .standpoint-topic:nth-of-type(3) { order: 6; }
    .standpoint-column:last-child .standpoint-topic:nth-of-type(1) { order: 1; }
    .standpoint-column:last-child .standpoint-topic:nth-of-type(2) { order: 3; }
    .standpoint-column:last-child .standpoint-topic:nth-of-type(3) { order: 5; }
    .signup { grid-template-columns: 1fr; gap: 2.5rem; }
    .signup-form { width: 100%; max-width: 620px; }
}

@media (max-width: 680px) {
    body.kultursteuer-page { font-size: 16px; }

    .site-header,
    .hero,
    .standpoint,
    footer {
        width: min(calc(100% - 24px), 1120px);
    }

    .site-header { min-height: 82px; }
    .site-header img { width: 80px; }
    .header-cta { min-height: 40px; padding-inline: .85rem; font-size: .75rem; }

    .hero { gap: 0; }
    .hero::before { inset: auto -10% 5rem; height: 50%; }
    .hero-copy { display: contents; }
    .hero h1 {
        order: 1;
        margin: 2rem 1.25rem 0;
        font-size: clamp(2.15rem, 11vw, 3.35rem);
    }
    .hero h1 .hero-underline { white-space: nowrap; }
    .hero-mobile-break { display: inline; }
    .hero-promises { order: 2; margin: 1.75rem 1.25rem 0; }
    .hero-promises li { font-size: clamp(1rem, 4.3vw, 1.2rem); }
    .hero-visual {
        display: block;
        position: relative;
        order: 3;
        width: 100%;
        max-width: 480px;
        height: clamp(340px, 97vw, 410px);
        margin: .5rem auto 0;
    }
    .hero-portrait { width: 100%; height: 100%; overflow: visible; }
    .hero-portrait img { inset: auto auto 0 5%; height: 100%; transform: none; }
    .hero-kicker {
        z-index: 3;
        top: 8%;
        right: 13%;
        left: auto;
        width: clamp(118px, 31vw, 135px);
        font-size: clamp(1.5rem, 7vw, 2rem);
        transform: rotate(5deg);
    }
    .hero-action {
        order: 4;
        align-self: stretch;
        justify-content: center;
        min-height: 52px;
        margin: 0 1.25rem 1.5rem;
        border-radius: 10px;
        background: var(--ks-turquoise);
        font-size: clamp(1.05rem, 4.7vw, 1.2rem);
    }
    .hero-action span:first-child { box-shadow: none; }
    .hero-action:hover { background: var(--ks-turquoise-dark); color: var(--ks-white); }

    .standpoint { gap: 1.5rem; padding-bottom: 4rem; }
    .standpoint-copy { padding-inline: 1.25rem; }
    .standpoint-topic { min-height: 0; padding: 1.75rem 3.5rem 1.75rem 1.25rem; }
    .topic-description { margin-top: 1rem; }
    .topic-indicator { top: 1.75rem; right: 1.75rem; }
    .topic-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); border-radius: 20px; }
    .topic-dialog-content { max-height: calc(100dvh - 24px); padding: 4.25rem 1.5rem 2rem; }
    .signup { padding: 4rem 12px; }
    .signup-intro { padding-inline: 1.25rem; }
    .signup-form button { width: 100%; }

    footer {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 1.4rem;
        padding-block: 2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
}
