@font-face {
    font-family: Fraunces;
    src: url("../fonts/fraunces-400.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Fraunces;
    src: url("../fonts/fraunces-600.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Outfit;
    src: url("../fonts/outfit-400.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Outfit;
    src: url("../fonts/outfit-500.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Outfit;
    src: url("../fonts/outfit-600.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: #f6f3ee;
    --bg-tint: #f3ece4;
    --surface: #fffcf8;
    --ink: #241c22;
    --muted: #655c63;
    --line: #e4dbd2;
    --plum: #6b347f;
    --plum-deep: #4c215c;
    --plum-soft: #f4eaf6;
    --red: #c5162c;
    --shadow: 0 24px 60px rgba(56, 28, 46, 0.08);
    --sans: Outfit, "Avenir Next", "Segoe UI", sans-serif;
    --serif: Fraunces, "Iowan Old Style", Palatino, Georgia, serif;
    color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background:
        radial-gradient(880px 460px at 100% -8%, rgba(107, 52, 127, 0.09), transparent 62%),
        radial-gradient(640px 380px at -8% 12%, rgba(197, 22, 44, 0.05), transparent 58%),
        var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 1.05rem;
    line-height: 1.6;
}

img { max-width: 100%; height: auto; }

h1, h2, h3 {
    font-family: var(--serif);
    font-weight: 400;
    letter-spacing: -0.03em;
    line-height: 1.12;
}

h1 { font-size: clamp(2.7rem, 6vw, 5rem); margin: 0.2rem 0 0.8rem; }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin: 0 0 0.6rem; }
h3 { font-size: 1.45rem; margin: 0 0 0.4rem; }

p { margin: 0 0 0.8rem; }

a { color: var(--plum-deep); }
a:hover { color: var(--red); }

:focus-visible {
    outline: 3px solid var(--plum);
    outline-offset: 3px;
}

.skip {
    position: absolute;
    left: 1rem;
    top: -4rem;
    background: var(--ink);
    color: white;
    padding: 0.6rem 0.9rem;
    border-radius: 999px;
    z-index: 20;
}

.skip:focus { top: 1rem; }

.wrap {
    width: min(1120px, calc(100% - 2.4rem));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(246, 243, 238, 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
}

.header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 84px;
}

.logo img { height: 52px; width: auto; display: block; }

.nav {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.15rem;
}

.nav a {
    position: relative;
    z-index: 1;
    color: var(--ink);
    text-decoration: none;
    font-weight: 500;
    padding: 0.42rem 0.85rem;
    border-radius: 999px;
}

.nav a[aria-current="page"] {
    color: white;
}

.nav-pill {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    background: var(--plum);
    border-radius: 999px;
    pointer-events: none;
    transition: transform 0.35s ease, width 0.35s ease, height 0.35s ease;
}

.nav-toggle {
    display: none;
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
    font: inherit;
    align-items: center;
    gap: 0.45rem;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
    display: block;
    width: 16px;
    height: 2px;
    background: var(--ink);
    content: "";
    position: relative;
}

.nav-toggle__bars::before { top: -5px; }
.nav-toggle__bars::after { top: 3px; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.7rem 1.15rem;
    border-radius: 999px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.btn-primary { background: var(--plum); color: white; }
.btn-primary:hover { background: var(--plum-deep); color: white; }
.btn-ghost { border-color: var(--line); background: var(--surface); }
.btn-ghost:hover { border-color: var(--plum); color: var(--plum-deep); }
.btn-small { min-height: 42px; padding-inline: 0.95rem; }

.kicker {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.7rem;
    color: var(--red);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.kicker img { width: 18px; height: 18px; }

.lead { font-size: 1.18rem; color: var(--muted); max-width: 42rem; }

.hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.2rem;
    align-items: center;
    padding: 2.2rem 0 4rem;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1.4rem 0 0.8rem; }
.hero__note { color: var(--muted); font-size: 0.95rem; }

.hero-photo { margin: 0; }
.hero-photo img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 32px;
    display: block;
    box-shadow: var(--shadow);
}
.hero-photo figcaption { margin-top: 0.75rem; color: var(--muted); font-size: 0.95rem; }

.section { padding: 0.5rem 0 4.2rem; }
.section--tint { background: rgba(255, 252, 248, 0.7); padding: 3.2rem 0; margin-bottom: 3rem; }
.section__head { max-width: 40rem; margin-bottom: 1.4rem; }
.section__more { margin-top: 1rem; font-weight: 600; }

.card-grid, .place-grid, .story-grid, .support-grid, .contact-grid {
    display: grid;
    gap: 1rem;
}

.card-grid, .place-grid { grid-template-columns: repeat(2, 1fr); }
.support-grid, .contact-grid { grid-template-columns: 1.1fr 0.9fr; }
.contact-grid { grid-template-columns: repeat(3, 1fr); }

.card, .place, .note, .file {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 1.3rem 1.35rem 1.15rem;
}

.card p:last-child, .place p:last-child { margin-bottom: 0; }

.termin-list { display: grid; gap: 0.75rem; }

.termin {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 1rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 1rem;
}

.termin--past { opacity: 0.78; }

.termin__date {
    display: grid;
    place-items: center;
    align-content: center;
    background: var(--plum-soft);
    color: var(--plum-deep);
    border-radius: 16px;
    min-height: 76px;
}

.termin__date span { font-family: var(--serif); font-size: 1.7rem; line-height: 1; }
.termin__date small { font-weight: 600; letter-spacing: 0.04em; }
.termin__meta, .termin__full { color: var(--muted); font-size: 0.92rem; margin-bottom: 0.2rem; }
.termin h3 { margin-bottom: 0.25rem; }
.termin p:last-child { margin-bottom: 0; }

.note { margin-top: 1.2rem; background: var(--plum-soft); border-color: transparent; }
.people { list-style: none; padding: 0; margin: 0; }
.people li { margin: 0.35rem 0; }

.split {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: center;
}

.pull {
    margin: 0;
    padding: 1.5rem;
    background: var(--ink);
    color: #f7f1ea;
    border-radius: 28px;
}

.pull p {
    font-family: var(--serif);
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    line-height: 1.25;
    margin: 0;
}

.story {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 1.2rem;
    align-items: center;
    text-decoration: none;
    color: inherit;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 28px;
    overflow: hidden;
}

.story img, .story__fallback { width: 100%; height: 100%; min-height: 240px; object-fit: cover; display: block; }
.story__fallback {
    background: var(--plum-soft) url("/assets/img/favicon-32.png") center / 42px no-repeat;
}
.story div { padding: 1.2rem 1.4rem 1.4rem 0.2rem; }
.story h3, .story h2 { color: var(--ink); }
.story-grid { grid-template-columns: repeat(2, 1fr); }
.story--card { grid-template-columns: 1fr; }
.story--card div { padding: 1rem 1.15rem 1.2rem; }
.story--card img { min-height: 210px; height: 210px; }
.story--card .story__fallback { min-height: 148px; height: 148px; }
.text-link { font-weight: 600; color: var(--plum-deep); }

.page-hero { padding: 2.4rem 0 1rem; }
.page-hero .kicker a { color: inherit; text-decoration: none; }

.prose, .prose-blocks { padding-bottom: 3.5rem; }
.prose { max-width: 68ch; }
.prose-blocks { display: grid; gap: 0.4rem; }
.prose li { margin: 0.3rem 0; }

.place-grid { align-items: stretch; }
.place__note { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 0.8rem 0 0; }
.contact-list li { display: grid; grid-template-columns: 8.5rem 1fr; gap: 0.4rem; padding: 0.35rem 0; border-top: 1px solid var(--line); }
.contact-list span { color: var(--muted); }

.card h2 {
    font-size: 1.35rem;
}
.iban {
    font-family: var(--sans);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    white-space: nowrap;
}
.card--finance {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 0.75rem;
}
.card--finance .kicker,
.card--finance h2,
.card--finance .iban { margin: 0; }
.card--finance .qr { margin: 0.15rem 0 0.2rem; }
.qr { width: 160px; height: auto; border-radius: 12px; background: white; }

.file-list { display: grid; gap: 0.8rem; }
.file { display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.file h2 { font-size: 1.5rem; }

.report { padding-bottom: 4rem; }
.report-cover { margin: 0 0 1.4rem; }
.report-cover img {
    width: 100%;
    max-height: 640px;
    object-fit: contain;
    background: #efe8df;
    border-radius: 24px;
}
.report-cover figcaption, .gallery figcaption { color: var(--muted); font-size: 0.92rem; margin-top: 0.4rem; }

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.8rem;
    margin-top: 1.5rem;
}
.gallery img { width: 100%; height: 200px; object-fit: cover; border-radius: 16px; }
.gallery figure { margin: 0; }

.empty { color: var(--muted); }

.site-footer {
    border-top: 1px solid var(--line);
    padding: 2.4rem 0 1.4rem;
    background: rgba(255, 252, 248, 0.65);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr 1fr;
    gap: 1.5rem;
}
.footer-grid h2 { font-family: var(--sans); font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid a { text-decoration: none; }
.logo--footer img { height: 44px; margin-bottom: 0.6rem; }
.footer-base {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.6rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.92rem;
}
.footer-base p:last-child { display: flex; gap: 1rem; }

@media (max-width: 980px) {
    .nav-toggle { display: inline-flex; }
    .nav {
        display: none;
        position: absolute;
        left: 1.2rem;
        right: 1.2rem;
        top: 76px;
        flex-direction: column;
        align-items: stretch;
        padding: 0.8rem;
        background: var(--surface);
        border: 1px solid var(--line);
        border-radius: 20px;
        box-shadow: var(--shadow);
    }
    .nav.is-open { display: flex; }
    .nav a { padding: 0.55rem 0.7rem; }
    .nav-pill { transition: none; }
    .hero, .split, .story, .card-grid, .place-grid, .story-grid, .support-grid, .contact-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    .hero-photo { order: -1; }
    .story div { padding: 1rem 1.1rem 1.2rem; }
    .file, .footer-base { flex-direction: column; align-items: flex-start; }
    .contact-list li { grid-template-columns: 1fr; gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .nav-pill { transition: none; }
}

@media print {
    .site-header, .site-footer, .btn, .hero-photo { display: none; }
    body { background: white; }
}
