/*
Theme Name: PBC Poolicorns
Theme URI: https://www.pbc-poolicorns.de/
Author: PBC Poolicorns
Description: Conversion-focused one-page WordPress theme for PBC Poolicorns e.V.
Version: 1.0.0
Text Domain: pbc-poolicorns
*/

:root {
    --color-paper: oklch(97.95% 0.0098 87.5);
    --color-paper-warm: oklch(95.41% 0.0148 80.7);
    --color-paper-light: oklch(99.42% 0.0069 88.6);
    --color-paper-soft: oklch(99.34% 0.0107 95.2);
    --color-paper-end: oklch(95.79% 0.0153 77.1);
    --color-ink: oklch(19.03% 0.0233 200.3);
    --color-ink-strong: oklch(20.15% 0.0107 185.7);
    --color-ink-warm: oklch(24.79% 0.0116 187.2);
    --color-ink-deep: oklch(18.68% 0.0134 196.1);
    --color-muted: oklch(45.46% 0.0130 182.4);
    --color-green: oklch(32.79% 0.0627 173.5);
    --color-green-2: oklch(41.03% 0.0790 172.7);
    --color-green-deep: oklch(25.88% 0.0474 178.8);
    --color-green-night: oklch(22.73% 0.0387 186.2);
    --color-green-panel: oklch(36.41% 0.0643 174.7);
    --color-green-contact: oklch(33.09% 0.0570 177);
    --color-magenta: oklch(51.71% 0.2096 0.1);
    --color-magenta-hot: oklch(53.68% 0.2173 0.7);
    --color-magenta-dark: oklch(45% 0.1820 1.1);
    --color-footer: oklch(23.29% 0.0190 213.7);

    --paper: var(--color-paper);
    --paper-warm: var(--color-paper-warm);
    --paper-light: var(--color-paper-light);
    --paper-soft: var(--color-paper-soft);
    --paper-end: var(--color-paper-end);
    --ink: var(--color-ink);
    --ink-strong: var(--color-ink-strong);
    --ink-warm: var(--color-ink-warm);
    --ink-deep: var(--color-ink-deep);
    --muted: var(--color-muted);
    --green: var(--color-green);
    --green-2: var(--color-green-2);
    --green-deep: var(--color-green-deep);
    --green-night: var(--color-green-night);
    --magenta: var(--color-magenta);
    --magenta-hot: var(--color-magenta-hot);
    --magenta-dark: var(--color-magenta-dark);
    --footer: var(--color-footer);
    --on-dark: var(--paper-light);

    --rgb-paper: 251 248 241;
    --rgb-paper-warm: 245 239 229;
    --rgb-paper-light: 255 253 248;
    --rgb-paper-end: 247 240 230;
    --rgb-ink: 6 23 24;
    --rgb-green: 0 63 50;
    --rgb-green-deep: 0 43 36;
    --rgb-magenta: 189 0 99;
    --rgb-button-shadow: 104 0 54;

    --line: rgb(var(--rgb-ink) / 0.14);
    --soft-line: rgb(var(--rgb-ink) / 0.09);
    --line-strong: rgb(var(--rgb-ink) / 0.11);
    --line-subtle: rgb(var(--rgb-ink) / 0.08);
    --green-line: rgb(var(--rgb-green) / 0.18);
    --green-line-strong: rgb(var(--rgb-green) / 0.52);
    --magenta-line: rgb(var(--rgb-magenta) / 0.18);
    --focus-ring: rgb(var(--rgb-magenta) / 0.38);
    --invalid-ring: rgb(var(--rgb-magenta) / 0.16);
    --surface-header: rgb(var(--rgb-paper-light) / 0.94);
    --surface-menu: rgb(var(--rgb-paper-light) / 0.96);
    --surface-pill: rgb(var(--rgb-paper-light) / 0.88);
    --surface-mobile-panel: rgb(var(--rgb-paper-light) / 0.82);
    --surface-proof: rgb(247 241 232 / 0.72);
    --surface-green-panel: var(--color-green-panel);
    --surface-green-contact: var(--color-green-contact);
    --overlay-light-subtle: rgb(var(--rgb-paper-light) / 0.08);
    --overlay-light-low: rgb(var(--rgb-paper-light) / 0.12);
    --overlay-light-medium: rgb(var(--rgb-paper-light) / 0.14);
    --overlay-light-strong: rgb(var(--rgb-paper-light) / 0.18);
    --text-on-dark-muted: rgb(var(--rgb-paper-light) / 0.78);
    --text-on-dark-soft: rgb(var(--rgb-paper-light) / 0.8);
    --text-on-dark: rgb(var(--rgb-paper-light) / 0.82);
    --text-on-dark-strong: rgb(var(--rgb-paper-light) / 0.86);
    --shadow: 0 20px 55px rgb(3 27 24 / 0.18);
    --soft-shadow: 0 30px 90px rgb(0 41 33 / 0.12);
    --bezel: 0 0 0 1px var(--line-subtle), inset 0 1px 0 rgb(var(--rgb-paper-light) / 0.72);
    --header-shadow: 0 8px 24px rgb(24 14 9 / 0.04);
    --button-shadow: 0 10px 22px rgb(var(--rgb-button-shadow) / 0.12);
    --card-shadow: 0 14px 38px rgb(0 35 29 / 0.065);
    --panel-shadow: 0 18px 48px rgb(0 35 29 / 0.07);
    --motion: cubic-bezier(0.32, 0.72, 0, 1);
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --gutter: clamp(1rem, 4vw, 4rem);
    --display: "Plus Jakarta Sans", "Aptos Display", "Segoe UI", ui-sans-serif, sans-serif;
    --sans: "Plus Jakarta Sans", "Aptos", "Segoe UI", ui-sans-serif, sans-serif;
    --note: Georgia, "Times New Roman", serif;
    --type-display: clamp(3rem, 4vw, 4.55rem);
    --type-page-title: clamp(2.8rem, 5.2vw, 5rem);
    --type-page-title-long: clamp(2.35rem, 4.6vw, 4.2rem);
    --type-section-title: clamp(1.75rem, 2.4vw, 2.65rem);
    --type-title: clamp(1.2rem, 2vw, 1.65rem);
    --type-lead: clamp(1.05rem, 1.34vw, 1.22rem);
    --type-body: 1rem;
    --type-small: 0.875rem;
    --type-caption: 0.8125rem;
    --leading-tight: 1.04;
    --leading-heading: 1.1;
    --leading-body: 1.5;
    --leading-longform: 1.65;
    --tracking-label: 0.075em;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--sans);
    font-size: var(--type-body);
    font-kerning: normal;
    font-optical-sizing: auto;
    line-height: var(--leading-body);
    text-rendering: optimizeLegibility;
}

main {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body.admin-bar .site-header {
    top: 32px;
}

a {
    color: inherit;
}

img,
svg,
.ph,
.ph-light {
    display: block;
}

svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.button i,
.header-cta i {
    font-size: 1rem;
    line-height: 1;
    flex: 0 0 auto;
}

.button__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin: -0.45rem -0.55rem -0.45rem 0;
    color: var(--on-dark);
    background: var(--overlay-light-low);
    border: 1px solid var(--overlay-light-strong);
    border-radius: 999px;
    transition: transform 520ms var(--motion), background-color 520ms var(--motion);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: minmax(280px, 0.82fr) auto auto auto;
    align-items: center;
    gap: clamp(1rem, 2vw, 2.8rem);
    min-height: 74px;
    padding: 0 var(--gutter);
    background: var(--surface-header);
    border-bottom: 1px solid var(--line-strong);
    box-shadow: var(--header-shadow);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
    text-decoration: none;
}

.brand__mark {
    width: 58px;
    height: 58px;
    object-fit: contain;
    flex: 0 0 auto;
}

.brand__copy {
    display: grid;
    line-height: var(--leading-tight);
}

.brand__copy strong {
    color: var(--green);
    font-size: clamp(1.35rem, 2vw, 2.05rem);
    font-weight: 900;
    letter-spacing: 0;
    text-wrap: balance;
}

.brand__copy span {
    color: var(--ink-warm);
    font-size: clamp(0.86rem, 0.95vw, 1rem);
    line-height: 1.2;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: clamp(1.25rem, 2.5vw, 2.7rem);
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--ink-strong);
    font-weight: 800;
    text-decoration: none;
}

.main-nav a:hover,
.main-nav .is-active,
.main-nav .current-menu-item > a {
    color: var(--magenta);
}

.main-nav .is-active::after,
.main-nav .current-menu-item > a::after,
.main-nav a:hover::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 4px;
    left: 0;
    height: 3px;
    background: var(--magenta);
}

.header-cta,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-height: 44px;
    padding: 0.65rem 0.8rem 0.65rem var(--space-5);
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 900;
    text-decoration: none;
    transition: transform 520ms var(--motion), background-color 520ms var(--motion), border-color 520ms var(--motion), box-shadow 520ms var(--motion);
}

.header-cta,
.button--primary {
    color: var(--on-dark);
    background: var(--magenta-dark);
    box-shadow: var(--button-shadow);
}

.header-cta {
    min-width: 236px;
    font-size: 1.02rem;
}

.button--secondary {
    color: var(--ink);
    padding-right: var(--space-5);
    background: var(--paper-light);
    border-color: var(--green-line-strong);
}

.header-cta:hover,
.button:hover {
    transform: translateY(-1px);
}

.header-cta:hover .button__icon,
.button:hover .button__icon {
    transform: translateX(0.12rem);
    background: var(--overlay-light-strong);
}

.header-cta:active,
.button:active {
    transform: translateY(0) scale(0.98);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--focus-ring);
    outline-offset: 3px;
}

.menu-button {
    position: relative;
    display: none;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 10px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.menu-button span {
    position: absolute;
    width: 28px;
    height: 2px;
    background: var(--ink-strong);
    border-radius: 999px;
    transition: transform 520ms var(--motion), opacity 520ms var(--motion);
}

.menu-button span:first-child {
    transform: translateY(-5px);
}

.menu-button span:last-child {
    transform: translateY(5px);
}

.site-header.is-menu-open .menu-button span:first-child {
    transform: rotate(45deg);
}

.site-header.is-menu-open .menu-button span:last-child {
    transform: rotate(-45deg);
}

.hero {
    display: grid;
    grid-template-columns: minmax(560px, 0.92fr) minmax(0, 1.08fr);
    align-items: stretch;
    min-height: 500px;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.hero__copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 760px;
    padding: clamp(3.1rem, 5.2vw, 5.6rem) 3vw clamp(2rem, 3vw, 3.2rem) var(--gutter);
    background: var(--paper-light);
}

.eyebrow,
.section-kicker {
    margin: 0;
    color: var(--magenta);
    font-size: var(--type-small);
    font-weight: 850;
    letter-spacing: var(--tracking-label);
    line-height: 1.18;
    text-transform: uppercase;
}

.hero h1 {
    max-width: min(760px, 100%);
    margin: var(--space-3) 0 0;
    font-family: var(--display);
    font-size: var(--type-display);
    font-weight: 900;
    line-height: 0.98;
    text-transform: uppercase;
    text-wrap: balance;
}

.hero h1 span {
    color: var(--magenta);
}

.hero__lead {
    max-width: 540px;
    margin: var(--space-3) 0 var(--space-5);
    color: var(--ink-strong);
    font-size: var(--type-lead);
    line-height: var(--leading-body);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: var(--space-6);
}

.hero__actions .button {
    min-width: 188px;
}

.trust-pills {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    max-width: 520px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface-pill);
}

.trust-pills span {
    display: grid;
    grid-template-columns: 28px 1fr;
    align-items: center;
    gap: var(--space-2);
    min-height: 48px;
    padding: var(--space-2) var(--space-4);
    border-right: 1px solid var(--line);
    font-size: var(--type-caption);
    font-weight: 800;
    line-height: 1.22;
}

.trust-pills span:last-child {
    border-right: 0;
}

.trust-pills i {
    color: var(--magenta);
    font-size: 1.55rem;
    line-height: 1;
}

.trust-pills svg {
    color: var(--magenta);
}

.hero__media {
    position: relative;
    min-height: 500px;
    background:
        linear-gradient(101deg, rgb(var(--rgb-paper) / 0.05) 0%, rgb(var(--rgb-green) / 0.12) 54%, rgb(var(--rgb-green) / 0.86) 100%),
        var(--green);
}

.hero__media::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(circle at 78% 22%, var(--overlay-light-medium), transparent 18rem),
        linear-gradient(90deg, rgb(var(--rgb-green) / 0.6), transparent 24%, rgb(var(--rgb-ink) / 0.08));
}

.hero__photo {
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: cover;
    object-position: center;
    clip-path: polygon(7% 0, 100% 0, 100% 100%, 0 100%);
}

.hero__media::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 42%;
    height: 28px;
    background: var(--magenta);
    transform: skewX(-12deg);
}

.hero__logo-card {
    position: absolute;
    right: 4.2vw;
    top: 9%;
    z-index: 2;
    width: min(260px, 26%);
    padding: var(--space-4);
    border: 12px solid var(--green);
    border-radius: 8px;
    background: var(--paper-soft);
    box-shadow: var(--shadow);
}

.hero__logo-card img {
    width: 100%;
    height: auto;
}

.media-note {
    position: absolute;
    right: 1rem;
    bottom: var(--space-3);
    z-index: 2;
    margin: 0;
    padding: var(--space-1) var(--space-2);
    color: var(--on-dark);
    background: rgb(var(--rgb-green) / 0.82);
    border-radius: 4px;
    font-size: var(--type-caption);
    font-weight: 800;
}

.proof-strip {
    display: grid;
    grid-template-columns: 1.1fr 1.12fr 0.9fr 0.75fr;
    gap: 0;
    align-items: center;
    padding: 1rem var(--gutter);
    background: var(--surface-proof);
    border-bottom: 1px solid var(--line);
}

.proof-strip article {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 1rem;
    align-items: center;
    min-height: 54px;
    padding: 0 2vw;
    border-right: 1px solid var(--line);
}

.proof-strip article:first-child {
    padding-left: 0;
}

.proof-strip article:last-child {
    border-right: 0;
}

.proof-strip h2,
.status-card h2 {
    margin: 0;
    font-size: 1rem;
    line-height: var(--leading-heading);
}

.proof-strip p,
.status-card p {
    margin: 0.22rem 0 0;
    color: var(--ink-strong);
    font-size: var(--type-small);
    line-height: 1.35;
}

.icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--on-dark);
    background: var(--green);
    border-radius: 999px;
    box-shadow: inset 0 0 0 1px var(--overlay-light-medium);
    font-weight: 900;
}

.icon-badge svg {
    width: 25px;
}

.icon-badge i {
    font-size: 1.55rem;
    line-height: 1;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-flow: dense;
    grid-template-areas:
        "steps steps steps steps steps steps status status status status status status"
        "gallery gallery gallery gallery gallery gallery gallery gallery gallery gallery gallery gallery";
    gap: clamp(1rem, 1.5vw, 1.5rem);
    padding: clamp(2rem, 3.2vw, 3.6rem) var(--gutter) clamp(3rem, 5.2vw, 5.4rem);
    background: linear-gradient(180deg, rgb(var(--rgb-paper) / 0.94), rgb(var(--rgb-paper-warm) / 0.6));
    border-bottom: 1px solid var(--soft-line);
}

.card {
    min-width: 0;
    padding: 1.1rem;
    border: 1px solid var(--line-subtle);
    border-radius: 20px;
    background: linear-gradient(145deg, rgb(var(--rgb-paper-light) / 0.98), rgb(var(--rgb-paper-end) / 0.72));
    box-shadow: var(--bezel), var(--card-shadow);
}

.steps-card {
    grid-area: steps;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: clamp(310px, 23vw, 380px);
}

.steps-card h2 {
    max-width: 42rem;
    margin: var(--space-3) 0 0;
    font-family: var(--display);
    font-size: var(--type-section-title);
    line-height: var(--leading-tight);
    text-transform: uppercase;
    text-wrap: balance;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(0.9rem, 1.4vw, 1.35rem);
    margin: clamp(1.25rem, 2vw, 2rem) 0;
}

.step {
    position: relative;
    min-height: 132px;
    padding: var(--space-2) var(--space-3) 0 0;
}

.step + .step {
    border-left: 1px solid var(--line);
    padding-left: 1rem;
}

.step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: var(--on-dark);
    background: var(--magenta);
    border-radius: 999px;
    font-weight: 900;
}

.step svg,
.step i {
    width: 44px;
    height: 44px;
    margin: 0.7rem auto 0.75rem;
    color: var(--ink-deep);
}

.step i {
    font-size: 2.75rem;
    line-height: 1;
}

.step h3 {
    margin: 0;
    font-size: var(--type-small);
    font-weight: 900;
    line-height: 1.2;
}

.step p {
    margin: var(--space-1) 0 0;
    font-size: var(--type-caption);
    line-height: 1.38;
}

.steps-card__cta {
    align-self: center;
    min-width: min(210px, 100%);
}

.gallery-card {
    grid-area: gallery;
    overflow: hidden;
}

.photo-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.82fr 0.82fr;
    grid-template-rows: 1fr;
    gap: var(--space-2);
    height: clamp(300px, 25vw, 390px);
    margin-top: 0.9rem;
}

.photo-grid figure:hover img {
    transform: scale(1.045);
    filter: saturate(1.08) contrast(1.04);
}

.photo-grid figure {
    position: relative;
    min-height: 0;
    margin: 0;
    overflow: hidden;
    border-radius: 14px;
    background: var(--green);
}

.photo-grid__large {
    grid-row: auto;
}

.photo-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    transition: transform 820ms var(--motion), filter 820ms var(--motion);
}

.photo-grid figcaption {
    position: absolute;
    top: var(--space-2);
    left: var(--space-2);
    display: inline-block;
    width: fit-content;
    max-width: calc(100% - var(--space-4));
    padding: 0.28rem 0.55rem;
    color: var(--on-dark);
    background: rgb(var(--rgb-green) / 0.78);
    border-radius: 999px;
    box-shadow: inset 0 1px 0 var(--overlay-light-strong);
    font-size: var(--type-caption);
    font-weight: 800;
    line-height: 1.1;
    text-shadow: none;
}

.photo-grid figcaption span {
    display: block;
    margin-top: 0.22rem;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: var(--tracking-label);
    text-transform: uppercase;
}

.photo-grid figure:not(.photo-grid__large) figcaption {
    font-size: 0.75rem;
}

.status-card {
    grid-area: status;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: clamp(260px, 22vw, 330px);
    background: var(--paper-warm);
    box-shadow: var(--bezel);
    text-align: center;
}

.status-card__icon {
    margin: var(--space-4) 0 var(--space-3);
}

.status-card .button {
    min-width: 160px;
    margin-top: var(--space-3);
    padding-block: 0.7rem;
    font-size: var(--type-small);
}

.contact-band {
    display: grid;
    grid-template-columns: minmax(280px, 0.72fr) minmax(560px, 1.28fr);
    grid-template-areas:
        "copy form"
        "details form";
    gap: clamp(1rem, 1.8vw, 2rem) clamp(1.75rem, 3vw, 3.4rem);
    align-items: start;
    padding: clamp(2.7rem, 4.4vw, 4.6rem) var(--gutter) clamp(2.2rem, 3.4vw, 3.4rem);
    color: var(--on-dark);
    background:
        linear-gradient(180deg, rgb(var(--rgb-green) / 0.98), var(--green-deep)),
        var(--green-deep);
    border-top: 1px solid var(--overlay-light-subtle);
}

.contact-band__copy {
    grid-area: copy;
    padding-top: 0.35rem;
}

.contact-band h2 {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(1.75rem, 2.4vw, 2.2rem);
    line-height: var(--leading-heading);
    letter-spacing: 0;
    text-transform: uppercase;
    text-wrap: balance;
}

.contact-band p {
    max-width: 30rem;
    margin: 0.65rem 0 0;
    color: var(--text-on-dark);
}

.contact-form {
    grid-area: form;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-3) var(--space-4);
    align-items: stretch;
    padding: clamp(1rem, 1.6vw, 1.35rem);
    border: 1px solid var(--overlay-light-medium);
    border-radius: 18px;
    background: var(--surface-green-panel);
}

.contact-form label {
    display: grid;
}

.contact-form label:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
}

.contact-form label:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}

.contact-form label span {
    margin: 0 0 var(--space-1);
    color: var(--text-on-dark-muted);
    font-size: var(--type-caption);
    font-weight: 800;
    line-height: 1.2;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--line-subtle);
    border-radius: 12px;
    background: var(--paper-light);
    color: var(--ink);
    font: inherit;
    padding: var(--space-3) var(--space-3);
}

.contact-form__message {
    grid-column: 1 / -1;
    grid-row: 2;
}

.contact-form textarea {
    min-height: 104px;
    resize: vertical;
}

.contact-form button {
    grid-column: 2;
    grid-row: 3;
    justify-self: end;
    align-self: end;
    min-height: 48px;
    border: 0;
    cursor: pointer;
}

.contact-form .is-invalid {
    border-color: var(--magenta);
    box-shadow: 0 0 0 3px var(--invalid-ring);
}

.form-status {
    grid-column: 1;
    grid-row: 3;
    align-self: center;
    min-height: 1.25rem;
    margin: 0;
    color: var(--text-on-dark);
    font-size: var(--type-small);
    font-weight: 750;
}

.contact-details {
    grid-area: details;
    display: grid;
    gap: var(--space-4);
    color: var(--on-dark);
    font-style: normal;
    padding: clamp(1.1rem, 1.7vw, 1.45rem);
    border: 1px solid var(--overlay-light-low);
    border-radius: 18px;
    background: var(--surface-green-contact);
}

.contact-details a,
.contact-details span {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 2rem;
    color: var(--text-on-dark-strong);
    line-height: 1.25;
}

.contact-details svg,
.contact-details i {
    width: 19px;
    height: 19px;
    flex: 0 0 auto;
}

.contact-details i {
    font-size: 1.2rem;
    line-height: 1;
}

.site-footer {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: clamp(1rem, 2vw, 2rem);
    align-items: center;
    padding: var(--space-6) var(--gutter);
    color: var(--on-dark);
    background: var(--footer);
    border-top: 1px solid var(--overlay-light-subtle);
}

.site-footer strong,
.site-footer span {
    display: block;
}

.site-footer strong {
    font-size: 1rem;
}

.site-footer span,
.site-footer p,
.site-footer a {
    font-size: var(--type-caption);
    line-height: 1.3;
}

.site-footer nav {
    display: flex;
    gap: clamp(1.25rem, 3vw, 3.2rem);
}

.site-footer a {
    text-decoration: none;
    color: rgb(var(--rgb-paper-light) / 0.76);
    transition: color 240ms var(--motion);
}

.site-footer p {
    justify-self: end;
    margin: 0;
}

.site-footer a:hover {
    color: var(--paper-light);
}

.legal-page {
    padding: clamp(1.7rem, 4.5vw, 3.8rem) var(--gutter) clamp(3rem, 7vw, 6rem);
    background:
        radial-gradient(circle at 88% 8%, rgb(var(--rgb-magenta) / 0.09), transparent 25rem),
        linear-gradient(180deg, rgb(var(--rgb-paper) / 0.98), rgb(var(--rgb-paper-warm) / 0.78)),
        var(--paper);
}

.legal-page__content {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.98fr) minmax(290px, 0.5fr);
    gap: clamp(1.35rem, 2.5vw, 2.6rem) clamp(1.6rem, 3vw, 3rem);
    min-width: 0;
    max-width: 1220px;
    margin: 0 auto;
    padding: clamp(1.35rem, 2.8vw, 2.6rem);
    border: 1px solid var(--line);
    border-radius: 20px;
    background: linear-gradient(145deg, rgb(var(--rgb-paper-light) / 0.98), rgb(var(--rgb-paper-end) / 0.68));
    box-shadow: var(--bezel), var(--panel-shadow);
    overflow: hidden;
}

.legal-page__content::before {
    content: "";
    position: absolute;
    top: 0;
    right: clamp(1.35rem, 2.8vw, 2.6rem);
    left: clamp(1.35rem, 2.8vw, 2.6rem);
    height: 8px;
    background: linear-gradient(90deg, var(--green), var(--magenta));
    border-radius: 0 0 999px 999px;
}

.page-detail__intro {
    align-self: center;
    min-width: 0;
    padding-top: var(--space-4);
}

.legal-page h1 {
    max-width: 100%;
    margin: var(--space-3) 0 var(--space-4);
    font-family: var(--display);
    font-size: var(--type-page-title);
    line-height: 0.98;
    text-transform: uppercase;
    text-wrap: balance;
}

.page-detail--mitgliedschaft h1 {
    font-size: clamp(2.45rem, 4.6vw, 4.55rem);
}

.page-detail--vereinsdokumente h1,
.page-detail--datenschutzerklaerung h1 {
    font-size: var(--type-page-title-long);
}

.page-detail__lead {
    max-width: 38rem;
    margin: 0;
    color: var(--ink-strong);
    font-size: var(--type-lead);
    font-weight: 650;
    line-height: 1.45;
}

.page-detail__pills {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-top: var(--space-5);
}

.page-detail__pills span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0.42rem 0.7rem;
    color: var(--green);
    background: rgb(var(--rgb-green) / 0.07);
    border: 1px solid var(--green-line);
    border-radius: 999px;
    font-size: var(--type-caption);
    font-weight: 850;
    line-height: 1.1;
}

.page-detail__pills span:nth-child(2n) {
    color: var(--magenta-dark);
    background: rgb(var(--rgb-magenta) / 0.07);
    border-color: var(--magenta-line);
}

.page-detail__media {
    position: relative;
    min-width: 0;
    min-height: 300px;
    margin: 0;
    overflow: hidden;
    border: 12px solid var(--green);
    border-radius: 18px;
    background: var(--green);
}

.page-detail__media img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
}

.page-detail--impressum .page-detail__media img,
.page-detail--datenschutzerklaerung .page-detail__media img,
.page-detail--vereinsdokumente .page-detail__media img {
    padding: clamp(1rem, 2.4vw, 2.2rem);
    object-fit: contain;
    background: var(--paper-light);
}

.page-detail__media figcaption {
    position: absolute;
    right: var(--space-2);
    bottom: var(--space-2);
    max-width: calc(100% - var(--space-4));
    padding: 0.42rem 0.65rem;
    color: var(--on-dark);
    background: rgb(var(--rgb-green) / 0.92);
    border-radius: 5px;
    font-size: var(--type-caption);
    font-weight: 800;
}

.page-detail--impressum .page-detail__media figcaption,
.page-detail--datenschutzerklaerung .page-detail__media figcaption,
.page-detail--vereinsdokumente .page-detail__media figcaption {
    display: none;
}

.legal-page__body {
    grid-column: 1 / -1;
    min-width: 0;
    max-width: none;
    padding-top: clamp(0.25rem, 0.8vw, 0.75rem);
}

.legal-page__body p {
    max-width: 72ch;
    margin: 0 0 var(--space-4);
    line-height: var(--leading-longform);
}

.legal-page__body h2,
.legal-page__body h3 {
    margin: var(--space-8) 0 var(--space-3);
    font-family: var(--display);
    line-height: var(--leading-heading);
    text-wrap: balance;
}

.legal-page__body h2:first-child,
.legal-page__body h3:first-child {
    margin-top: 0;
}

.legal-page__body ul {
    padding-left: 1.2rem;
}

.page-section {
    max-width: 72ch;
    margin-bottom: var(--space-8);
}

.about-page {
    background:
        radial-gradient(circle at 9% 12%, rgb(var(--rgb-green) / 0.12), transparent 25rem),
        radial-gradient(circle at 92% 10%, rgb(var(--rgb-magenta) / 0.1), transparent 24rem),
        linear-gradient(180deg, rgb(var(--rgb-paper) / 0.98), rgb(var(--rgb-paper-warm) / 0.86)),
        var(--paper);
}

.about-page__shell {
    grid-template-columns: minmax(0, 0.82fr) minmax(360px, 0.7fr);
    width: 100%;
    max-width: none;
    border-color: rgb(var(--rgb-green) / 0.16);
    background:
        linear-gradient(140deg, rgb(var(--rgb-paper-light) / 0.98), rgb(var(--rgb-paper-end) / 0.72)),
        var(--paper-light);
}

.about-page__shell::before {
    left: 0;
    right: 0;
    height: 10px;
    background:
        linear-gradient(90deg, var(--green) 0 34%, var(--magenta) 34% 60%, var(--green-deep) 60% 100%);
    border-radius: 0;
}

.about-hero__intro {
    align-self: center;
    padding-block: clamp(1rem, 2vw, 1.8rem);
}

.about-hero__media {
    min-height: clamp(330px, 32vw, 390px);
    border-width: 14px;
    border-radius: 8px 18px 18px 8px;
    box-shadow: var(--shadow);
}

.about-hero__media::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 48%, rgb(var(--rgb-green-deep) / 0.18));
    pointer-events: none;
    z-index: 1;
}

.about-hero__media img {
    min-height: clamp(330px, 32vw, 390px);
}

.about-hero__media figcaption {
    z-index: 2;
}

.about-page__body {
    display: grid;
    gap: clamp(1.8rem, 3.1vw, 3.2rem);
}

.about-page__body > p {
    max-width: 72ch;
    margin-bottom: 0;
}

.about-section-heading {
    display: grid;
    gap: var(--space-3);
    max-width: 48rem;
}

.about-section-heading h2,
.about-club-note h2,
.about-place h2 {
    margin: 0;
    font-family: var(--display);
    font-size: var(--type-section-title);
    line-height: var(--leading-tight);
    text-transform: uppercase;
    text-wrap: balance;
}

.about-section-heading p:not(.section-kicker),
.about-club-note p,
.about-place p {
    max-width: 66ch;
    margin: 0;
    color: var(--ink-strong);
    line-height: var(--leading-body);
}

.about-club-note {
    margin-top: clamp(-1.4rem, -2vw, -0.55rem);
}

.about-club-note__facts {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 0.82fr) minmax(0, 1.3fr);
    overflow: hidden;
    color: var(--on-dark);
    background:
        linear-gradient(145deg, rgb(var(--rgb-green) / 0.96), rgb(var(--rgb-green-deep) / 0.98)),
        var(--green);
    border: 1px solid var(--overlay-light-medium);
    border-radius: 14px;
    box-shadow: var(--card-shadow);
}

.about-club-note__facts span {
    display: grid;
    align-content: center;
    gap: 0.18rem;
    min-width: 0;
    min-height: 98px;
    padding: var(--space-4) var(--space-5);
    border-right: 1px solid var(--overlay-light-medium);
    color: var(--text-on-dark-strong);
    font-size: var(--type-caption);
    font-weight: 800;
    line-height: 1.2;
}

.about-club-note__facts span:last-child {
    border-right: 0;
}

.about-club-note__facts strong {
    display: block;
    color: var(--on-dark);
    font-family: var(--display);
    font-size: clamp(1.25rem, 2.1vw, 1.8rem);
    font-weight: 900;
    line-height: 1;
    overflow-wrap: anywhere;
}

.about-club-note__facts span:nth-child(3) strong {
    font-size: clamp(1.1rem, 1.7vw, 1.45rem);
    white-space: nowrap;
}

.about-board {
    display: grid;
    gap: var(--space-6);
}

.about-board__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-4);
}

.about-board-card {
    position: relative;
    display: grid;
    align-content: start;
    min-height: 218px;
    padding: clamp(1rem, 1.7vw, 1.25rem);
    overflow: hidden;
    color: var(--ink);
    background:
        linear-gradient(150deg, var(--paper-light), rgb(var(--rgb-paper-end) / 0.7)),
        var(--paper-light);
    border: 1px solid rgb(var(--rgb-ink) / 0.1);
    border-radius: 14px;
    box-shadow: var(--bezel);
}

.about-board-card:nth-child(1) {
    color: var(--on-dark);
    background: linear-gradient(160deg, var(--green), var(--green-deep));
    border-color: var(--overlay-light-medium);
}

.about-board-card:nth-child(3) {
    background:
        linear-gradient(150deg, rgb(var(--rgb-magenta) / 0.09), var(--paper-light) 55%),
        var(--paper-light);
}

.about-board-card__icon {
    display: inline-grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: var(--space-4);
    color: var(--magenta-dark);
    background: rgb(var(--rgb-magenta) / 0.1);
    border: 1px solid var(--magenta-line);
    border-radius: 999px;
    font-size: 1.65rem;
}

.about-board-card:nth-child(1) .about-board-card__icon {
    color: var(--on-dark);
    background: var(--overlay-light-medium);
    border-color: var(--overlay-light-strong);
}

.about-board-card p {
    margin: 0 0 var(--space-2);
    color: var(--magenta-dark);
    font-size: var(--type-caption);
    font-weight: 850;
    letter-spacing: var(--tracking-label);
    line-height: 1.15;
    text-transform: uppercase;
}

.about-board-card:nth-child(1) p,
.about-board-card:nth-child(1) .about-board-card__contact,
.about-board-card:nth-child(1) .about-board-card__contact a {
    color: var(--text-on-dark-strong);
}

.about-board-card h3 {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(1.22rem, 2.05vw, 1.62rem);
    line-height: var(--leading-tight);
    text-wrap: balance;
}

.about-board-card__contact {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-top: auto;
    padding-top: var(--space-4);
    color: var(--muted);
    font-size: var(--type-small);
    font-weight: 800;
}

.about-board-card__contact a {
    color: var(--green);
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
}

.about-rhythm {
    display: grid;
    gap: var(--space-6);
}

.about-rhythm__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid var(--soft-line);
    border-radius: 14px;
    background: var(--paper-soft);
    box-shadow: var(--bezel);
}

.about-rhythm__grid article {
    display: grid;
    gap: var(--space-4);
    min-height: 178px;
    padding: var(--space-5);
    border-right: 1px solid var(--soft-line);
}

.about-rhythm__grid article:last-child {
    border-right: 0;
}

.about-rhythm__grid span {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    color: var(--on-dark);
    background: var(--magenta);
    border-radius: 999px;
    font-weight: 900;
}

.about-rhythm__grid article:nth-child(2) span {
    background: var(--green);
}

.about-rhythm__grid h3 {
    margin: var(--space-5) 0 0;
    font-size: clamp(1.1rem, 1.7vw, 1.35rem);
    line-height: var(--leading-heading);
}

.about-rhythm__grid p {
    margin: 0;
    color: var(--ink-strong);
    font-size: var(--type-small);
    line-height: 1.45;
}

.about-place {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 3.4vw, 3.4rem);
    align-items: center;
}

.about-place figure {
    position: relative;
    min-height: clamp(330px, 34vw, 390px);
    margin: 0;
    overflow: hidden;
    border: 12px solid var(--green);
    border-radius: 14px 8px 14px 8px;
    background: var(--green);
}

.about-place img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
}

.about-place figcaption {
    position: absolute;
    left: var(--space-2);
    bottom: var(--space-2);
    max-width: calc(100% - var(--space-4));
    padding: 0.42rem 0.65rem;
    color: var(--on-dark);
    background: rgb(var(--rgb-green) / 0.92);
    border-radius: 5px;
    font-size: var(--type-caption);
    font-weight: 800;
}

.about-place__copy {
    display: grid;
    gap: var(--space-5);
}

.about-place__facts {
    display: grid;
    gap: 0;
    margin: var(--space-2) 0 0;
    border: 1px solid var(--soft-line);
    border-radius: 14px;
    background: var(--paper-light);
    box-shadow: var(--bezel);
    overflow: hidden;
}

.about-place__facts div {
    display: grid;
    grid-template-columns: minmax(8rem, 0.24fr) 1fr;
    gap: var(--space-4);
    padding: var(--space-4);
    border-bottom: 1px solid var(--soft-line);
}

.about-place__facts div:last-child {
    border-bottom: 0;
}

.about-place__facts dt {
    color: var(--muted);
    font-weight: 850;
}

.about-place__facts dd {
    margin: 0;
    color: var(--ink);
    font-weight: 750;
}

.page-card-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: var(--space-3);
    margin: var(--space-8) 0;
}

.page-card-grid article:first-child {
    grid-row: span 2;
}

.page-card-grid article,
.page-contact-list,
.inline-page-form,
.page-document-list li {
    padding: var(--space-5);
    border: 1px solid var(--soft-line);
    border-radius: 14px;
    background: var(--paper-soft);
}

.page-card-grid h3 {
    margin-top: 0;
}

.page-gallery {
    display: grid;
    grid-template-columns: 1.25fr 0.9fr 0.9fr;
    gap: var(--space-3);
    margin-top: var(--space-6);
}

.page-gallery figure:first-child {
    grid-row: span 2;
}

.page-gallery figure {
    margin: 0;
}

.page-gallery img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px;
}

.page-gallery figcaption {
    margin-top: var(--space-2);
    color: var(--muted);
    font-size: var(--type-small);
    font-weight: 750;
}

.page-contact-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.inline-page-form {
    display: grid;
    gap: var(--space-3);
}

.inline-page-form label {
    display: grid;
    gap: var(--space-1);
    font-weight: 800;
}

.inline-page-form input,
.inline-page-form textarea {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--paper-light);
    color: var(--ink);
    font: inherit;
    padding: var(--space-3);
}

.inline-page-form textarea {
    min-height: 140px;
}

.privacy-note {
    color: var(--muted);
    font-size: var(--type-small);
}

.page-document-list {
    display: grid;
    gap: var(--space-3);
    margin: var(--space-6) 0 0;
    padding: 0;
    list-style: none;
}

.page-document-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
}

.page-document-list span {
    font-weight: 900;
}

.page-document-list a {
    color: var(--magenta-dark);
    font-weight: 850;
}

.event-list {
    display: grid;
    gap: var(--space-4);
    margin-top: 1.5rem;
}

.event-card {
    display: grid;
    grid-template-columns: minmax(9rem, 0.24fr) 1fr;
    gap: var(--space-4);
    align-items: stretch;
    padding: var(--space-3);
    background: linear-gradient(135deg, var(--paper-light), rgb(var(--rgb-paper-end) / 0.72));
    border: 1px solid rgb(var(--rgb-ink) / 0.1);
    border-radius: 18px;
    box-shadow: var(--bezel);
}

.event-card__date {
    display: grid;
    align-content: center;
    gap: 0.25rem;
    min-height: 94px;
    padding: var(--space-4);
    color: var(--on-dark);
    background: var(--green);
    border-radius: 14px;
    font-weight: 900;
}

.event-card__date small,
.event-meta {
    color: var(--muted);
    font-weight: 700;
}

.event-card__date small {
    color: var(--text-on-dark-muted);
}

.event-card__body {
    align-self: center;
    min-width: 0;
}

.event-card__body h2 {
    margin: 0 0 0.35rem;
    font-size: clamp(1.2rem, 2vw, 1.65rem);
}

.event-card__body h2 a {
    color: var(--ink);
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.16em;
}

.event-card__body p {
    margin: 0.4rem 0 0;
}

.event-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.event-facts {
    display: grid;
    gap: 0.75rem;
    margin: 0 0 1.5rem;
}

.event-facts div {
    display: grid;
    grid-template-columns: minmax(6rem, 0.22fr) 1fr;
    gap: 0.8rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--soft-line);
}

.event-facts dt {
    color: var(--muted);
    font-weight: 800;
}

.event-facts dd {
    margin: 0;
}

.empty-state {
    margin-top: 1.5rem;
    padding: var(--space-5);
    background: var(--paper-light);
    border: 1px solid var(--soft-line);
    border-radius: 18px;
    box-shadow: var(--bezel);
}

.album-list,
.document-list,
.faq-list {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.album-section {
    display: grid;
    gap: var(--space-4);
}

.album-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: var(--space-3);
}

.album-grid figure {
    position: relative;
    grid-column: span 6;
    min-height: 260px;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgb(var(--rgb-green) / 0.12);
    border-radius: 14px;
    background: var(--paper-warm);
    box-shadow: var(--bezel);
}

.album-grid figure:first-child {
    grid-column: span 7;
    min-height: 340px;
}

.album-grid figure:nth-child(2) {
    grid-column: span 5;
    min-height: 340px;
}

.album-grid figure:nth-child(n+3) {
    grid-column: span 4;
}

.album-grid img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
}

.album-grid figcaption {
    position: absolute;
    left: 0.7rem;
    bottom: 0.7rem;
    max-width: calc(100% - 1.4rem);
    padding: 0.35rem 0.5rem;
    color: var(--on-dark);
    background: rgb(var(--rgb-green-deep) / 0.82);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
}

.document-card,
.plan-card,
.faq-list details {
    padding: var(--space-5);
    background: linear-gradient(145deg, var(--paper-light), rgb(var(--rgb-paper-end) / 0.62));
    border: 1px solid rgb(var(--rgb-ink) / 0.1);
    border-radius: 18px;
    box-shadow: var(--bezel);
}

.document-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: center;
}

.document-card h2,
.plan-card h2 {
    margin-top: 0;
}

.document-card h2 {
    margin-bottom: var(--space-2);
}

.document-card small,
.plan-card small {
    color: var(--muted);
    font-weight: 700;
}

.plan-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-4);
    margin-top: 1.5rem;
}

.plan-card {
    display: flex;
    flex-direction: column;
    min-height: 260px;
}

.plan-card:first-child {
    color: var(--on-dark);
    background: linear-gradient(160deg, var(--green), var(--green-deep));
    border-color: var(--overlay-light-medium);
}

.plan-card:first-child .section-kicker,
.plan-card:first-child .plan-card__amount {
    color: var(--on-dark);
}

.plan-card:first-child small,
.plan-card:first-child p {
    color: var(--text-on-dark-soft);
}

.plan-card__amount {
    margin: 0.4rem 0;
    color: var(--magenta-dark);
    font-family: var(--display);
    font-size: clamp(1.55rem, 3vw, 2.15rem);
    font-weight: 900;
    line-height: var(--leading-tight);
}

.faq-section {
    margin-top: clamp(2rem, 3vw, 3rem);
}

.faq-list summary {
    cursor: pointer;
    font-weight: 900;
    min-height: 32px;
}

.faq-list p {
    margin-bottom: 0;
}

.page-detail__actions {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-4);
    border-top: 1px solid var(--soft-line);
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(1.25rem);
    transition: opacity 620ms var(--motion), transform 620ms var(--motion);
    transition-delay: var(--reveal-delay, 0ms);
}

.reveal-on-scroll.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 1ms !important;
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
    }

    .reveal-on-scroll {
        opacity: 1;
        transform: none;
        filter: none;
    }
}

@media (max-width: 1160px) {
    .site-header {
        grid-template-columns: 1fr auto auto;
    }

    .main-nav {
        display: none;
    }

    .site-header.is-menu-open .main-nav {
        display: block;
        grid-column: 1 / -1;
        order: 4;
        padding: var(--space-1) 0 var(--space-3);
    }

    .site-header.is-menu-open .main-nav ul {
        display: grid;
        gap: 0;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: var(--surface-menu);
        overflow: hidden;
    }

    .site-header.is-menu-open .main-nav a {
        min-height: 48px;
        padding: 0 1rem;
        border-bottom: 1px solid var(--soft-line);
    }

    .site-header.is-menu-open .main-nav li:last-child a {
        border-bottom: 0;
    }

    .menu-button {
        display: flex;
    }

    .hero {
        grid-template-columns: 1fr;
    }

    .hero__copy {
        max-width: none;
        padding-right: var(--gutter);
        background: var(--paper-light);
    }

    .hero__media {
        min-height: 360px;
        margin: 0 var(--gutter) 1.1rem;
        overflow: hidden;
        border-radius: 8px;
    }

    .hero__photo {
        clip-path: none;
    }

    .hero__logo-card {
        right: 1.5rem;
        width: 240px;
    }

    .proof-strip,
    .content-grid,
    .contact-band,
    .site-footer {
        grid-template-columns: 1fr 1fr;
    }

    .contact-band {
        grid-template-columns: 1fr;
        grid-template-areas:
            "copy"
            "form"
            "details";
    }

    .content-grid {
        grid-template-areas:
            "steps steps"
            "status status"
            "gallery gallery";
    }

    .proof-strip article {
        padding: 1rem;
    }

    .gallery-card {
        grid-column: span 2;
    }

    .site-footer p {
        grid-column: span 2;
    }
}

@media (max-width: 760px) {
    .reveal-on-scroll {
        opacity: 1;
        transform: none;
        filter: none;
        transition: none;
    }

    body.admin-bar .site-header {
        top: 0;
    }

    .site-header {
        position: relative;
        top: 0;
        grid-template-columns: 1fr auto;
        gap: 0.75rem;
        min-height: auto;
        width: auto;
        padding: var(--space-2) 1rem var(--space-3);
        margin: 0;
        border-width: 0 0 1px;
        border-radius: 0;
    }

    .brand__mark {
        width: 66px;
        height: 66px;
    }

    .brand__copy strong {
        font-size: clamp(1.45rem, 6.5vw, 2rem);
    }

    .brand__copy span {
        font-size: 0.95rem;
    }

    .header-cta {
        display: none;
    }

    .menu-button {
        width: 46px;
    }

    .hero {
        min-height: 0;
        border-top: 1px solid var(--line);
    }

    .hero__copy {
        padding: var(--space-6) var(--space-4) var(--space-3);
    }

    .eyebrow,
    .section-kicker {
        font-size: var(--type-small);
    }

    .hero h1 {
        margin-top: var(--space-3);
        font-size: clamp(2.25rem, 9.8vw, 3.35rem);
        line-height: 0.96;
    }

    .hero__lead {
        margin-top: var(--space-3);
        font-size: 1rem;
    }

    .hero__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--space-3);
    }

    .hero__actions .button {
        min-width: 0;
        padding-inline: 0.75rem;
    }

    .trust-pills {
        grid-template-columns: repeat(3, 1fr);
        max-width: none;
    }

    .trust-pills span {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: var(--space-1);
        min-height: 64px;
        padding: var(--space-2) var(--space-2);
        text-align: center;
    }

    .hero__media {
        min-height: 304px;
        margin: 0 var(--space-4) var(--space-4);
    }

    .hero__photo {
        min-height: 304px;
    }

    .hero__media::after {
        width: 82%;
        height: 18px;
    }

    .hero__logo-card {
        right: -0.05rem;
        top: 8%;
        width: min(230px, 49vw);
        padding: var(--space-3);
        border-width: 12px;
    }

    .proof-strip {
        grid-template-columns: 1fr 1fr;
        gap: 0;
        margin: 0 var(--space-4);
        padding: 0;
        overflow: hidden;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: var(--surface-mobile-panel);
    }

    .proof-strip article {
        grid-template-columns: 44px 1fr;
        gap: 0.75rem;
        min-height: 88px;
        padding: 0.9rem;
        border-right: 1px solid var(--soft-line);
        border-bottom: 1px solid var(--soft-line);
    }

    .proof-strip article:nth-child(2) {
        border-right: 0;
    }

    .proof-strip article:nth-child(3) {
        border-bottom: 0;
    }

    .proof-strip article:nth-child(4) {
        border-right: 0;
        border-bottom: 0;
    }

    .proof-strip h2 {
        font-size: 0.96rem;
    }

    .proof-strip p {
        font-size: 0.82rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "steps"
            "status"
            "gallery";
        gap: var(--space-4);
        padding: clamp(2.4rem, 9vw, 3.6rem) var(--space-4) clamp(2rem, 8vw, 3rem);
    }

    .steps-card h2 {
        font-size: clamp(1.55rem, 7.4vw, 2.35rem);
    }

    .gallery-card {
        grid-column: auto;
    }

    .card {
        padding: var(--space-4);
        border-radius: 18px;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .step {
        min-height: 0;
        display: grid;
        grid-template-columns: 34px 48px 1fr;
        gap: 0.75rem;
        align-items: center;
        padding: var(--space-3) 0;
        text-align: left;
    }

    .step + .step {
        border-left: 0;
        border-top: 1px solid var(--line);
        padding-left: 0;
    }

    .step svg,
    .step i {
        width: 42px;
        height: 42px;
        margin: 0;
    }

    .step i {
        font-size: 2.6rem;
    }

    .step h3 {
        font-size: var(--type-caption);
    }

    .step p {
        font-size: var(--type-caption);
    }

    .step h3,
    .step p {
        grid-column: 3;
    }

    .step p {
        margin-top: -var(--space-2);
    }

    .steps-card__cta {
        width: 90%;
    }

    .photo-grid {
        grid-template-columns: 1fr 0.9fr;
        gap: var(--space-2);
        height: 330px;
    }

    .photo-grid figure {
        border-radius: 12px;
    }

    .photo-grid figcaption {
        top: var(--space-2);
        bottom: auto;
        font-size: var(--type-caption);
    }

    .status-card {
        min-height: 236px;
    }

    .contact-band {
        grid-template-columns: 1fr;
        grid-template-areas:
            "copy"
            "form"
            "details";
        gap: var(--space-4);
        margin-top: var(--space-4);
        padding: var(--space-6) var(--space-4) var(--space-4);
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .contact-form__message {
        grid-column: 1;
        grid-row: auto;
    }

    .contact-form label:nth-child(1),
    .contact-form label:nth-child(2),
    .form-status {
        grid-column: 1;
        grid-row: auto;
    }

    .contact-form button {
        grid-column: 1;
        grid-row: auto;
        min-height: 46px;
        justify-self: stretch;
    }

    .contact-details {
        grid-column: auto;
        grid-template-columns: 1fr;
        gap: var(--space-3);
        font-size: 0.9rem;
    }

    .site-footer {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        padding: 1rem var(--space-4) 1.25rem;
    }

    .site-footer nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem 2rem;
    }

    .site-footer p {
        grid-column: auto;
        justify-self: center;
    }

    .page-card-grid,
    .page-gallery,
    .page-contact-list {
        grid-template-columns: 1fr;
    }

    .legal-page__content {
        grid-template-columns: 1fr;
    }

    .about-page__shell,
    .about-club-note,
    .about-place {
        grid-template-columns: 1fr;
    }

    .about-hero__media,
    .about-hero__media img {
        min-height: 300px;
    }

    .about-board__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-rhythm__grid {
        grid-template-columns: 1fr;
    }

    .about-rhythm__grid article {
        min-height: 0;
        border-right: 0;
        border-bottom: 1px solid var(--soft-line);
    }

    .about-rhythm__grid article:last-child {
        border-bottom: 0;
    }

    .about-place figure {
        min-height: 320px;
    }

    .page-detail__media {
        width: 100%;
        min-height: 260px;
    }

    .page-detail__media img {
        min-height: 260px;
    }

    .event-card,
    .event-facts div,
    .document-card {
        grid-template-columns: 1fr;
    }

    .album-grid,
    .plan-grid {
        grid-template-columns: 1fr;
    }

    .legal-page h1 {
        overflow-wrap: anywhere;
    }

    .page-detail--vereinsdokumente h1,
    .page-detail--datenschutzerklaerung h1 {
        font-size: clamp(1.85rem, 8vw, 2.25rem);
    }

    .page-gallery figure:first-child {
        grid-row: auto;
    }
}

@media (max-width: 460px) {
    .brand {
        gap: var(--space-3);
    }

    .brand__mark {
        width: 58px;
        height: 58px;
    }

    .hero__actions {
        grid-template-columns: 1fr;
    }

    .trust-pills {
        grid-template-columns: 1fr;
    }

    .trust-pills span {
        grid-template-columns: 28px 1fr;
        justify-items: start;
        text-align: left;
        min-height: 52px;
        padding-inline: var(--space-4);
        border-right: 0;
        border-bottom: 1px solid var(--soft-line);
    }

    .trust-pills span:last-child {
        border-bottom: 0;
    }

    .hero__logo-card {
        width: min(212px, 54vw);
    }

    .proof-strip,
    .contact-form,
    .contact-details {
        grid-template-columns: 1fr;
    }

    .proof-strip article,
    .proof-strip article:nth-child(2),
    .proof-strip article:nth-child(3),
    .proof-strip article:nth-child(4) {
        border-right: 0;
        border-bottom: 1px solid var(--soft-line);
    }

    .proof-strip article:nth-child(4) {
        border-bottom: 0;
    }

    .photo-grid {
        grid-template-columns: 1fr;
        grid-template-rows: 246px 184px 184px;
        height: auto;
    }

    .photo-grid figcaption,
    .photo-grid figure:not(.photo-grid__large) figcaption {
        font-size: var(--type-caption);
    }

    .photo-grid__large {
        grid-row: auto;
    }

    .contact-form__message {
        grid-column: auto;
        grid-row: auto;
    }

    .contact-form label:nth-child(1),
    .contact-form label:nth-child(2),
    .contact-form button,
    .form-status {
        grid-column: 1;
        grid-row: auto;
        justify-self: stretch;
    }

    .legal-page {
        padding: var(--space-4);
    }

    .legal-page__content {
        padding: var(--space-5);
    }

    .about-board-card,
    .about-rhythm__grid article {
        padding: var(--space-4);
    }

    .about-club-note__facts,
    .about-board__grid {
        grid-template-columns: 1fr;
    }

    .about-club-note__facts span {
        min-height: 78px;
        border-right: 0;
        border-bottom: 1px solid var(--overlay-light-medium);
    }

    .about-club-note__facts span:last-child {
        border-bottom: 0;
    }

    .about-board-card {
        min-height: 206px;
    }

    .about-club-note h2 {
        font-size: clamp(1.55rem, 8vw, 2rem);
    }

    .about-place__facts div {
        grid-template-columns: 1fr;
        gap: var(--space-2);
    }

    .page-document-list li {
        align-items: flex-start;
        flex-direction: column;
    }
}
