.home-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    align-items: center;
    gap: clamp(2rem, 6vw, 5rem);
    min-height: 390px;
    margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
    padding: clamp(2rem, 6vw, 5rem);
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 2rem;
    background: linear-gradient(120deg, #fff 8%, #edf5ef 100%);
    box-shadow: 0 24px 70px rgba(30, 55, 45, 0.08);
}

.home-topics-section {
    margin-bottom: clamp(3rem, 7vw, 5.5rem);
}

.home-hero-copy {
    position: relative;
    z-index: 1;
    max-width: 650px;
}

.home-hero h1 {
    max-width: 650px;
    margin-bottom: 1.25rem;
    color: #20352d;
    font-size: clamp(2.6rem, 6vw, 5.3rem);
    letter-spacing: -0.055em;
    line-height: 1.03;
}

.home-hero h1 span {
    color: #378269;
}

.home-hero-copy > p:not(.page-eyebrow) {
    max-width: 540px;
    margin-bottom: 1.8rem;
    font-size: clamp(1.02rem, 1.7vw, 1.2rem);
}

.btn-primary {
    color: #fff;
    background: #1d5b4b;
}

.home-hero-art {
    position: relative;
    display: grid;
    min-height: 275px;
    place-items: center;
}

.hero-orbit {
    position: absolute;
    width: 18rem;
    height: 18rem;
    border: 1px solid rgba(48, 119, 92, 0.2);
    border-radius: 50%;
}

.hero-orbit-one {
    transform: rotate(35deg) scaleX(0.7);
}

.hero-orbit-two {
    transform: rotate(-35deg) scaleX(0.7);
}

.hero-art-card {
    position: relative;
    display: flex;
    width: min(250px, 78%);
    min-height: 220px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    border: 1px solid var(--border);
    border-radius: 1.6rem;
    background: linear-gradient(145deg, #2d765f, #174a3b);
    box-shadow: 0 28px 55px rgba(26, 82, 63, 0.28);
    transform: rotate(5deg);
}

.hero-art-mark {
    display: none; /* Wrapper entfernt – Wappen direkt in der Card */
}

.hero-wappen {
    width: 96px;
    height: 96px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.4));
}

.hero-art-caption {
    color: #e6f1eb;
    font-size: 0.77rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.news-section {
    max-width: var(--site-width, 1200px);
    margin: 0 auto;
}

.section-heading,
.content-panel-heading,
.contact-inbox-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
}

.section-heading {
    margin-bottom: 1.35rem;
}

.section-heading h2,
.content-panel-heading h2 {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    letter-spacing: -0.035em;
}

.content-count {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.news-feed {
    display: grid;
    gap: 1rem;
}

.news-card,
.content-panel,
.contact-inbox-item {
    padding: clamp(1.25rem, 3vw, 1.8rem);
    border: 1px solid #e3eae5;
    border-radius: 1.15rem;
    background: #fff;
    box-shadow: 0 12px 35px rgba(30, 55, 45, 0.045);
}

.news-card h3,
.managed-news-item h3,
.contact-inbox-item h3 {
    margin: 0.45rem 0 0.6rem;
    color: #20352d;
    font-size: 1.25rem;
}

.news-date {
    color: #75827c;
    font-size: 0.83rem;
    font-weight: 600;
}

.news-body {
    font-size: 0.98rem;
    line-height: 1.68;
    color: #485750;
}

.news-body p {
    margin: 0 0 0.85rem;
    color: inherit;
    line-height: inherit;
    white-space: pre-line;
}

.news-body p:last-child {
    margin-bottom: 0;
}

.contact-message-body {
    margin: 0;
    color: #57645e;
    white-space: pre-line;
}

.news-sentinel {
    height: 1px;
}

.news-status {
    min-height: 1.5rem;
    margin: 0.5rem 0 0;
    color: #718078;
    font-size: 0.9rem;
    text-align: center;
}

.news-empty {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: clamp(1.25rem, 3.5vw, 1.85rem);
    border: 1px solid #dce8e0;
    border-radius: 1.15rem;
    background: linear-gradient(135deg, #ffffff 0%, #f4f8f5 100%);
    box-shadow: 0 10px 30px rgba(30, 55, 45, 0.045);
}

.news-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(36, 103, 79, 0.08);
    color: #24674f;
}

.news-empty-content {
    display: flex;
    flex-direction: column;
}

.news-empty-title {
    display: block;
    margin: 0 0 0.25rem;
    font-size: 1.05rem;
    font-weight: 650;
    color: #20352d;
    letter-spacing: -0.01em;
}

.news-empty-text {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.5;
    color: #687571;
}

@media (max-width: 580px) {
    .news-empty {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.85rem;
    }
}

.news-edit-panel {
    max-width: var(--site-width, 1200px);
    margin: 0 auto;
    padding: clamp(1.5rem, 5vw, 3.25rem);
    border: 1px solid #e2eae4;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 18px 55px rgba(30, 55, 45, 0.07);
}

.news-edit-panel h1 {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    letter-spacing: -0.045em;
}

.content-form {
    display: grid;
    gap: 0.25rem;
}

.contact-content {
    max-width: var(--site-width, 1200px);
    margin: 0 auto;
}

.contact-header {
    max-width: 720px;
    margin: 0 auto clamp(1.5rem, 4vw, 2.5rem);
    text-align: center;
}

.contact-header h1 {
    margin: 0 0 0.65rem;
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    letter-spacing: -0.05em;
    line-height: 1.08;
}

.contact-lead {
    max-width: 640px;
    margin: 0 auto;
    color: var(--text-muted, #687571);
    font-size: clamp(1rem, 2vw, 1.12rem);
    line-height: 1.7;
}

.contact-alert {
    max-width: var(--site-width, 1200px);
    margin: 0 auto 1rem;
}

.contact-form-card {
    max-width: var(--site-width, 1200px);
    margin: 0 auto;
    padding: clamp(1.4rem, 4vw, 2.5rem);
    border: 1px solid var(--border, #dfe9e2);
    border-radius: 1.35rem;
    background: var(--surface, #fff);
    box-shadow: 0 16px 45px rgba(30, 55, 45, 0.06);
}

.contact-form-heading {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1.35rem;
    border-bottom: 1px solid var(--border, #dfe9e2);
}

.contact-form-mark {
    display: grid;
    width: 3rem;
    height: 3rem;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 0.9rem;
    color: #24674f;
    background: #eaf3ee;
    font-size: 1.1rem;
}

.contact-form-kicker {
    margin: 0 0 0.2rem;
    color: var(--text-muted, #687571);
    font-size: 0.74rem;
    font-weight: 750;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.contact-form-heading h2 {
    margin: 0;
    font-size: clamp(1.2rem, 2.5vw, 1.55rem);
    letter-spacing: -0.025em;
}

.contact-form {
    display: grid;
    gap: 1.35rem;
}

.contact-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-form-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem 1rem;
}

.contact-field {
    min-width: 0;
}

.contact-field-full {
    grid-column: 1 / -1;
}

.contact-field label {
    margin-bottom: 0.45rem;
    color: var(--text-heading, #20352d);
    font-size: 0.9rem;
    font-weight: 650;
}

.contact-field input,
.contact-field textarea {
    width: 100%;
    border: 1px solid var(--border, #dfe9e2);
    border-radius: 0.75rem;
    color: var(--text-primary, #24312e);
    background: var(--surface, #fff);
    font: inherit;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.contact-field input {
    min-height: 3.1rem;
}

.contact-field textarea {
    min-height: 10rem;
    resize: vertical;
}

.contact-field input:focus,
.contact-field textarea:focus {
    border-color: #39816a;
    outline: none;
    box-shadow: 0 0 0 3px rgba(38, 113, 88, 0.14);
}

.contact-privacy-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    color: var(--text-muted, #687571);
    font-size: 0.86rem;
    line-height: 1.55;
}

.contact-privacy-consent input {
    width: 1rem;
    height: 1rem;
    flex: 0 0 auto;
    margin-top: 0.2rem;
    accent-color: #24674f;
}

.contact-privacy-consent label {
    cursor: pointer;
}

.contact-privacy-consent a {
    color: var(--link, #24674f);
    font-weight: 700;
    text-underline-offset: 0.2em;
}

.contact-form-actions {
    display: flex;
    justify-content: flex-end;
}

.contact-form-actions .btn {
    min-height: 2.9rem;
    padding: 0.7rem 1.15rem;
}

.contact-form-actions .btn i {
    transition: transform 0.18s ease;
}

.contact-form-actions .btn:hover i {
    transform: translateX(3px);
}

.imprint-contact-alternative {
    margin: 1.1rem 0 0;
    padding-top: 0.9rem;
    border-top: 1px solid var(--border, #dfe9e2);
    color: var(--text-muted, #687571);
    font-size: 0.88rem;
    line-height: 1.6;
}

.imprint-contact-alternative a {
    color: var(--link, #24674f);
    font-weight: 700;
    text-underline-offset: 0.2em;
}

@media (max-width: 580px) {
    .contact-header {
        text-align: left;
    }

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

    .contact-field-full {
        grid-column: auto;
    }

    .contact-form-actions {
        justify-content: stretch;
    }

    .contact-form-actions .btn {
        width: 100%;
    }
}

.content-panel {
    margin: 1.5rem 0;
}

.content-count {
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    color: #24674f;
    background: #eaf3ee;
    font-size: 0.84rem;
    font-weight: 700;
    white-space: nowrap;
}

.content-actions,
.content-actions form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary {
    color: #285d4b;
    background: #eaf3ee;
}

.btn-secondary:hover {
    color: #174636;
    background: #dcebe2;
}

.btn-danger {
    color: #fff;
    background: #a9433c;
}

.btn-danger:hover {
    color: #fff;
    background: #87332e;
}

.content-actions .btn,
.contact-inbox-item .btn {
    padding: 0.55rem 0.8rem;
    font-size: 0.87rem;
}

.contact-inbox-item {
    box-shadow: none;
}

.contact-inbox-heading {
    align-items: flex-start;
}

.contact-inbox-heading h3 {
    margin-top: 0;
}

.contact-sender {
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

.contact-sender a {
    color: #24674f;
}

.contact-message-body {
    margin-bottom: 1rem;
    padding-top: 0.9rem;
    border-top: 1px solid #e8eee9;
}

.alert {
    margin: 1rem 0;
    padding: 0.9rem 1rem;
    border: 1px solid transparent;
    border-radius: 0.75rem;
}

.alert-error {
    color: #842e29;
    border-color: #efc8c4;
    background: #fff1ef;
}

.alert-success {
    color: #20583e;
    border-color: #c8e4d1;
    background: #eef8f0;
}

@media (max-width: 760px) {
    .home-hero {
        grid-template-columns: 1fr;
        gap: 1rem;
        min-height: auto;
    }

    .home-hero-art {
        min-height: 220px;
    }

    .section-heading,
    .content-panel-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.75rem;
    }

    .managed-news-item {
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    .home-hero {
        padding: 1.5rem;
        border-radius: 1.3rem;
    }

    .contact-inbox-heading {
        flex-direction: column;
        gap: 0.25rem;
    }
}

/* ============================================
   Über uns (About Page) Styles
   ============================================ */

.about-page-wrapper {
    display: flex;
    flex-direction: column;
    gap: clamp(3rem, 6vw, 5rem);
}

/* ── About Hero ────────────────────────────────────────────── */
.about-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
    padding: clamp(2rem, 5vw, 4rem);
    border: 1px solid var(--border);
    border-radius: 2rem;
    background: linear-gradient(125deg, #ffffff 10%, #eef5f1 100%);
    box-shadow: 0 20px 60px rgba(30, 55, 45, 0.07);
    overflow: hidden;
}

.about-hero-content {
    position: relative;
    z-index: 1;
    max-width: 620px;
}

.about-hero-content h1 {
    margin-bottom: 1.1rem;
    color: #20352d;
    font-size: clamp(2.4rem, 5vw, 4.4rem);
    letter-spacing: -0.05em;
    line-height: 1.05;
}

.about-hero-content h1 span {
    color: #24674f;
}

.about-hero-lead {
    font-size: clamp(1.02rem, 1.6vw, 1.18rem);
    line-height: 1.7;
    color: #55665f;
    margin: 0;
}

.about-hero-crest {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
}

.about-crest-img {
    width: clamp(90px, 14vw, 130px);
    height: clamp(90px, 14vw, 130px);
    object-fit: contain;
    filter: drop-shadow(0 8px 24px rgba(29, 91, 75, 0.22));
    transition: transform 0.3s ease;
}

.about-crest-img:hover {
    transform: scale(1.05) rotate(2deg);
}

.about-crest-sub {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #24674f;
}

.about-crest-family {
    display: flex;
    gap: 0.9rem;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 1.15rem;
    color: #24674f;
    opacity: 0.8;
}

.about-crest-family li:nth-child(n+3) {
    font-size: 0.95rem;
    align-self: flex-end;
}

/* ── Profile Grid ─────────────────────────────────────────── */
.about-profiles-section {
    position: relative;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

@media (max-width: 1100px) {
    .profile-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .profile-grid {
        grid-template-columns: 1fr;
    }
}

.profile-card {
    display: flex;
    flex-direction: column;
    padding: clamp(1.4rem, 2.8vw, 1.85rem);
    border: 1px solid #e3ede6;
    border-radius: 15px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(30, 55, 45, 0.05);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.profile-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(30, 55, 45, 0.1);
    border-color: #bcd9c8;
}

.profile-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.profile-avatar-wrap {
    position: relative;
    display: inline-flex;
}

.profile-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1.1rem;
    font-size: 1.4rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.profile-avatar-blue {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #1565c0;
}

.profile-avatar-rose {
    background: linear-gradient(135deg, #fce4ec 0%, #f8bbd0 100%);
    color: #c2185b;
}

.profile-avatar-purple {
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
    color: #7b1fa2;
}

.profile-avatar-amber {
    background: linear-gradient(135deg, #fff8e1 0%, #ffe082 100%);
    color: #f57f17;
}

.profile-avatar-emerald {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    color: #2e7d32;
}

.profile-avatar-teal {
    background: linear-gradient(135deg, #e0f2f1 0%, #b2dfdb 100%);
    color: #00796b;
}

.profile-status-dot {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 12px;
    height: 12px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    background: #2e7d32;
}

.profile-badge {
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.profile-badge-blue {
    background: #e8f3fc;
    color: #1976d2;
}

.profile-badge-rose {
    background: #fdecf2;
    color: #c2185b;
}

.profile-badge-purple {
    background: #f7edfb;
    color: #7b1fa2;
}

.profile-badge-amber {
    background: #fff8e8;
    color: #e65100;
}

.profile-badge-emerald {
    background: #eaf6ed;
    color: #24674f;
}

.profile-badge-teal {
    background: #e4f5f3;
    color: #0b695e;
}

.pets-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

@media (max-width: 760px) {
    .pets-grid {
        grid-template-columns: 1fr;
    }
}

.profile-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.profile-name {
    margin: 0 0 0.15rem;
    font-size: 1.45rem;
    font-weight: 750;
    color: #20352d;
    letter-spacing: -0.02em;
}

.profile-fullname {
    margin: 0 0 0.4rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: #718078;
}

.profile-role {
    display: inline-block;
    margin: 0 0 1.1rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #24674f;
    letter-spacing: 0.03em;
}

.profile-quote {
    position: relative;
    margin: 0 0 1rem;
    padding: 0.75rem 0.9rem;
    border-left: 3px solid #24674f;
    border-radius: 0 0.65rem 0.65rem 0;
    background: #f5f9f6;
    font-style: italic;
    font-size: 0.86rem;
    line-height: 1.5;
    color: #3b4e45;
}

.profile-bio {
    margin: 0 0 1.25rem;
    font-size: 0.92rem;
    line-height: 1.65;
    color: #55665f;
    flex: 1;
}

.profile-card-footer {
    padding-top: 1rem;
    border-top: 1px solid #edf2ee;
}

.profile-tags-label {
    margin: 0 0 0.45rem;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #83948b;
}

.profile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.profile-tag {
    display: inline-block;
    padding: 0.22rem 0.55rem;
    border-radius: 0.45rem;
    background: #f0f5f2;
    color: #2e594a;
    font-size: 0.78rem;
    font-weight: 600;
}

/* ── Privacy Page ─────────────────────────────────────────── */
.privacy-document {
    max-width: var(--site-width, 1200px);
    margin: 0 auto;
}

.privacy-header {
    max-width: 720px;
    margin: 0 auto 2rem;
    text-align: center;
}

.privacy-header h1 {
    margin: 0 0 0.9rem;
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    letter-spacing: -0.05em;
    line-height: 1.08;
}

.privacy-lead {
    max-width: 640px;
    margin: 0 auto;
    font-size: clamp(1rem, 2vw, 1.12rem);
    line-height: 1.7;
}

.privacy-toc {
    margin: 0 0 clamp(1.5rem, 4vw, 2.5rem);
    padding: clamp(1.3rem, 3vw, 1.8rem);
    border: 1px solid var(--border, #dfe9e2);
    border-radius: 1.1rem;
    background: var(--surface, #fff);
    box-shadow: 0 10px 30px rgba(30, 55, 45, 0.04);
}

.privacy-toc h2 {
    margin: 0 0 0.85rem;
    font-size: 1rem;
    letter-spacing: 0.01em;
}

.privacy-toc ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem 1.5rem;
    padding-left: 1.2rem;
    color: var(--text-muted, #687571);
}

.privacy-toc li {
    padding-left: 0.2rem;
}

.privacy-toc a {
    color: var(--link, #24674f);
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    text-underline-offset: 0.2em;
}

.privacy-toc a:hover {
    text-decoration: underline;
}

.privacy-content {
    display: grid;
    gap: 1rem;
}

.privacy-section {
    display: grid;
    grid-template-columns: 3rem minmax(0, 1fr);
    gap: clamp(1rem, 3vw, 1.75rem);
    padding: clamp(1.35rem, 4vw, 2.25rem);
    scroll-margin-top: 6rem;
    border: 1px solid var(--border, #dfe9e2);
    border-radius: 1.25rem;
    background: var(--surface, #fff);
    box-shadow: 0 12px 35px rgba(30, 55, 45, 0.045);
}

.privacy-section-number {
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    margin: 0;
    place-items: center;
    border-radius: 0.85rem;
    color: #24674f;
    background: #eaf3ee;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.privacy-section-body {
    min-width: 0;
}

.privacy-section-body h2 {
    margin: 0 0 1.35rem;
    font-size: clamp(1.35rem, 3vw, 1.8rem);
    letter-spacing: -0.03em;
    line-height: 1.25;
}

.privacy-section-body h3 {
    margin: 1.5rem 0 0.45rem;
    font-size: 1.02rem;
    letter-spacing: -0.01em;
}

.privacy-section-body h2 + h3 {
    margin-top: 0;
}

.privacy-section-body p,
.privacy-section-body li {
    color: var(--text-muted, #687571);
    font-size: 0.96rem;
    line-height: 1.75;
}

.privacy-section-body p {
    margin: 0 0 0.85rem;
}

.privacy-section-body p:last-child {
    margin-bottom: 0;
}

.privacy-section-body ul {
    display: grid;
    gap: 0.4rem;
    margin: 0.5rem 0 1rem;
    padding-left: 1.25rem;
}

.privacy-section-body li {
    padding-left: 0.2rem;
}

.privacy-section-body a {
    color: var(--link, #24674f);
    font-weight: 650;
    text-underline-offset: 0.2em;
}

@media (max-width: 580px) {
    .privacy-header {
        margin-bottom: 1.5rem;
        text-align: left;
    }

    .privacy-toc ol {
        grid-template-columns: 1fr;
    }

    .privacy-section {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .privacy-section-number {
        width: 2.4rem;
        height: 2.4rem;
    }
}

/* ── Imprint Page ─────────────────────────────────────────── */
.imprint-page {
    max-width: var(--site-width, 1200px);
    margin: 0 auto;
}

.imprint-header {
    max-width: 720px;
    margin: 0 auto clamp(1.5rem, 4vw, 2.5rem);
    text-align: center;
}

.imprint-header h1 {
    margin: 0 0 0.65rem;
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    letter-spacing: -0.05em;
    line-height: 1.08;
}

.imprint-lead {
    margin: 0;
    color: var(--text-muted, #687571);
    font-size: 1rem;
}

.imprint-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.imprint-card {
    display: grid;
    grid-template-columns: 2.75rem minmax(0, 1fr);
    align-items: start;
    gap: clamp(1rem, 3vw, 1.5rem);
    padding: clamp(1.35rem, 4vw, 2rem);
    border: 1px solid var(--border, #dfe9e2);
    border-radius: 1.25rem;
    background: var(--surface, #fff);
    box-shadow: 0 12px 35px rgba(30, 55, 45, 0.045);
}

.imprint-card:first-child {
    grid-column: 1 / -1;
}

.imprint-card-number {
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    place-items: center;
    border-radius: 0.85rem;
    color: #24674f;
    background: #eaf3ee;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.imprint-card-body {
    min-width: 0;
}

.imprint-card-label {
    margin: 0 0 0.35rem;
    color: var(--text-muted, #687571);
    font-size: 0.76rem;
    font-weight: 750;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.imprint-card-body h2 {
    margin: 0 0 0.85rem;
    font-size: clamp(1.15rem, 2.5vw, 1.45rem);
    letter-spacing: -0.025em;
    line-height: 1.3;
}

.imprint-card address,
.imprint-tax-number {
    margin: 0;
    color: var(--text-muted, #687571);
    font-size: 0.97rem;
    font-style: normal;
    line-height: 1.75;
}

.imprint-contact-list {
    display: grid;
    gap: 0.85rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.imprint-contact-list li {
    display: grid;
    gap: 0.15rem;
    color: var(--text-muted, #687571);
    font-size: 0.88rem;
}

.imprint-contact-list li span {
    font-weight: 650;
}

.imprint-contact-list a {
    width: fit-content;
    color: var(--link, #24674f);
    font-size: 0.97rem;
    font-weight: 650;
    overflow-wrap: anywhere;
    text-underline-offset: 0.2em;
}

@media (max-width: 580px) {
    .imprint-header {
        text-align: left;
    }

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

    .imprint-card:first-child {
        grid-column: auto;
    }

    .imprint-card {
        grid-template-columns: 2.4rem minmax(0, 1fr);
        gap: 1rem;
    }

    .imprint-card-number {
        width: 2.4rem;
        height: 2.4rem;
    }
}

/* ── Values Grid ──────────────────────────────────────────── */
.about-values-section {
    position: relative;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

@media (max-width: 860px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
}

.value-card {
    padding: clamp(1.4rem, 3vw, 2rem);
    border: 1px solid #e3ede6;
    border-radius: 1.3rem;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(30, 55, 45, 0.04);
}

.value-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.2rem;
    height: 3.2rem;
    margin-bottom: 1.2rem;
    border-radius: 0.95rem;
    font-size: 1.35rem;
}

.value-icon-green {
    background: #eef8f2;
    color: #24674f;
}

.value-icon-blue {
    background: #ebf5fd;
    color: #1976d2;
}

.value-icon-amber {
    background: #fff8e8;
    color: #d97706;
}

.value-card h3 {
    margin: 0 0 0.65rem;
    font-size: 1.25rem;
    font-weight: 750;
    color: #20352d;
    letter-spacing: -0.015em;
}

.value-card p {
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.65;
    color: #55665f;
}

/* ── CTA Panel ────────────────────────────────────────────── */
.about-cta-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: clamp(1.8rem, 4vw, 2.75rem);
    border: 1px solid #d4e7dc;
    border-radius: 1.6rem;
    background: linear-gradient(135deg, #f4fbf7 0%, #e8f4ed 100%);
    box-shadow: 0 12px 35px rgba(30, 55, 45, 0.06);
}

.about-cta-copy h3 {
    margin: 0 0 0.4rem;
    font-size: clamp(1.3rem, 2.5vw, 1.7rem);
    color: #20352d;
    letter-spacing: -0.02em;
}

.about-cta-copy p {
    margin: 0;
    font-size: 0.98rem;
    color: #55665f;
}

.about-cta-action {
    flex-shrink: 0;
}

@media (max-width: 760px) {
    .about-hero {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-hero-crest {
        order: -1;
    }

    .about-cta-panel {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }
}

/* ── Family Profiles ──────────────────────────────────────── */
.family-member-card {
    border-top: 3px solid var(--profile-accent, #24674f);
}

.family-member-card .profile-card-header {
    flex-wrap: wrap;
    gap: 0.6rem;
}

.family-member-card .profile-avatar {
    overflow: hidden;
    background: #f1f6f3;
    color: var(--profile-accent, #24674f);
}

.family-member-card .profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.family-member-card .profile-badge,
.profile-visibility-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    background: #eef4f0;
    color: var(--profile-accent, #24674f);
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.03em;
}

.family-member-card .profile-quote {
    border-left-color: var(--profile-accent, #24674f);
}

.family-member-card .profile-role {
    color: var(--profile-accent, #24674f);
}

.family-profile-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--profile-accent, #24674f);
    font-weight: 700;
    text-decoration: none;
}

.family-profile-link:hover,
.family-profile-link:focus-visible {
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.family-profile-page {
    max-width: var(--site-width, 1200px);
    margin: 0 auto;
}

.family-profile-hero {
    display: grid;
    grid-template-columns: minmax(150px, 220px) minmax(0, 1fr);
    align-items: center;
    gap: clamp(1.5rem, 5vw, 3.5rem);
    margin: 1.5rem 0 2rem;
    padding: clamp(1.5rem, 5vw, 3.5rem);
    border: 1px solid var(--border, #dfe9e2);
    border-top: 4px solid var(--profile-accent, #24674f);
    border-radius: 15px;
    background: var(--surface, #fff);
    box-shadow: 0 14px 40px rgba(30, 55, 45, 0.06);
}

.family-profile-image {
    display: grid;
    width: clamp(130px, 20vw, 190px);
    aspect-ratio: 1;
    place-items: center;
    overflow: hidden;
    border-radius: 50%;
    background: #f1f6f3;
    color: var(--profile-accent, #24674f);
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
}

.family-profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.family-profile-intro h1 {
    margin: 0 0 0.8rem;
    font-size: clamp(2rem, 5vw, 3.4rem);
    letter-spacing: -0.045em;
    line-height: 1.1;
}

.family-profile-motto {
    margin: 0 0 1rem;
    padding-left: 1rem;
    border-left: 3px solid var(--profile-accent, #24674f);
    color: var(--text, #20352d);
    font-size: 1.08rem;
    font-style: italic;
}

.family-profile-bio,
.family-profile-section-content {
    color: var(--text-muted, #687571);
    line-height: 1.75;
}

.family-profile-bio {
    margin: 0;
}

.family-profile-sections {
    display: grid;
    gap: 1rem;
}

.family-profile-section {
    padding: clamp(1.35rem, 4vw, 2rem);
    border: 1px solid var(--border, #dfe9e2);
    border-left: 3px solid var(--profile-accent, #24674f);
    border-radius: 15px;
    background: var(--surface, #fff);
    box-shadow: 0 10px 30px rgba(30, 55, 45, 0.04);
}

.profile-section-heading h2 {
    margin: 0 0 1rem;
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    letter-spacing: -0.03em;
}

.profile-section-heading .page-eyebrow {
    margin-bottom: 0.35rem;
    color: var(--profile-accent, #24674f);
}

.family-profile-section-content {
    font-size: 0.98rem;
}

.family-profile-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 0.85rem;
}

.family-profile-gallery figure {
    margin: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #f1f6f3;
}

.family-profile-gallery img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.family-profile-gallery figcaption {
    padding: 0.65rem 0.8rem;
    color: var(--text-muted, #687571);
    font-size: 0.82rem;
}

.family-profile-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 0.65rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.family-profile-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 0.9rem 1rem;
    border: 1px solid var(--border, #dfe9e2);
    border-radius: 10px;
    color: var(--profile-accent, #24674f);
    font-weight: 650;
    text-decoration: none;
}

.family-profile-links a:hover,
.family-profile-links a:focus-visible {
    border-color: var(--profile-accent, #24674f);
    background: #f8faf9;
}

.family-profile-news {
    margin-top: clamp(2rem, 5vw, 3rem);
}

.news-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.7rem;
}

.news-category {
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: #edf4ef;
    color: #24674f;
    font-size: 0.75rem;
    font-weight: 700;
}

.news-author {
    color: var(--link, #24674f);
    font-size: 0.82rem;
    font-weight: 650;
    text-decoration: none;
}

.news-author[href]:hover,
.news-author[href]:focus-visible {
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.content-intro {
    max-width: 680px;
    color: var(--text-muted, #687571);
    line-height: 1.7;
}

.profile-admin-page,
.profile-edit-page {
    max-width: var(--site-width, 1200px);
    margin: 0 auto 2rem;
    padding: clamp(1.3rem, 4vw, 2rem);
    border: 1px solid var(--border, #dfe9e2);
    border-radius: 15px;
    background: var(--surface, #fff);
    box-shadow: 0 12px 35px rgba(30, 55, 45, 0.045);
}

.profile-sections-editor {
    margin-top: clamp(2rem, 5vw, 3rem);
}

.profile-section-editor-list {
    display: grid;
    gap: 0.85rem;
    margin-top: 1.5rem;
}

.managed-profile-color {
    flex: 0 0 0.55rem;
    align-self: stretch;
    border-radius: 999px;
    background: var(--profile-accent, #24674f);
}

.profile-edit-page > .content-form {
    margin-top: 1.5rem;
}

.profile-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem 1rem;
}

.profile-form-grid .form-group {
    min-width: 0;
}

.profile-form-grid input[type="color"] {
    min-height: 2.8rem;
    padding: 0.3rem;
}

.profile-section-editor {
    padding: 1rem;
    border: 1px solid var(--border, #dfe9e2);
    border-radius: 15px;
    background: var(--surface, #fff);
}

.profile-section-editor .content-form {
    margin: 0;
}

.profile-section-actions {
    display: flex;
    justify-content: flex-end;
}

.profile-section-delete {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.6rem;
}

.profile-add-section {
    margin-top: 1.25rem;
    padding: clamp(1.2rem, 4vw, 1.8rem);
    border: 1px dashed var(--border, #dfe9e2);
    border-radius: 15px;
}

.profile-add-section h3 {
    margin: 0 0 1rem;
}

.content-form small {
    display: block;
    margin-top: 0.35rem;
    color: var(--text-muted, #687571);
    font-size: 0.82rem;
}

.btn-danger {
    border: 1px solid #e8caca;
    background: #fff7f7;
    color: #a52b2b;
}

.btn-danger:hover,
.btn-danger:focus-visible {
    background: #fdecec;
}

@media (max-width: 640px) {
    .family-profile-hero {
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .family-profile-image {
        width: 130px;
    }

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