/**
 * Bürgerhilfe Kreuzau – öffentliche Website
 * Design angelehnt an fanbus.koeln / Office-Farbschema.
 */
:root {
    --ruah-accent: #55b6c5;
    --ruah-accent-hover: #25717d;
    --ruah-accent-dark: #349aaa;
    --ruah-green: #2d5a47;
    --ruah-green-soft: #d8ebe0;
    --ruah-bg: #f3f0eb;
    --ruah-bg-mid: #ebe6df;
    --ruah-card: #fffefb;
    --ruah-text: #263340;
    --ruah-muted: #5c6b78;
    --ruah-line: #e2dcd4;
    --ruah-accent-soft: #d4eef1;
    --ruah-warm-ink: #6b4a3d;
    --ruah-wash-sand: rgba(232, 196, 160, 0.22);
    --portal-radius-sm: 10px;
    --portal-radius-md: 14px;
    --portal-radius-lg: 22px;
    --portal-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --portal-shadow-sm: 0 1px 2px rgba(38, 51, 64, 0.04), 0 4px 16px rgba(38, 51, 64, 0.06);
    --portal-shadow-md: 0 8px 24px rgba(38, 51, 64, 0.08), 0 2px 6px rgba(38, 51, 64, 0.04);
    --portal-shadow-nav: 0 4px 20px rgba(38, 51, 64, 0.1);
}

* { box-sizing: border-box; }

@keyframes portal-hero-in {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.skip-link:focus {
    position: fixed;
    left: 1rem;
    top: 1rem;
    width: auto;
    height: auto;
    z-index: 1000;
    padding: 0.5rem 1rem;
    background: var(--ruah-card);
    color: var(--ruah-accent-hover);
    border: 2px solid var(--ruah-accent);
    border-radius: var(--portal-radius-sm);
    font-weight: 600;
    clip: auto;
}

body {
    margin: 0;
    font-family: "Inter Tight", "Segoe UI", system-ui, -apple-system, sans-serif;
    background-color: var(--ruah-bg);
    background-image: linear-gradient(180deg, var(--ruah-bg) 0%, var(--ruah-bg-mid) 55%, var(--ruah-bg) 100%);
    color: var(--ruah-text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

body.is-home {
    background-image:
        radial-gradient(ellipse 110% 70% at 100% -15%, rgba(85, 182, 197, 0.16), transparent 52%),
        radial-gradient(ellipse 95% 65% at -5% 25%, var(--ruah-wash-sand), transparent 48%),
        linear-gradient(180deg, var(--ruah-bg) 0%, #efeae3 50%, var(--ruah-bg) 100%);
}

.site-header {
    background: linear-gradient(180deg, var(--ruah-accent-dark) 0%, var(--ruah-accent) 100%);
    color: #fff;
    box-shadow: var(--portal-shadow-nav);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    position: relative;
    z-index: 100;
}

.site-header-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 12px 1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1.25rem;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px 18px;
    flex-shrink: 0;
    color: #fff;
    text-decoration: none;
    max-width: min(100%, 420px);
}

.site-brand-name {
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.02em;
}

.site-brand-tagline {
    display: block;
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.96);
    max-width: 14rem;
}

.site-logo-mark {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.site-logo,
.site-logo-image {
    background: transparent !important;
}

.site-logo-image {
    display: block;
    height: 132px;
    width: auto;
    max-width: min(420px, 82vw);
    object-fit: contain;
}

.site-nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    margin-left: auto;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    cursor: pointer;
}

.site-nav-toggle-icon {
    display: block;
    width: 22px;
    height: 2px;
    margin: 0 auto;
    background: currentColor;
    box-shadow: 0 -7px 0 currentColor, 0 7px 0 currentColor;
}

.site-header.is-nav-open .site-nav-toggle-icon {
    box-shadow: none;
    background: transparent;
    position: relative;
}
.site-header.is-nav-open .site-nav-toggle-icon::before,
.site-header.is-nav-open .site-nav-toggle-icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 22px;
    height: 2px;
    margin: -1px 0 0 -11px;
    background: currentColor;
}
.site-header.is-nav-open .site-nav-toggle-icon::before { transform: rotate(45deg); }
.site-header.is-nav-open .site-nav-toggle-icon::after { transform: rotate(-45deg); }

.site-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.15rem 0.2rem;
}

.site-nav a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-weight: 500;
    padding: 10px 12px;
    border-radius: 8px;
    white-space: nowrap;
}
.site-nav a:hover,
.site-nav a.is-active {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.site-nav-office {
    border: 1px solid rgba(255, 255, 255, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.site-nav-office-lock {
    flex-shrink: 0;
    opacity: 0.9;
}

body.site-nav-open { overflow: hidden; }

@media (max-width: 768px) {
    .site-header-inner {
        display: grid;
        grid-template-columns: 1fr 44px;
        align-items: center;
    }
    .site-brand {
        justify-self: start;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem 0;
        max-width: calc(100% - 52px);
    }
    .site-brand-tagline {
        font-size: 0.88rem;
        max-width: none;
        padding-right: 0.5rem;
    }
    .site-logo-image {
        height: 104px;
        max-width: min(340px, 72vw);
    }
    .site-nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
    .site-nav {
        grid-column: 1 / -1;
        display: none;
        flex-direction: column;
        align-items: stretch;
        margin: 0;
        padding-top: 0.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.14);
    }
    .site-header.is-nav-open .site-nav { display: flex; }
    .site-nav a { width: 100%; }
}

.site-main {
    flex: 1;
    max-width: 720px;
    margin: 0 auto;
    padding: 22px 1rem 36px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
}

body.is-home .site-main { max-width: 920px; }

.hero,
.content-block,
.not-found {
    background: var(--ruah-card);
    border: 1px solid var(--ruah-line);
    border-radius: var(--portal-radius-lg);
    box-shadow: var(--portal-shadow-sm);
}

.hero--home {
    padding: 0;
    overflow: hidden;
}

.hero-visual {
    height: 132px;
    background-color: var(--ruah-accent-dark);
    background-image: url("../img/hero-motif.svg");
    background-size: cover;
    background-position: center 42%;
}

.flyer-motifs {
    display: grid;
    gap: 1rem;
    margin: 0 0 1.25rem;
    padding: 0 0.15rem;
}

@media (min-width: 720px) {
    .flyer-motifs {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.15rem;
        align-items: center;
    }
}

.flyer-motif {
    margin: 0;
    border-radius: 50%;
    overflow: hidden;
    aspect-ratio: 1;
    box-shadow: var(--portal-shadow-sm);
    border: 3px solid rgba(52, 154, 170, 0.35);
    background: #fff;
}

.flyer-motif img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.flyer-motif--badge {
    border-radius: 28%;
    border-color: rgba(52, 154, 170, 0.45);
    background: transparent;
}

.flyer-motif--badge img {
    object-fit: contain;
    padding: 0.35rem;
}

/* Einzelmotiv auf Inhaltsseiten */
.page-motif {
    margin: 1rem auto 1.35rem;
    max-width: 220px;
    border-radius: 50%;
    overflow: hidden;
    aspect-ratio: 1;
    box-shadow: var(--portal-shadow-sm);
    border: 3px solid rgba(52, 154, 170, 0.35);
    background: #fff;
}

.page-motif img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (min-width: 720px) {
    .page-motif {
        max-width: 260px;
        margin-left: 0;
    }
}

/* Persönliche Vorstellung (Die Idee) */
.person-intro {
    display: grid;
    gap: 1.15rem;
    align-items: start;
    margin: 0.35rem 0 0.5rem;
}

.person-intro__photo {
    margin: 0 auto;
    width: min(200px, 55vw);
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(28, 55, 48, 0.14);
    background: #fff;
}

.person-intro__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
}

.person-intro__text p:last-child {
    margin-bottom: 0;
}

@media (min-width: 720px) {
    .person-intro {
        grid-template-columns: 200px 1fr;
        gap: 1.5rem;
        align-items: center;
    }

    .person-intro__photo {
        margin: 0;
        width: 200px;
    }
}

.hero-body { padding: 20px 1.1rem 24px; }
.hero-body > * { animation: portal-hero-in 0.55s var(--portal-ease) backwards; }
.hero-body > *:nth-child(2) { animation-delay: 0.06s; }
.hero-body > *:nth-child(3) { animation-delay: 0.1s; }
.hero-body > *:nth-child(4) { animation-delay: 0.14s; }
.hero-body > *:nth-child(5) { animation-delay: 0.18s; }
.hero-body > *:nth-child(6) { animation-delay: 0.22s; }

.hero-eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ruah-accent-dark);
}

.hero-subtitle {
    margin: 0 0 0.5rem;
    font-size: clamp(1.15rem, 2.8vw, 1.45rem);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.02em;
    color: var(--ruah-accent-hover);
}

.hero-subtitle-note {
    margin: 0 0 0.85rem;
    font-size: 1.02rem;
    line-height: 1.55;
    color: var(--ruah-text);
    max-width: 42rem;
}

.hero h1 {
    margin: 0 0 0.4rem;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    letter-spacing: -0.03em;
}

.hero-quote {
    margin: 0 0 0.75rem;
    font-size: 1.15rem;
    font-weight: 600;
    font-style: italic;
    color: var(--ruah-warm-ink);
}

.lead-promise {
    margin: 0 0 1rem;
    font-size: clamp(1.15rem, 2.8vw, 1.35rem);
    line-height: 1.45;
    color: var(--ruah-ink, #1a2b2e);
}

.hero-tagline { margin: 0 0 0.65rem; }
.hero-tagline-block { margin-bottom: 0.5rem; }

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 1rem 0 0.75rem;
}

.hero-tools-hint {
    margin: 0;
    font-size: 0.92rem;
    color: var(--ruah-muted);
}

.brand-mission {
    padding: 1.25rem 1.15rem 1.35rem;
    background: linear-gradient(135deg, var(--ruah-green-soft) 0%, var(--ruah-accent-soft) 100%);
    border: 1px solid rgba(45, 90, 71, 0.14);
    border-radius: var(--portal-radius-lg);
    box-shadow: var(--portal-shadow-sm);
}

.brand-mission__eyebrow {
    margin: 0 0 0.55rem;
    font-size: clamp(1.1rem, 2.6vw, 1.35rem);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.02em;
    color: var(--ruah-green);
}

.brand-mission__lead {
    margin: 0 0 0.85rem;
    font-size: 1.02rem;
    line-height: 1.55;
}

.brand-mission__list {
    margin: 0;
    padding-left: 1.15rem;
    display: grid;
    gap: 0.45rem;
}

.brand-mission__list li {
    line-height: 1.45;
}

.page-tagline {
    margin: 0.35rem 0 0.5rem;
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    font-weight: 700;
    line-height: 1.35;
    color: var(--ruah-accent-hover);
}

.page-tagline-note {
    margin: 0 0 0.5rem;
    font-size: 1.02rem;
    line-height: 1.55;
    color: var(--ruah-muted);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.15rem;
    border-radius: var(--portal-radius-sm);
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-primary {
    background: var(--ruah-green);
    color: #fff;
    border-color: var(--ruah-green);
}
.btn-primary:hover {
    background: #234a3a;
    border-color: #234a3a;
}

.btn-outline {
    background: transparent;
    color: var(--ruah-accent-hover);
    border-color: var(--ruah-accent);
}
.btn-outline:hover {
    background: var(--ruah-accent-soft);
}

.btn-inline { margin-top: 0.35rem; }

.home-intro-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .home-intro-grid { grid-template-columns: 1fr 1fr; }
}

.home-card {
    background: var(--ruah-card);
    border: 1px solid var(--ruah-line);
    border-radius: var(--portal-radius-lg);
    padding: 1.25rem 1.35rem;
    box-shadow: var(--portal-shadow-sm);
}

.home-card__title {
    margin: 0 0 0.5rem;
    font-size: 1.15rem;
    color: var(--ruah-accent-hover);
}

.home-card__lead { margin: 0 0 0.65rem; }

.home-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 1rem 0 0.5rem;
}

.home-card .text-muted {
    margin: 0.35rem 0 0;
    font-size: 0.95rem;
}

.tiles-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .tiles-row { grid-template-columns: repeat(4, 1fr); }
}

.tile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    padding: 1rem;
    background: var(--ruah-card);
    border: 1px solid var(--ruah-line);
    border-radius: var(--portal-radius-md);
    text-decoration: none;
    color: inherit;
    box-shadow: var(--portal-shadow-sm);
    transition: transform 0.2s var(--portal-ease), box-shadow 0.2s;
}
.tile:hover {
    transform: translateY(-2px);
    box-shadow: var(--portal-shadow-md);
}

.tile-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--ruah-accent-soft);
    color: var(--ruah-accent-hover);
}

.tile-title { font-weight: 700; }
.tile-desc { font-size: 0.88rem; color: var(--ruah-muted); }

.content-block { padding: 1.35rem 1.4rem; }
.content-block--tight { padding: 1.25rem 1.35rem; }
.content-block--prose h1,
.content-block--prose h2 { margin-top: 0; color: var(--ruah-accent-hover); }
.content-block--prose h2 { margin-top: 1.5rem; font-size: 1.2rem; }
.content-block--prose p { margin: 0 0 0.85rem; }

.text-muted { color: var(--ruah-muted); font-size: 0.95rem; }
.text-link { font-weight: 600; color: var(--ruah-accent-hover); }

.value-list {
    margin: 0 0 1rem;
    padding-left: 1.2rem;
}
.value-list li { margin-bottom: 0.45rem; }

.steps-list {
    margin: 0;
    padding-left: 1.25rem;
}
.steps-list li {
    margin-bottom: 1rem;
    padding-left: 0.25rem;
}

.roles-list { margin: 0; }
.role-item {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--ruah-line);
}
.role-item dt { font-weight: 700; color: var(--ruah-green); }
.role-item dd { margin: 0.25rem 0 0; }

.callout {
    padding: 0.85rem 1rem;
    background: var(--ruah-green-soft);
    border-radius: var(--portal-radius-sm);
    border-left: 4px solid var(--ruah-green);
}

.motto {
    font-size: 1.1rem;
    font-weight: 600;
    font-style: italic;
    color: var(--ruah-warm-ink);
}

.partner-note {
    margin-top: 0.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--ruah-line, rgba(28, 43, 51, 0.12));
}

.partner-note__row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.partner-note__sign {
    margin: 0;
    max-width: 16rem;
}

.partner-note__sign img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.partner-note__text {
    margin: 0;
    max-width: 28rem;
    font-size: 0.98rem;
    line-height: 1.5;
    color: var(--ruah-muted, #5a6b74);
}

.partner-note__text p {
    margin: 0;
}

.partner-note__punch {
    margin-top: 0.55rem !important;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ruah-warm-ink, #1c2b33);
}

@media (min-width: 640px) {
    .partner-note__row {
        flex-direction: row;
        align-items: center;
        gap: 1.5rem;
    }

    .partner-note__sign {
        flex: 0 0 14rem;
        max-width: 14rem;
    }
}

.audience-grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .audience-grid { grid-template-columns: 1fr 1fr; }
}

.audience-card {
    background: var(--ruah-card);
    border: 1px solid var(--ruah-line);
    border-radius: var(--portal-radius-lg);
    padding: 1.35rem;
    box-shadow: var(--portal-shadow-sm);
}

.audience-card--helper {
    border-color: rgba(45, 90, 71, 0.25);
    background: linear-gradient(180deg, #f8fcf9 0%, var(--ruah-card) 100%);
}

.audience-card h2 {
    margin: 0 0 0.5rem;
    font-size: 1.2rem;
    color: var(--ruah-accent-hover);
}

.audience-card__lead {
    margin: 0 0 0.75rem;
    font-weight: 600;
}

.contact-action { margin: 1rem 0; }

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 1rem 0 0.75rem;
}

.site-footer {
    margin-top: auto;
    padding: 1.25rem 1rem 1.75rem;
    background: rgba(255, 255, 255, 0.45);
    border-top: 1px solid var(--ruah-line);
}

.site-footer-inner {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}

.site-footer-links {
    margin: 0 0 0.5rem;
    font-size: 0.92rem;
}

.site-footer-tagline {
    margin: 0 0 0.35rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ruah-accent-hover);
}

.site-footer-copy {
    margin: 0;
    font-size: 0.85rem;
    color: var(--ruah-muted);
}

a { color: var(--ruah-accent-hover); }
a:hover { color: var(--ruah-green); }

.not-found { padding: 2rem 1.5rem; text-align: center; }

/* Kontaktformular */
.contact-form {
    margin: 1.25rem 0 0;
    max-width: 36rem;
}

.contact-form .form-row {
    margin: 0 0 1rem;
}

.contact-form label {
    display: block;
    margin: 0 0 0.35rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.contact-form .req { color: #b33; }

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.55rem 0.7rem;
    border: 1px solid var(--ruah-line);
    border-radius: 8px;
    font: inherit;
    background: #fff;
    box-sizing: border-box;
}

.contact-form textarea { resize: vertical; min-height: 7rem; }

.checkbox-grid {
    display: grid;
    gap: 0.5rem 1rem;
    margin: 0.75rem 0 1.25rem;
    padding: 0;
    border: 0;
}
@media (min-width: 36rem) {
    .checkbox-grid { grid-template-columns: 1fr 1fr; }
}
.checkbox-grid .check-line {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.4;
    cursor: pointer;
}
.checkbox-grid input { margin-top: 0.2rem; flex-shrink: 0; }
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.form-grid-2 {
    display: grid;
    gap: 0.75rem;
}

@media (min-width: 560px) {
    .form-grid-2 { grid-template-columns: 1fr 1fr; }
}

.form-hint {
    margin: 0.35rem 0 0;
    font-size: 0.88rem;
    color: var(--ruah-muted);
}

.form-notice {
    margin: 1.25rem 0 0;
    padding: 0.85rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(52, 154, 170, 0.28);
    background: rgba(52, 154, 170, 0.08);
    font-size: 0.92rem;
    line-height: 1.5;
}

.form-notice p {
    margin: 0.35rem 0 0;
}

.form-notice p:first-child {
    margin-top: 0;
}

.form-consent {
    display: flex;
    gap: 0.55rem;
    align-items: flex-start;
    margin: 0.85rem 0 0;
    font-size: 0.92rem;
    line-height: 1.45;
    color: var(--ruah-text, #1a2a2e);
}

.form-consent input {
    margin-top: 0.28rem;
    flex-shrink: 0;
}

.form-flash {
    margin: 1rem 0;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 600;
}

.form-flash--ok {
    background: rgba(72, 160, 120, 0.12);
    border: 1px solid rgba(72, 160, 120, 0.35);
    color: #1f5c3f;
}

.form-flash--err {
    background: rgba(200, 60, 60, 0.1);
    border: 1px solid rgba(200, 60, 60, 0.35);
    color: #8a2020;
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
