/* Moderne Seiten-Verbesserungen */

.modern-hero {
    position: relative;
    overflow: hidden;
    margin-top: 26px;
    padding: clamp(28px, 4vw, 48px);
    border-radius: 30px;
    background:
        radial-gradient(circle at 12% 20%, rgba(23,111,184,0.20), transparent 34%),
        radial-gradient(circle at 88% 10%, rgba(121,185,235,0.22), transparent 28%),
        linear-gradient(135deg, #ffffff 0%, #f5f9fd 100%);
    border: 1px solid rgba(11,42,67,0.10);
    box-shadow: 0 24px 60px rgba(11,42,67,0.12);
}

.modern-hero::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -120px;
    width: 280px;
    height: 280px;
    border-radius: 999px;
    background: rgba(23,111,184,0.10);
}

.modern-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 860px;
}

.modern-kicker {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 12px;
    padding: 8px 13px;
    border-radius: 999px;
    background: #e8f2fb;
    color: #176fb8;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.modern-hero h1 {
    margin: 0 0 12px;
    color: #081f33;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.modern-hero p {
    margin: 0;
    color: #526476;
    font-size: 18px;
    line-height: 1.75;
}

.modern-hero-actions,
.modern-actions,
.card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.modern-button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 999px;
    background: #176fb8;
    color: #ffffff !important;
    font-weight: 900;
    border: 0;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(23,111,184,0.20);
}

.modern-button:hover {
    background: #0f5c9c;
}

.modern-button.secondary {
    background: #e8f2fb;
    color: #176fb8 !important;
    box-shadow: none;
}

.modern-button.light {
    background: #ffffff;
    color: #176fb8 !important;
    border: 1px solid #d8e7f3;
    box-shadow: none;
}

.portal-stats {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.portal-stat {
    padding: 20px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid rgba(11,42,67,0.09);
    box-shadow: 0 14px 32px rgba(11,42,67,0.08);
}

.portal-stat strong {
    display: block;
    color: #176fb8;
    font-size: 34px;
    line-height: 1;
}

.portal-stat span {
    display: block;
    margin-top: 8px;
    color: #526476;
    font-weight: 800;
}

.modern-section {
    margin-top: 28px;
}

.modern-section-head {
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: end;
}

.modern-section-head h2 {
    margin: 0;
    color: #081f33;
    font-size: clamp(26px, 3vw, 38px);
    letter-spacing: -0.03em;
}

.modern-section-head p {
    margin: 6px 0 0;
    color: #526476;
    line-height: 1.65;
}

.modern-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

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

.modern-card,
.modern-list-card,
.modern-form-card,
.modern-filter-card,
.modern-empty {
    background: #ffffff;
    border: 1px solid rgba(11,42,67,0.09);
    border-radius: 24px;
    box-shadow: 0 14px 34px rgba(11,42,67,0.08);
}

.modern-card {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modern-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #176fb8, #2d87d4);
    color: #ffffff;
    font-size: 21px;
    font-weight: 900;
}

.modern-card h3 {
    margin: 0;
    color: #081f33;
    font-size: 23px;
}

.modern-card p {
    margin: 0;
    color: #526476;
    line-height: 1.65;
}

.modern-card a:not(.modern-button),
.modern-list-card a:not(.modern-button) {
    color: #176fb8;
    font-weight: 900;
}

.modern-list {
    display: grid;
    gap: 16px;
}

.modern-list-card {
    padding: 22px;
}

.modern-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 11px;
}

.modern-card-meta span,
.modern-card-meta a {
    display: inline-flex;
    padding: 7px 10px;
    border-radius: 999px;
    background: #e8f2fb;
    color: #176fb8;
    font-size: 13px;
    font-weight: 900;
}

.modern-list-card h2,
.modern-list-card h3 {
    margin: 0 0 10px;
    color: #081f33;
    font-size: 25px;
    letter-spacing: -0.02em;
}

.modern-list-card p {
    margin: 0;
    color: #526476;
    line-height: 1.75;
}

.modern-filter-card,
.modern-form-card {
    padding: 22px;
    margin-top: 22px;
}

.modern-filter-form {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr auto auto;
    gap: 10px;
    align-items: center;
}

.modern-filter-form.simple {
    grid-template-columns: 1.5fr 1fr auto auto;
}

.modern-form {
    display: grid;
    gap: 16px;
}

.modern-form label {
    display: grid;
    gap: 7px;
}

.modern-form span {
    color: #081f33;
    font-weight: 900;
}

.modern-form input,
.modern-form select,
.modern-form textarea,
.modern-filter-form input,
.modern-filter-form select {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #d7e2eb;
    border-radius: 16px;
    background: #ffffff;
    color: #081f33;
    font: inherit;
    outline: none;
}

.modern-form textarea {
    resize: vertical;
    line-height: 1.65;
}

.modern-form input:focus,
.modern-form select:focus,
.modern-form textarea:focus,
.modern-filter-form input:focus,
.modern-filter-form select:focus {
    border-color: #176fb8;
    box-shadow: 0 0 0 4px rgba(23,111,184,0.12);
}

.modern-empty {
    padding: 28px;
    text-align: center;
}

.modern-empty h2 {
    margin: 0 0 8px;
    color: #081f33;
}

.modern-empty p {
    margin: 0;
    color: #526476;
}

.modern-columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 22px;
    align-items: start;
}

.modern-side {
    display: grid;
    gap: 16px;
}

.small-info-list {
    display: grid;
    gap: 10px;
}

.small-info-item {
    padding: 15px;
    border-radius: 18px;
    background: #f5f9fd;
    border: 1px solid #e1edf6;
}

.small-info-item strong {
    display: block;
    color: #081f33;
}

.small-info-item span {
    display: block;
    margin-top: 4px;
    color: #526476;
    font-size: 13px;
}

.category-pill-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-pill-grid a {
    display: inline-flex;
    gap: 7px;
    align-items: center;
    padding: 9px 12px;
    border-radius: 999px;
    background: #f5f9fd;
    border: 1px solid #e1edf6;
    color: #176fb8;
    font-weight: 900;
}

.category-pill-grid small {
    min-width: 24px;
    min-height: 24px;
    display: grid;
    place-items: center;
    padding: 2px 7px;
    border-radius: 999px;
    background: #ffffff;
    color: #176fb8;
}

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

    .modern-grid,
    .modern-grid.two,
    .modern-columns {
        grid-template-columns: 1fr;
    }

    .modern-filter-form,
    .modern-filter-form.simple {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 680px) {
    .modern-hero {
        padding: 26px;
        border-radius: 24px;
    }

    .portal-stats,
    .modern-filter-form,
    .modern-filter-form.simple {
        grid-template-columns: 1fr;
    }

    .modern-section-head {
        align-items: start;
        flex-direction: column;
    }

    .modern-button {
        width: 100%;
    }
}

/* CATEGORY-EXPANDED START */

.category-group-overview {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.category-group-teaser {
    display: grid;
    gap: 6px;
    padding: 18px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid rgba(11,42,67,0.09);
    box-shadow: 0 14px 32px rgba(11,42,67,0.08);
    color: #081f33;
}

.category-group-teaser strong {
    font-size: 18px;
}

.category-group-teaser span {
    color: #526476;
    font-size: 13px;
    font-weight: 800;
}

.category-rich-card {
    min-height: 100%;
}

.category-pill-grid-large {
    padding: 22px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(11,42,67,0.09);
    box-shadow: 0 14px 34px rgba(11,42,67,0.08);
}

@media (max-width: 1100px) {
    .category-group-overview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .category-group-overview {
        grid-template-columns: 1fr;
    }
}

/* CATEGORY-EXPANDED ENDE */

/* PRIVACY-PAGE START */

.privacy-hero {
    background:
        radial-gradient(circle at 10% 20%, rgba(23,111,184,0.20), transparent 34%),
        radial-gradient(circle at 90% 10%, rgba(121,185,235,0.24), transparent 30%),
        linear-gradient(135deg, #ffffff 0%, #f4f9fd 100%);
}

.privacy-notice {
    margin-top: 24px;
    padding: 20px 22px;
    border-radius: 24px;
    background: #fff7e8;
    border: 1px solid #f0d9a6;
    color: #6d4c12;
    box-shadow: 0 12px 28px rgba(109,76,18,0.08);
}

.privacy-notice strong {
    display: block;
    margin-bottom: 6px;
    font-size: 18px;
}

.privacy-notice p {
    margin: 0;
    line-height: 1.7;
}

.privacy-layout {
    margin-top: 26px;
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.privacy-toc {
    position: sticky;
    top: 18px;
    padding: 20px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(11,42,67,0.09);
    box-shadow: 0 14px 34px rgba(11,42,67,0.08);
    display: grid;
    gap: 8px;
}

.privacy-toc h2 {
    margin: 0 0 8px;
    color: #081f33;
    font-size: 22px;
}

.privacy-toc a {
    display: block;
    padding: 9px 11px;
    border-radius: 14px;
    color: #526476;
    font-weight: 800;
    font-size: 14px;
}

.privacy-toc a:hover {
    background: #e8f2fb;
    color: #176fb8;
}

.privacy-content {
    display: grid;
    gap: 18px;
}

.privacy-card {
    scroll-margin-top: 24px;
    padding: clamp(22px, 3vw, 34px);
    border-radius: 26px;
    background: #ffffff;
    border: 1px solid rgba(11,42,67,0.09);
    box-shadow: 0 14px 34px rgba(11,42,67,0.08);
}

.privacy-card h2 {
    margin: 0 0 14px;
    color: #081f33;
    font-size: clamp(24px, 3vw, 34px);
    letter-spacing: -0.03em;
}

.privacy-card h3 {
    margin: 22px 0 10px;
    color: #0b2a43;
    font-size: 21px;
}

.privacy-card p {
    margin: 0 0 14px;
    color: #526476;
    line-height: 1.8;
}

.privacy-card ul {
    margin: 12px 0 18px;
    padding-left: 22px;
    color: #526476;
    line-height: 1.8;
}

.privacy-card li {
    margin-bottom: 6px;
}

.privacy-placeholder {
    margin: 18px 0;
    padding: 18px;
    border-radius: 20px;
    background: #f2f7fb;
    border: 1px dashed #b9d5ea;
}

.privacy-placeholder h3 {
    margin: 0 0 8px;
    color: #176fb8;
}

.privacy-placeholder p {
    margin: 0;
}

.privacy-rights-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.privacy-rights-grid article {
    padding: 18px;
    border-radius: 20px;
    background: #f5f9fd;
    border: 1px solid #e1edf6;
}

.privacy-rights-grid h3 {
    margin: 0 0 8px;
    color: #081f33;
    font-size: 20px;
}

.privacy-rights-grid p {
    margin: 0;
    font-size: 15px;
}

@media (max-width: 1050px) {
    .privacy-layout {
        grid-template-columns: 1fr;
    }

    .privacy-toc {
        position: static;
    }
}

@media (max-width: 700px) {
    .privacy-rights-grid {
        grid-template-columns: 1fr;
    }

    .privacy-card {
        border-radius: 22px;
    }
}

/* PRIVACY-PAGE ENDE */

/* ADMIN-XXXL START */

.admin-hero {
    background:
        radial-gradient(circle at 12% 15%, rgba(23,111,184,0.24), transparent 32%),
        radial-gradient(circle at 88% 12%, rgba(122,60,255,0.16), transparent 28%),
        linear-gradient(135deg, #ffffff 0%, #f4f9fd 100%);
}

.admin-stat-grid {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.admin-stat-card {
    padding: 20px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid rgba(11,42,67,0.09);
    box-shadow: 0 14px 32px rgba(11,42,67,0.08);
}

.admin-stat-card strong {
    display: block;
    color: #176fb8;
    font-size: 32px;
    line-height: 1;
}

.admin-stat-card span {
    display: block;
    margin-top: 8px;
    color: #526476;
    font-weight: 900;
}

.admin-panel {
    margin-top: 28px;
    padding: 24px;
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid rgba(11,42,67,0.09);
    box-shadow: 0 18px 42px rgba(11,42,67,0.08);
}

.admin-panel-head {
    margin-bottom: 18px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
}

.admin-panel h2 {
    margin: 0;
    color: #081f33;
    font-size: clamp(28px, 3vw, 40px);
    letter-spacing: -0.03em;
}

.admin-panel p {
    color: #526476;
    line-height: 1.65;
}

.admin-filter-row {
    margin-bottom: 18px;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr auto auto;
    gap: 10px;
    align-items: center;
}

.admin-filter-row input,
.admin-filter-row select,
.admin-inline-form select,
.admin-status-form select,
.admin-status-form input,
.admin-content-actions select,
.admin-content-actions input {
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #d7e2eb;
    border-radius: 14px;
    background: #ffffff;
    color: #081f33;
    font: inherit;
    outline: none;
}

.admin-filter-row input:focus,
.admin-filter-row select:focus,
.admin-inline-form select:focus,
.admin-status-form select:focus,
.admin-status-form input:focus,
.admin-content-actions select:focus,
.admin-content-actions input:focus {
    border-color: #176fb8;
    box-shadow: 0 0 0 4px rgba(23,111,184,0.12);
}

.admin-table-wrap {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    min-width: 1050px;
    border-collapse: separate;
    border-spacing: 0 8px;
}

.admin-table th {
    padding: 10px 12px;
    color: #526476;
    text-align: left;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.admin-table td {
    padding: 14px 12px;
    background: #f7fbfe;
    border-top: 1px solid #e1edf6;
    border-bottom: 1px solid #e1edf6;
    vertical-align: top;
}

.admin-table td:first-child {
    border-left: 1px solid #e1edf6;
    border-radius: 16px 0 0 16px;
}

.admin-table td:last-child {
    border-right: 1px solid #e1edf6;
    border-radius: 0 16px 16px 0;
}

.admin-table strong,
.admin-table small {
    display: block;
}

.admin-table small {
    margin-top: 4px;
    color: #526476;
}

.admin-inline-form,
.admin-status-form,
.admin-content-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.admin-inline-form button,
.admin-status-form button,
.admin-content-actions button,
.admin-delete-form button {
    min-height: 42px;
    padding: 9px 13px;
    border: 0;
    border-radius: 999px;
    background: #176fb8;
    color: #ffffff;
    font-weight: 900;
    cursor: pointer;
}

.admin-delete-form button {
    background: #fff0f0;
    color: #a32121;
}

.admin-muted {
    color: #7a8a99;
    font-weight: 800;
}

.admin-status-badge {
    display: inline-flex;
    width: fit-content;
    min-height: 28px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #e8f2fb;
    color: #176fb8;
    font-size: 12px;
    font-weight: 900;
}

.admin-status-badge.status-locked,
.admin-status-badge.status-blocked,
.admin-status-badge.status-Gesperrt {
    background: #fff0f0;
    color: #a32121;
}

.admin-status-badge.status-open,
.admin-status-badge.status-pending {
    background: #fff7e8;
    color: #9a6412;
}

.admin-status-badge.status-done,
.admin-status-badge.status-active,
.admin-status-badge.status-published {
    background: #e9f8ef;
    color: #176136;
}

.admin-status-badge.status-archived {
    background: #eef2f6;
    color: #526476;
}

.admin-moderation-grid {
    display: grid;
    gap: 18px;
}

.admin-content-box {
    padding: 18px;
    border-radius: 24px;
    background: #f8fbfe;
    border: 1px solid #e1edf6;
}

.admin-content-box h3 {
    margin: 0 0 14px;
    color: #081f33;
    font-size: 24px;
}

.admin-content-box h3 span {
    display: inline-flex;
    min-width: 32px;
    min-height: 32px;
    margin-left: 8px;
    padding: 4px 9px;
    border-radius: 999px;
    background: #176fb8;
    color: #ffffff;
    place-items: center;
    justify-content: center;
    font-size: 14px;
}

.admin-content-list,
.admin-card-list,
.admin-log-list {
    display: grid;
    gap: 12px;
}

.admin-content-item,
.admin-report-card,
.admin-log-list article {
    padding: 16px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid rgba(11,42,67,0.08);
    box-shadow: 0 10px 24px rgba(11,42,67,0.06);
}

.admin-content-main strong,
.admin-report-card h3,
.admin-log-list strong {
    display: block;
    color: #081f33;
    font-size: 19px;
}

.admin-content-main p,
.admin-report-card p,
.admin-log-list p {
    margin: 8px 0 0;
    color: #526476;
    line-height: 1.65;
}

.admin-content-main small,
.admin-report-card small,
.admin-log-list span {
    display: block;
    margin-top: 8px;
    color: #526476;
    font-size: 13px;
}

.admin-content-meta {
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-content-meta span {
    display: inline-flex;
    width: fit-content;
    min-height: 28px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eef6fc;
    color: #176fb8;
    font-size: 12px;
    font-weight: 900;
}

.admin-content-actions,
.admin-status-form,
.admin-delete-form {
    margin-top: 12px;
}

.admin-content-actions input,
.admin-status-form input {
    min-width: 210px;
    flex: 1 1 auto;
}

.admin-empty-small {
    padding: 16px;
    border-radius: 18px;
    background: #ffffff;
    color: #526476;
    font-weight: 900;
}

@media (max-width: 1200px) {
    .admin-stat-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .admin-filter-row {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 700px) {
    .admin-stat-grid,
    .admin-filter-row {
        grid-template-columns: 1fr;
    }

    .admin-panel {
        padding: 18px;
        border-radius: 24px;
    }

    .admin-inline-form,
    .admin-status-form,
    .admin-content-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-inline-form button,
    .admin-status-form button,
    .admin-content-actions button,
    .admin-delete-form button {
        width: 100%;
    }
}

/* ADMIN-XXXL ENDE */

/* AUSBESSERUNG-XXXL START */

.report-hero {
    background:
        radial-gradient(circle at 12% 20%, rgba(255, 168, 46, 0.18), transparent 32%),
        radial-gradient(circle at 88% 12%, rgba(23,111,184,0.18), transparent 28%),
        linear-gradient(135deg, #ffffff 0%, #f7fbfe 100%);
}

.report-layout {
    margin-top: 26px;
    display: grid;
    grid-template-columns: 420px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.report-preview-card {
    padding: 24px;
    border-radius: 26px;
    background: #ffffff;
    border: 1px solid rgba(11,42,67,0.09);
    box-shadow: 0 16px 38px rgba(11,42,67,0.08);
}

.report-preview-card h2 {
    margin: 0 0 12px;
    color: #081f33;
    font-size: 28px;
    letter-spacing: -0.03em;
}

.report-preview-card p {
    color: #526476;
    line-height: 1.75;
}

.content-report-link {
    text-decoration: none !important;
}

.delete-comment-button.content-report-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 13px;
    border-radius: 999px;
    background: #f4f8fb;
    color: #526476;
    font-weight: 900;
}

.admin-status-badge.status-gesperrt,
.admin-status-badge.status-blocked,
.admin-status-badge.status-locked {
    background: #fff0f0 !important;
    color: #a32121 !important;
}

.admin-status-badge.status-offen,
.admin-status-badge.status-open,
.admin-status-badge.status-wartet,
.admin-status-badge.status-pending {
    background: #fff7e8 !important;
    color: #9a6412 !important;
}

.admin-status-badge.status-erledigt,
.admin-status-badge.status-done,
.admin-status-badge.status-aktiv,
.admin-status-badge.status-active,
.admin-status-badge.status-veröffentlicht,
.admin-status-badge.status-published {
    background: #e9f8ef !important;
    color: #176136 !important;
}

@media (max-width: 1000px) {
    .report-layout {
        grid-template-columns: 1fr;
    }
}

/* AUSBESSERUNG-XXXL ENDE */


/* MEDIA-EDIT-XXXL START */

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

.form-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.image-edit-box {
    display: grid;
    gap: 14px;
    padding: 20px;
    border-radius: 24px;
    background: #f6fafe;
    border: 1px solid #dceaf5;
}

.image-edit-box h2 {
    margin: 0;
    color: #081f33;
    font-size: 24px;
}

.checkbox-line {
    display: flex !important;
    grid-template-columns: auto 1fr !important;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #e1edf6;
}

.checkbox-line input {
    width: auto !important;
    min-height: auto !important;
}

.edit-preview-image {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    border-radius: 22px;
    border: 1px solid #dceaf5;
    box-shadow: 0 16px 34px rgba(11,42,67,0.10);
}

.article-image-wrap,
.post-card-image-wrap,
.media-card-image-wrap,
.event-card-image-wrap {
    margin: 14px 0 18px;
    overflow: hidden;
    border-radius: 24px;
    background: #f2f7fb;
    border: 1px solid #dceaf5;
}

.article-main-image {
    display: block;
    width: 100%;
    max-height: 520px;
    object-fit: cover;
}

.post-card-image,
.media-card-image,
.event-card-image {
    display: block;
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.media-card-image-wrap {
    margin: 0 0 14px;
}

.event-card-image-wrap {
    margin: 0 0 18px;
}

.modern-card .media-card-image-wrap {
    margin-top: -4px;
}

.content-image {
    max-width: 100%;
    height: auto;
}

.modern-form input[type="file"] {
    padding: 13px;
    background: #ffffff;
}

@media (max-width: 860px) {
    .form-grid-2,
    .form-grid-3 {
        grid-template-columns: 1fr;
    }

    .post-card-image,
    .media-card-image,
    .event-card-image {
        height: 190px;
    }
}

/* MEDIA-EDIT-XXXL ENDE */

/* PROFILE-XXXL START */

.profile-hero,
.profile-public-hero,
.team-hero {
    background:
        radial-gradient(circle at 12% 20%, rgba(23,111,184,0.22), transparent 32%),
        radial-gradient(circle at 88% 16%, rgba(121,185,235,0.26), transparent 30%),
        linear-gradient(135deg, #ffffff 0%, #f4f9fd 100%);
}

.profile-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 28px;
    align-items: center;
}

.profile-hero-avatar {
    display: grid;
    place-items: center;
}

.profile-avatar-xl,
.profile-avatar-large,
.profile-avatar-card,
.edit-avatar-preview {
    display: grid;
    place-items: center;
    object-fit: cover;
    background: linear-gradient(135deg, #176fb8, #2d87d4);
    color: #ffffff;
    font-weight: 900;
    border: 5px solid #ffffff;
    box-shadow: 0 18px 38px rgba(11,42,67,0.18);
}

.profile-avatar-xl {
    width: 170px;
    height: 170px;
    border-radius: 44px;
    font-size: 64px;
}

.profile-avatar-large {
    width: 120px;
    height: 120px;
    border-radius: 34px;
    font-size: 48px;
}

.profile-avatar-card {
    width: 74px;
    height: 74px;
    border-radius: 24px;
    font-size: 30px;
    border-width: 3px;
}

.edit-avatar-preview {
    width: 160px;
    height: 160px;
    border-radius: 38px;
    font-size: 58px;
}

.profile-avatar-fallback {
    line-height: 1;
}

.profile-layout {
    margin-top: 28px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 24px;
    align-items: start;
}

.profile-layout .modern-form-card h2 {
    margin-top: 0;
    color: #081f33;
    font-size: 30px;
    letter-spacing: -0.03em;
}

.profile-card-grid {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.profile-member-card {
    padding: 22px;
    border-radius: 26px;
    background: #ffffff;
    border: 1px solid rgba(11,42,67,0.09);
    box-shadow: 0 16px 38px rgba(11,42,67,0.08);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.profile-member-top {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
}

.profile-member-card h3 {
    margin: 0;
    color: #081f33;
    font-size: 23px;
    letter-spacing: -0.02em;
}

.profile-member-card h3 a {
    color: inherit;
}

.profile-member-card span {
    color: #176fb8;
    font-weight: 900;
}

.profile-member-card p {
    margin: 0;
    color: #526476;
    line-height: 1.7;
}

.team-profile-card {
    background:
        radial-gradient(circle at top right, rgba(23,111,184,0.08), transparent 34%),
        #ffffff;
}

.role-card-seitenadministrator {
    border-color: rgba(23,111,184,0.35);
    box-shadow: 0 18px 44px rgba(23,111,184,0.14);
}

.role-card-seitenadministrator .profile-avatar-card {
    background: linear-gradient(135deg, #0b2a43, #176fb8);
}

.role-card-adminleitung,
.role-card-admin,
.role-card-test_admin,
.role-card-admin_test {
    border-color: rgba(23,111,184,0.22);
}

.role-card-moderatorleitung,
.role-card-moderator,
.role-card-test_moderator {
    border-color: rgba(18,136,88,0.22);
}

.portal-drawer-avatar {
    object-fit: cover !important;
}

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

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

@media (max-width: 740px) {
    .profile-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .profile-hero-grid .modern-hero-actions {
        justify-content: center;
    }

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

    .profile-avatar-xl {
        width: 140px;
        height: 140px;
        border-radius: 36px;
        font-size: 54px;
    }
}

/* PROFILE-XXXL ENDE */

/* INTERACTIONS-XXXL START */

.important-hero {
    background:
        radial-gradient(circle at 12% 20%, rgba(255, 168, 46, 0.22), transparent 32%),
        radial-gradient(circle at 88% 12%, rgba(23,111,184,0.20), transparent 30%),
        linear-gradient(135deg, #ffffff 0%, #f8fbfe 100%);
}

.interaction-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.interaction-badge {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    justify-content: center;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
}

.interaction-badge.pinned {
    background: #0b2a43;
    color: #ffffff;
}

.interaction-badge.important {
    background: #fff1d2;
    color: #8a5708;
}

.post-interaction-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.post-interaction-bar.compact {
    margin-top: 12px;
}

.post-interaction-bar form {
    margin: 0;
}

.post-interaction-pill {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 9px 13px;
    border: 1px solid #dceaf5;
    border-radius: 999px;
    background: #ffffff;
    color: #176fb8;
    font-weight: 900;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(11,42,67,0.06);
}

.post-interaction-pill strong {
    min-width: 25px;
    min-height: 25px;
    padding: 3px 7px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #e8f2fb;
    color: #176fb8;
    font-size: 12px;
}

.post-interaction-pill:hover {
    background: #f5f9fd;
}

.post-interaction-pill.active {
    background: #176fb8;
    border-color: #176fb8;
    color: #ffffff;
}

.post-interaction-pill.active strong {
    background: #ffffff;
    color: #176fb8;
}

.post-interaction-pill.bookmark-active {
    background: #0b2a43;
    border-color: #0b2a43;
}

.inline-action-form {
    display: inline-flex;
    margin: 0;
}

.notification-list {
    gap: 14px;
}

.notification-card {
    padding: 22px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(11,42,67,0.09);
    box-shadow: 0 14px 34px rgba(11,42,67,0.08);
}

.notification-card.unread {
    border-color: rgba(23,111,184,0.35);
    background:
        radial-gradient(circle at top right, rgba(23,111,184,0.08), transparent 32%),
        #ffffff;
}

.notification-card h2 {
    margin: 0 0 8px;
    color: #081f33;
    font-size: 24px;
}

.notification-card h2 a {
    color: inherit;
}

.notification-card p {
    color: #526476;
    line-height: 1.7;
}

.important-admin-form {
    margin-top: 16px;
    display: grid;
    gap: 12px;
    padding: 16px;
    border-radius: 20px;
    background: #f6fafe;
    border: 1px solid #dceaf5;
}

.important-admin-form label:not(.checkbox-line) {
    display: grid;
    gap: 7px;
}

.important-admin-form input[type="text"] {
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid #d7e2eb;
    border-radius: 15px;
    background: #ffffff;
    color: #081f33;
    font: inherit;
}

.important-admin-form .checkbox-line {
    margin: 0;
}

@media (max-width: 700px) {
    .post-interaction-bar,
    .post-interaction-bar form,
    .post-interaction-pill {
        width: 100%;
    }

    .post-interaction-pill {
        justify-content: space-between;
    }
}

/* INTERACTIONS-XXXL ENDE */

/* TOWN-SEARCH-XXXL START */

.town-hero,
.town-overview-hero,
.search-hero {
    background:
        radial-gradient(circle at 12% 22%, rgba(23,111,184,0.20), transparent 32%),
        radial-gradient(circle at 88% 12%, rgba(121,185,235,0.24), transparent 28%),
        linear-gradient(135deg, #ffffff 0%, #f4f9fd 100%);
}

.town-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 28px;
    align-items: center;
}

.town-hero-icon,
.town-overview-icon {
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 30% 20%, rgba(255,255,255,0.35), transparent 32%),
        linear-gradient(135deg, #176fb8 0%, #0b2a43 100%);
    color: #ffffff;
    font-weight: 900;
    box-shadow: 0 22px 48px rgba(23,111,184,0.22);
}

.town-hero-icon {
    width: 140px;
    height: 140px;
    border-radius: 40px;
    font-size: 48px;
}

.town-overview-grid {
    margin-top: 26px;
    display: grid;
    gap: 22px;
}

.town-overview-card {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    padding: 24px;
    border-radius: 30px;
    background: #ffffff;
    border: 1px solid rgba(11,42,67,0.09);
    box-shadow: 0 18px 42px rgba(11,42,67,0.08);
}

.town-overview-icon {
    width: 120px;
    height: 120px;
    border-radius: 34px;
    font-size: 38px;
}

.town-overview-content h2 {
    margin: 0 0 10px;
    color: #081f33;
    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: -0.04em;
}

.town-overview-content h2 a {
    color: inherit;
}

.town-overview-content p {
    margin: 0;
    color: #526476;
    line-height: 1.7;
}

.town-mini-stats {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.town-mini-stats span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    border-radius: 999px;
    background: #f2f7fb;
    color: #526476;
    font-weight: 800;
}

.town-mini-stats strong {
    color: #176fb8;
}

.town-stats {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.town-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.town-info-card {
    min-height: 100%;
}

.town-muted-pill {
    display: inline-flex;
    padding: 9px 12px;
    border-radius: 999px;
    background: #f2f7fb;
    color: #526476;
    font-weight: 900;
}

.town-member-list {
    display: grid;
    gap: 10px;
}

.town-member-mini {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 10px;
    border-radius: 18px;
    background: #f5f9fd;
    border: 1px solid #e1edf6;
}

.town-member-avatar {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    object-fit: cover;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #176fb8, #2d87d4);
    color: #ffffff;
    font-weight: 900;
}

.town-member-mini strong,
.town-member-mini small {
    display: block;
}

.town-member-mini strong {
    color: #081f33;
}

.town-member-mini small {
    margin-top: 3px;
    color: #526476;
    font-size: 12px;
}

.search-box-xxxl {
    margin-top: 24px;
    padding: 22px;
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid rgba(11,42,67,0.09);
    box-shadow: 0 18px 42px rgba(11,42,67,0.08);
}

.search-form-xxxl {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr 0.9fr 0.9fr 1fr auto;
    gap: 10px;
    align-items: end;
}

.search-form-xxxl label {
    display: grid;
    gap: 7px;
}

.search-form-xxxl label span {
    color: #081f33;
    font-weight: 900;
    font-size: 13px;
}

.search-form-xxxl input,
.search-form-xxxl select {
    width: 100%;
    min-height: 48px;
    padding: 11px 13px;
    border: 1px solid #d7e2eb;
    border-radius: 16px;
    background: #ffffff;
    color: #081f33;
    font: inherit;
    outline: none;
}

.search-form-xxxl input:focus,
.search-form-xxxl select:focus {
    border-color: #176fb8;
    box-shadow: 0 0 0 4px rgba(23,111,184,0.12);
}

.search-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.search-type-links {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.search-type-links a {
    min-height: 38px;
    padding: 9px 13px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #dceaf5;
    color: #176fb8;
    font-weight: 900;
}

.search-type-links a.active {
    background: #176fb8;
    border-color: #176fb8;
    color: #ffffff;
}

.search-results-grid {
    display: grid;
    gap: 16px;
}

.search-result-card {
    padding: 22px;
    border-radius: 26px;
    background: #ffffff;
    border: 1px solid rgba(11,42,67,0.09);
    box-shadow: 0 14px 34px rgba(11,42,67,0.08);
}

.search-result-card h2 {
    margin: 0 0 10px;
    color: #081f33;
    font-size: 26px;
    letter-spacing: -0.03em;
}

.search-result-card h2 a {
    color: inherit;
}

.search-result-card p {
    margin: 0;
    color: #526476;
    line-height: 1.75;
}

.search-result-image-wrap {
    margin: 12px 0 16px;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid #dceaf5;
    background: #f2f7fb;
}

.search-result-image {
    display: block;
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.result-user .search-result-image {
    width: 140px;
    height: 140px;
    border-radius: 32px;
}

.result-user .search-result-image-wrap {
    width: fit-content;
    padding: 0;
    border-radius: 34px;
}

@media (max-width: 1250px) {
    .search-form-xxxl {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .search-main-field {
        grid-column: 1 / -1;
    }

    .search-actions {
        grid-column: 1 / -1;
    }

    .town-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .town-hero-grid,
    .town-overview-card,
    .town-intro-grid {
        grid-template-columns: 1fr;
    }

    .town-hero-icon,
    .town-overview-icon {
        width: 110px;
        height: 110px;
        border-radius: 30px;
        font-size: 34px;
    }

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

    .search-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .town-stats {
        grid-template-columns: 1fr;
    }
}

/* TOWN-SEARCH-XXXL ENDE */

/* DASHBOARD-FIX START */

.dashboard-hero {
    background:
        radial-gradient(circle at 12% 20%, rgba(23,111,184,0.22), transparent 32%),
        radial-gradient(circle at 88% 12%, rgba(121,185,235,0.25), transparent 30%),
        linear-gradient(135deg, #ffffff 0%, #f4f9fd 100%);
}

.dashboard-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 28px;
    align-items: center;
}

.dashboard-avatar-wrap {
    display: grid;
    place-items: center;
}

.dashboard-avatar {
    width: 150px;
    height: 150px;
    border-radius: 42px;
    object-fit: cover;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #176fb8, #2d87d4);
    color: #ffffff;
    font-size: 58px;
    font-weight: 900;
    border: 5px solid #ffffff;
    box-shadow: 0 18px 38px rgba(11,42,67,0.18);
}

.dashboard-stats {
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

@media (max-width: 1250px) {
    .dashboard-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 740px) {
    .dashboard-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .dashboard-hero-grid .modern-hero-actions {
        justify-content: center;
    }

    .dashboard-avatar {
        width: 130px;
        height: 130px;
        border-radius: 36px;
        font-size: 50px;
    }

    .dashboard-stats {
        grid-template-columns: 1fr;
    }
}

/* DASHBOARD-FIX ENDE */

/* ACCOUNT-APPROVAL START */

.approval-hero,
.register-approval-hero {
    background:
        radial-gradient(circle at 12% 20%, rgba(255,168,46,0.18), transparent 34%),
        radial-gradient(circle at 88% 12%, rgba(23,111,184,0.22), transparent 30%),
        linear-gradient(135deg, #ffffff 0%, #f4f9fd 100%);
}

.approval-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.approval-user-list {
    display: grid;
    gap: 18px;
}

.approval-user-card {
    padding: 22px;
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid rgba(11,42,67,0.09);
    box-shadow: 0 16px 38px rgba(11,42,67,0.08);
    display: grid;
    gap: 18px;
}

.approval-user-card.status-card-pending {
    border-color: rgba(255,168,46,0.38);
    background:
        radial-gradient(circle at top right, rgba(255,168,46,0.10), transparent 32%),
        #ffffff;
}

.approval-user-card.status-card-active {
    border-color: rgba(34,148,87,0.25);
}

.approval-user-card.status-card-locked {
    border-color: rgba(180,36,36,0.25);
}

.approval-user-main {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.approval-avatar {
    width: 82px;
    height: 82px;
    border-radius: 26px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #176fb8, #0b2a43);
    color: #ffffff;
    font-size: 34px;
    font-weight: 900;
    box-shadow: 0 14px 28px rgba(23,111,184,0.20);
}

.approval-user-card h2 {
    margin: 8px 0 6px;
    color: #081f33;
    font-size: 28px;
    letter-spacing: -0.03em;
}

.approval-user-card p {
    margin: 6px 0;
    color: #526476;
    line-height: 1.65;
}

.approval-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.approval-action-form {
    display: grid;
    gap: 10px;
    padding: 16px;
    border-radius: 22px;
    background: #f6fafe;
    border: 1px solid #dceaf5;
}

.approval-action-form label {
    display: grid;
    gap: 7px;
}

.approval-action-form label span {
    color: #081f33;
    font-weight: 900;
    font-size: 13px;
}

.approval-action-form input {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #d7e2eb;
    border-radius: 15px;
    background: #ffffff;
    color: #081f33;
    font: inherit;
}

.approval-badge {
    display: inline-flex;
    width: fit-content;
    min-height: 28px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #e8f2fb;
    color: #176fb8;
    font-size: 12px;
    font-weight: 900;
}

.approval-badge.status-pending {
    background: #fff7e8;
    color: #9a6412;
}

.approval-badge.status-active {
    background: #e9f8ef;
    color: #176136;
}

.approval-badge.status-locked {
    background: #fff0f0;
    color: #a32121;
}

.danger-button {
    background: #fff0f0 !important;
    color: #a32121 !important;
    box-shadow: none !important;
}

@media (max-width: 1000px) {
    .approval-actions {
        grid-template-columns: 1fr;
    }

    .approval-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 650px) {
    .approval-user-main {
        grid-template-columns: 1fr;
    }

    .approval-avatar {
        width: 72px;
        height: 72px;
        border-radius: 22px;
    }
}

/* ACCOUNT-APPROVAL ENDE */

/* COMPANY-DIRECTORY-XXXL START */

.company-directory-hero,
.company-detail-hero {
    background:
        radial-gradient(circle at 12% 18%, rgba(23,111,184,0.22), transparent 34%),
        radial-gradient(circle at 88% 10%, rgba(121,185,235,0.24), transparent 30%),
        linear-gradient(135deg, #ffffff 0%, #f4f9fd 100%);
}

.company-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.company-filter-panel {
    margin-top: 24px;
    padding: 22px;
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid rgba(11,42,67,0.09);
    box-shadow: 0 18px 42px rgba(11,42,67,0.08);
}

.company-filter-form {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr auto;
    gap: 10px;
    align-items: end;
}

.company-filter-form label {
    display: grid;
    gap: 7px;
}

.company-filter-form label span {
    color: #081f33;
    font-weight: 900;
    font-size: 13px;
}

.company-filter-form input,
.company-filter-form select {
    width: 100%;
    min-height: 48px;
    padding: 11px 13px;
    border: 1px solid #d7e2eb;
    border-radius: 16px;
    background: #ffffff;
    color: #081f33;
    font: inherit;
    outline: none;
}

.company-filter-form input:focus,
.company-filter-form select:focus {
    border-color: #176fb8;
    box-shadow: 0 0 0 4px rgba(23,111,184,0.12);
}

.company-filter-actions {
    display: flex;
    gap: 8px;
}

.company-alphabet-bar {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.company-alphabet-bar a {
    min-width: 38px;
    min-height: 38px;
    display: grid;
    place-items: center;
    padding: 8px 11px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #dceaf5;
    color: #176fb8;
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(11,42,67,0.05);
}

.company-alphabet-bar a.active {
    background: #176fb8;
    border-color: #176fb8;
    color: #ffffff;
}

.company-layout {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.company-sidebar {
    display: grid;
    gap: 16px;
    position: sticky;
    top: 16px;
}

.company-pill-list {
    display: grid;
    gap: 8px;
}

.company-pill-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 16px;
    background: #f5f9fd;
    border: 1px solid #e1edf6;
    color: #176fb8;
    font-weight: 900;
}

.company-pill-list small {
    min-width: 28px;
    min-height: 28px;
    display: grid;
    place-items: center;
    padding: 3px 8px;
    border-radius: 999px;
    background: #ffffff;
    color: #176fb8;
}

.company-card-grid {
    display: grid;
    gap: 18px;
}

.company-card {
    position: relative;
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 0;
    overflow: hidden;
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid rgba(11,42,67,0.09);
    box-shadow: 0 16px 38px rgba(11,42,67,0.08);
}

.company-card.featured-company-card {
    border-color: rgba(23,111,184,0.35);
    box-shadow: 0 18px 44px rgba(23,111,184,0.14);
}

.company-featured-badge {
    position: absolute;
    z-index: 4;
    top: 14px;
    left: 14px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #0b2a43;
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(11,42,67,0.18);
}

.company-card-image-wrap,
.company-card-placeholder {
    min-height: 100%;
    display: grid;
    place-items: center;
    background: #f2f7fb;
    color: #176fb8;
    font-size: 56px;
    font-weight: 900;
}

.company-card-image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
}

.company-card-body {
    padding: 24px;
}

.company-card h2 {
    margin: 0 0 10px;
    color: #081f33;
    font-size: clamp(24px, 3vw, 34px);
    letter-spacing: -0.03em;
}

.company-card h2 a {
    color: inherit;
}

.company-card p {
    margin: 0;
    color: #526476;
    line-height: 1.75;
}

.company-service-tags {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.company-service-tags span {
    display: inline-flex;
    padding: 8px 11px;
    border-radius: 999px;
    background: #e8f2fb;
    color: #176fb8;
    font-size: 13px;
    font-weight: 900;
}

.company-service-tags.large span {
    font-size: 14px;
    padding: 10px 13px;
}

.company-contact-row {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.company-contact-row a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: #f5f9fd;
    border: 1px solid #e1edf6;
    color: #176fb8;
    font-weight: 900;
}

.company-detail-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 28px;
    align-items: center;
}

.company-detail-logo {
    width: 170px;
    height: 170px;
    overflow: hidden;
    display: grid;
    place-items: center;
    border-radius: 44px;
    background: linear-gradient(135deg, #176fb8, #0b2a43);
    color: #ffffff;
    font-size: 64px;
    font-weight: 900;
    border: 5px solid #ffffff;
    box-shadow: 0 18px 38px rgba(11,42,67,0.18);
}

.company-detail-logo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.company-detail-layout {
    margin-top: 28px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: start;
}

.company-detail-main {
    display: grid;
    gap: 18px;
}

.company-detail-main .modern-form-card h2,
.company-detail-main .modern-form-card h3 {
    color: #081f33;
}

.company-detail-main .modern-form-card p {
    color: #526476;
    line-height: 1.85;
}

.company-detail-side {
    display: grid;
    gap: 16px;
    position: sticky;
    top: 16px;
}

.company-detail-contact {
    display: grid;
    gap: 12px;
}

.company-detail-contact div {
    padding: 14px;
    border-radius: 18px;
    background: #f5f9fd;
    border: 1px solid #e1edf6;
}

.company-detail-contact strong,
.company-detail-contact span,
.company-detail-contact a {
    display: block;
}

.company-detail-contact strong {
    color: #081f33;
}

.company-detail-contact span,
.company-detail-contact a {
    margin-top: 4px;
    color: #526476;
    line-height: 1.55;
}

.company-detail-contact a {
    color: #176fb8;
    font-weight: 900;
}

.company-entry-layout {
    margin-top: 26px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: start;
}

.company-status-badge {
    display: inline-flex;
    width: fit-content;
    padding: 7px 11px;
    border-radius: 999px;
    background: #e8f2fb;
    color: #176fb8;
    font-weight: 900;
    font-size: 13px;
}

@media (max-width: 1200px) {
    .company-filter-form {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .company-filter-main,
    .company-filter-actions {
        grid-column: 1 / -1;
    }

    .company-layout,
    .company-detail-layout,
    .company-entry-layout {
        grid-template-columns: 1fr;
    }

    .company-sidebar,
    .company-detail-side {
        position: static;
    }
}

@media (max-width: 820px) {
    .company-card,
    .company-detail-hero-grid {
        grid-template-columns: 1fr;
    }

    .company-card-image,
    .company-card-image-wrap,
    .company-card-placeholder {
        min-height: 220px;
    }

    .company-detail-logo {
        width: 140px;
        height: 140px;
        border-radius: 36px;
        font-size: 52px;
    }

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

    .company-filter-actions {
        flex-direction: column;
    }

    .company-stats {
        grid-template-columns: 1fr;
    }
}

/* COMPANY-DIRECTORY-XXXL ENDE */

/* PROFILE-MODERN-XXXL START */

.profile-modern-hero {
    position: relative;
    overflow: hidden;
    margin-top: 18px;
    padding: clamp(24px, 4vw, 46px);
    border-radius: 36px;
    background:
        radial-gradient(circle at 12% 18%, rgba(23,111,184,0.25), transparent 34%),
        radial-gradient(circle at 88% 12%, rgba(121,185,235,0.28), transparent 30%),
        linear-gradient(135deg, #ffffff 0%, #f3f8fd 100%);
    border: 1px solid rgba(11,42,67,0.08);
    box-shadow: 0 22px 55px rgba(11,42,67,0.10);
}

.profile-modern-hero-bg {
    position: absolute;
    inset: auto -90px -140px auto;
    width: 360px;
    height: 360px;
    border-radius: 999px;
    background: rgba(23,111,184,0.10);
    filter: blur(4px);
}

.profile-modern-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: clamp(24px, 4vw, 46px);
    align-items: center;
}

.profile-modern-avatar-card {
    padding: 18px;
    border-radius: 34px;
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(255,255,255,0.80);
    box-shadow: 0 18px 38px rgba(11,42,67,0.10);
    backdrop-filter: blur(14px);
}

.profile-modern-avatar-xl,
.profile-modern-avatar-preview {
    display: grid;
    place-items: center;
    object-fit: cover;
    background: linear-gradient(135deg, #176fb8, #0b2a43);
    color: #ffffff;
    font-weight: 900;
    border: 5px solid #ffffff;
    box-shadow: 0 18px 38px rgba(11,42,67,0.16);
}

.profile-modern-avatar-xl {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 30px;
    font-size: 72px;
}

.profile-modern-avatar-preview {
    width: 120px;
    height: 120px;
    border-radius: 30px;
    font-size: 48px;
}

.profile-modern-completion {
    margin-top: 16px;
    padding: 14px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid #e1edf6;
}

.profile-modern-completion-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #081f33;
    font-weight: 900;
}

.profile-modern-progress {
    overflow: hidden;
    height: 10px;
    margin: 10px 0 8px;
    border-radius: 999px;
    background: #e8f2fb;
}

.profile-modern-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #176fb8, #2d87d4);
}

.profile-modern-completion small {
    color: #526476;
    line-height: 1.5;
}

.profile-modern-hero-content h1 {
    margin: 6px 0 12px;
    color: #081f33;
    font-size: clamp(38px, 6vw, 72px);
    line-height: 0.95;
    letter-spacing: -0.06em;
}

.profile-modern-hero-content p {
    max-width: 760px;
    color: #526476;
    font-size: 18px;
    line-height: 1.75;
}

.profile-modern-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0;
}

.profile-modern-badges span {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: #ffffff;
    color: #176fb8;
    font-weight: 900;
    border: 1px solid #dceaf5;
    box-shadow: 0 8px 18px rgba(11,42,67,0.05);
}

.profile-modern-stats {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.profile-modern-stats article {
    padding: 20px;
    border-radius: 26px;
    background: #ffffff;
    border: 1px solid rgba(11,42,67,0.08);
    box-shadow: 0 14px 34px rgba(11,42,67,0.08);
}

.profile-modern-stats strong {
    display: block;
    color: #176fb8;
    font-size: 34px;
    line-height: 1;
}

.profile-modern-stats span {
    display: block;
    margin-top: 8px;
    color: #526476;
    font-weight: 900;
}

.profile-modern-tabs {
    position: sticky;
    top: 0;
    z-index: 20;
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px;
    border-radius: 24px;
    background: rgba(255,255,255,0.86);
    border: 1px solid rgba(11,42,67,0.08);
    box-shadow: 0 14px 34px rgba(11,42,67,0.08);
    backdrop-filter: blur(16px);
}

.profile-modern-tabs a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    padding: 9px 14px;
    border-radius: 999px;
    color: #176fb8;
    font-weight: 900;
}

.profile-modern-tabs a:hover {
    background: #e8f2fb;
}

.profile-modern-layout {
    margin-top: 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 24px;
    align-items: start;
}

.profile-modern-main,
.profile-modern-side {
    display: grid;
    gap: 20px;
}

.profile-modern-side {
    position: sticky;
    top: 86px;
}

.profile-modern-panel,
.profile-modern-side-card {
    padding: clamp(22px, 3vw, 32px);
    border-radius: 30px;
    background: #ffffff;
    border: 1px solid rgba(11,42,67,0.08);
    box-shadow: 0 18px 42px rgba(11,42,67,0.08);
}

.profile-modern-panel {
    scroll-margin-top: 110px;
}

.profile-modern-panel-head {
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
}

.profile-modern-panel h2,
.profile-modern-side-card h3 {
    margin: 0;
    color: #081f33;
    letter-spacing: -0.03em;
}

.profile-modern-panel h2 {
    font-size: clamp(30px, 4vw, 46px);
}

.profile-modern-panel h3,
.profile-modern-upload-box h3,
.profile-modern-settings h3 {
    margin: 0 0 8px;
    color: #081f33;
    font-size: 24px;
}

.profile-modern-panel p,
.profile-modern-side-card p,
.profile-modern-upload-box p {
    margin: 8px 0 0;
    color: #526476;
    line-height: 1.7;
}

.profile-modern-form {
    display: grid;
    gap: 18px;
}

.profile-modern-form.small {
    gap: 13px;
}

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

.profile-modern-form label {
    display: grid;
    gap: 8px;
}

.profile-modern-form label span {
    color: #081f33;
    font-weight: 900;
}

.profile-modern-form input,
.profile-modern-form select,
.profile-modern-form textarea {
    width: 100%;
    min-height: 50px;
    padding: 13px 15px;
    border: 1px solid #d7e2eb;
    border-radius: 18px;
    background: #ffffff;
    color: #081f33;
    font: inherit;
    outline: none;
}

.profile-modern-form textarea {
    resize: vertical;
    line-height: 1.7;
}

.profile-modern-form input:focus,
.profile-modern-form select:focus,
.profile-modern-form textarea:focus {
    border-color: #176fb8;
    box-shadow: 0 0 0 4px rgba(23,111,184,0.12);
}

.profile-modern-upload-box,
.profile-modern-settings {
    display: grid;
    gap: 16px;
    padding: 20px;
    border-radius: 26px;
    background: #f6fafe;
    border: 1px solid #dceaf5;
}

.profile-modern-upload-preview {
    width: fit-content;
}

.profile-modern-check {
    display: flex !important;
    grid-template-columns: auto 1fr !important;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #e1edf6;
}

.profile-modern-check input {
    width: auto !important;
    min-height: auto !important;
}

.profile-modern-switch {
    position: relative;
    display: grid !important;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 16px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #e1edf6;
}

.profile-modern-switch input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.profile-modern-switch > span {
    width: 52px;
    height: 30px;
    border-radius: 999px;
    background: #d7e2eb;
    position: relative;
    transition: 0.2s ease;
}

.profile-modern-switch > span::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 4px;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(11,42,67,0.18);
    transition: 0.2s ease;
}

.profile-modern-switch input:checked + span {
    background: #176fb8;
}

.profile-modern-switch input:checked + span::after {
    transform: translateX(22px);
}

.profile-modern-switch strong {
    color: #081f33;
    font-size: 16px;
}

.profile-modern-switch small {
    grid-column: 2;
    color: #526476;
    line-height: 1.45;
}

.profile-modern-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.profile-modern-list {
    display: grid;
    gap: 14px;
}

.profile-modern-mini-card {
    padding: 18px;
    border-radius: 24px;
    background: #f8fbfe;
    border: 1px solid #e1edf6;
}

.profile-modern-mini-card h3 {
    margin: 8px 0;
    color: #081f33;
    font-size: 23px;
}

.profile-modern-mini-card h3 a {
    color: inherit;
}

.profile-modern-mini-card p {
    color: #526476;
    line-height: 1.7;
}

.profile-modern-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    margin-bottom: 14px;
    border-radius: 18px;
    background: linear-gradient(135deg, #176fb8, #2d87d4);
    color: #ffffff;
    font-weight: 900;
    font-size: 20px;
}

.profile-modern-quicklinks,
.profile-modern-answer-list,
.profile-modern-info-list {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.profile-modern-quicklinks a,
.profile-modern-answer-list a,
.profile-modern-info-list div,
.profile-modern-empty-small {
    display: block;
    padding: 13px 14px;
    border-radius: 18px;
    background: #f5f9fd;
    border: 1px solid #e1edf6;
}

.profile-modern-quicklinks a {
    color: #176fb8;
    font-weight: 900;
}

.profile-modern-answer-list strong,
.profile-modern-answer-list span,
.profile-modern-info-list strong,
.profile-modern-info-list span {
    display: block;
}

.profile-modern-answer-list strong,
.profile-modern-info-list strong {
    color: #081f33;
}

.profile-modern-answer-list span,
.profile-modern-info-list span,
.profile-modern-empty-small {
    margin-top: 4px;
    color: #526476;
    line-height: 1.5;
}

.profile-modern-info-list span {
    word-break: break-word;
}

@media (max-width: 1150px) {
    .profile-modern-layout,
    .profile-modern-hero-grid {
        grid-template-columns: 1fr;
    }

    .profile-modern-side {
        position: static;
    }

    .profile-modern-avatar-card {
        max-width: 310px;
    }

    .profile-modern-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .profile-modern-hero {
        border-radius: 26px;
    }

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

    .profile-modern-panel-head {
        display: grid;
    }

    .profile-modern-tabs {
        position: static;
    }

    .profile-modern-tabs a,
    .profile-modern-actions .modern-button {
        width: 100%;
        justify-content: center;
    }

    .profile-modern-avatar-xl {
        font-size: 56px;
    }
}

/* PROFILE-MODERN-XXXL ENDE */

/* PROFILE-ALT-LAYOUT START */

.profile-alt-shell {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    margin-top: 22px;
}

.profile-alt-sidebar {
    position: sticky;
    top: 18px;
    display: grid;
    gap: 16px;
}

.profile-alt-userbox,
.profile-alt-nav,
.profile-alt-side-actions,
.profile-alt-card,
.profile-alt-top,
.profile-alt-preview-card,
.profile-alt-info-card {
    background: #ffffff;
    border: 1px solid rgba(11,42,67,0.08);
    box-shadow: 0 16px 38px rgba(11,42,67,0.08);
}

.profile-alt-userbox {
    position: relative;
    overflow: hidden;
    padding: 24px;
    border-radius: 34px;
    text-align: center;
    background:
        radial-gradient(circle at top left, rgba(23,111,184,0.18), transparent 34%),
        radial-gradient(circle at bottom right, rgba(11,42,67,0.10), transparent 34%),
        #ffffff;
}

.profile-alt-avatar-wrap {
    display: grid;
    place-items: center;
    margin-bottom: 16px;
}

.profile-alt-avatar {
    width: 150px;
    height: 150px;
    border-radius: 42px;
    object-fit: cover;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #176fb8, #0b2a43);
    color: #ffffff;
    font-size: 58px;
    font-weight: 900;
    border: 6px solid #ffffff;
    box-shadow: 0 18px 38px rgba(11,42,67,0.18);
}

.profile-alt-userbox h1 {
    margin: 0;
    color: #081f33;
    font-size: 28px;
    letter-spacing: -0.04em;
}

.profile-alt-userbox p {
    margin: 6px 0 14px;
    color: #526476;
    font-weight: 800;
}

.profile-alt-role,
.profile-alt-status {
    width: fit-content;
    margin: 8px auto 0;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
}

.profile-alt-role {
    background: #e8f2fb;
    color: #176fb8;
}

.profile-alt-status {
    background: #f4f8fb;
    color: #526476;
}

.profile-alt-status.is-active {
    background: #e9f8ef;
    color: #176136;
}

.profile-alt-status.is-waiting {
    background: #fff7e8;
    color: #9a6412;
}

.profile-alt-nav,
.profile-alt-side-actions {
    padding: 14px;
    border-radius: 28px;
    display: grid;
    gap: 8px;
}

.profile-alt-nav a,
.profile-alt-side-actions a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 11px 13px;
    border-radius: 18px;
    color: #081f33;
    font-weight: 900;
    background: transparent;
}

.profile-alt-nav a:hover,
.profile-alt-side-actions a:hover {
    background: #f3f8fd;
    color: #176fb8;
}

.profile-alt-nav span {
    display: grid;
    place-items: center;
    min-width: 34px;
    min-height: 34px;
    border-radius: 13px;
    background: #e8f2fb;
    color: #176fb8;
    font-size: 12px;
}

.profile-alt-main {
    display: grid;
    gap: 22px;
}

.profile-alt-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 24px;
    align-items: center;
    padding: clamp(24px, 4vw, 42px);
    border-radius: 34px;
    background:
        radial-gradient(circle at 12% 18%, rgba(23,111,184,0.20), transparent 35%),
        radial-gradient(circle at 88% 12%, rgba(121,185,235,0.24), transparent 30%),
        linear-gradient(135deg, #ffffff 0%, #f5f9fd 100%);
}

.profile-alt-kicker,
.profile-alt-section-head span {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 9px;
    padding: 7px 11px;
    border-radius: 999px;
    background: #e8f2fb;
    color: #176fb8;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.profile-alt-top h2,
.profile-alt-section-head h2 {
    margin: 0;
    color: #081f33;
    letter-spacing: -0.05em;
}

.profile-alt-top h2 {
    font-size: clamp(38px, 6vw, 68px);
    line-height: 0.96;
}

.profile-alt-top p,
.profile-alt-section-head p {
    max-width: 760px;
    color: #526476;
    line-height: 1.75;
}

.profile-alt-completion {
    padding: 20px;
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid #e1edf6;
    box-shadow: 0 12px 28px rgba(11,42,67,0.07);
}

.profile-alt-completion strong {
    display: block;
    color: #176fb8;
    font-size: 46px;
    line-height: 1;
}

.profile-alt-completion span {
    display: block;
    margin-top: 4px;
    color: #081f33;
    font-weight: 900;
}

.profile-alt-progress {
    overflow: hidden;
    height: 12px;
    margin: 14px 0 9px;
    border-radius: 999px;
    background: #e8f2fb;
}

.profile-alt-progress i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #176fb8, #2d87d4);
}

.profile-alt-completion small {
    color: #526476;
    line-height: 1.45;
}

.profile-alt-stats {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.profile-alt-stats article {
    padding: 18px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(11,42,67,0.08);
    box-shadow: 0 12px 28px rgba(11,42,67,0.06);
}

.profile-alt-stats span {
    display: block;
    color: #526476;
    font-weight: 900;
}

.profile-alt-stats strong {
    display: block;
    margin-top: 10px;
    color: #176fb8;
    font-size: 34px;
    line-height: 1;
}

.profile-alt-preview-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 18px;
}

.profile-alt-preview-card,
.profile-alt-info-card,
.profile-alt-card {
    border-radius: 30px;
    padding: clamp(22px, 3vw, 30px);
}

.profile-alt-preview-head {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 15px;
    align-items: center;
    margin-bottom: 18px;
}

.profile-alt-preview-avatar,
.profile-alt-upload-avatar {
    width: 82px;
    height: 82px;
    border-radius: 26px;
    object-fit: cover;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #176fb8, #0b2a43);
    color: #ffffff;
    font-size: 30px;
    font-weight: 900;
}

.profile-alt-upload-avatar {
    width: 130px;
    height: 130px;
    border-radius: 34px;
    font-size: 48px;
}

.profile-alt-preview-head h3,
.profile-alt-info-card h3,
.profile-alt-card h3 {
    margin: 0;
    color: #081f33;
    font-size: 24px;
    letter-spacing: -0.03em;
}

.profile-alt-preview-head span {
    color: #176fb8;
    font-weight: 900;
}

.profile-alt-preview-card p {
    color: #526476;
    line-height: 1.8;
}

.profile-alt-mini-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.profile-alt-mini-meta span {
    padding: 8px 11px;
    border-radius: 999px;
    background: #f3f8fd;
    color: #176fb8;
    font-weight: 900;
    font-size: 13px;
}

.profile-alt-info-card {
    display: grid;
    gap: 12px;
}

.profile-alt-info-card div {
    padding: 13px;
    border-radius: 18px;
    background: #f6fafe;
    border: 1px solid #e1edf6;
}

.profile-alt-info-card span,
.profile-alt-info-card strong {
    display: block;
}

.profile-alt-info-card span {
    color: #526476;
    font-size: 13px;
    font-weight: 900;
}

.profile-alt-info-card strong {
    margin-top: 3px;
    color: #081f33;
    word-break: break-word;
}

.profile-alt-card {
    scroll-margin-top: 95px;
}

.profile-alt-section-head {
    margin-bottom: 20px;
}

.profile-alt-section-head h2 {
    font-size: clamp(30px, 4vw, 48px);
}

.profile-alt-form {
    display: grid;
    gap: 16px;
}

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

.profile-alt-form label {
    display: grid;
    gap: 8px;
}

.profile-alt-form label span {
    color: #081f33;
    font-weight: 900;
}

.profile-alt-form input,
.profile-alt-form select,
.profile-alt-form textarea {
    width: 100%;
    min-height: 50px;
    padding: 13px 15px;
    border-radius: 18px;
    border: 1px solid #d7e2eb;
    background: #ffffff;
    color: #081f33;
    font: inherit;
    outline: none;
}

.profile-alt-form textarea {
    resize: vertical;
    line-height: 1.7;
}

.profile-alt-form input:focus,
.profile-alt-form select:focus,
.profile-alt-form textarea:focus {
    border-color: #176fb8;
    box-shadow: 0 0 0 4px rgba(23,111,184,0.12);
}

.profile-alt-upload {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 20px;
    align-items: center;
    padding: 20px;
    border-radius: 26px;
    background: #f6fafe;
    border: 1px solid #dceaf5;
}

.profile-alt-upload h3,
.profile-alt-visibility h3 {
    margin-top: 0;
}

.profile-alt-upload p {
    color: #526476;
    line-height: 1.65;
}

.profile-alt-checkbox {
    display: flex !important;
    grid-template-columns: auto 1fr !important;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    padding: 12px 14px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #e1edf6;
}

.profile-alt-checkbox input {
    width: auto !important;
    min-height: auto !important;
}

.profile-alt-visibility {
    display: grid;
    gap: 12px;
    padding: 20px;
    border-radius: 26px;
    background: #f6fafe;
    border: 1px solid #dceaf5;
}

.profile-alt-toggle {
    position: relative;
    display: grid !important;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 13px;
    align-items: center;
    padding: 15px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #e1edf6;
}

.profile-alt-toggle input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.profile-alt-toggle > span {
    width: 52px;
    height: 30px;
    border-radius: 999px;
    background: #d7e2eb;
    position: relative;
    transition: 0.2s ease;
}

.profile-alt-toggle > span::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(11,42,67,0.18);
    transition: 0.2s ease;
}

.profile-alt-toggle input:checked + span {
    background: #176fb8;
}

.profile-alt-toggle input:checked + span::after {
    transform: translateX(22px);
}

.profile-alt-toggle strong,
.profile-alt-toggle small {
    display: block;
}

.profile-alt-toggle strong {
    color: #081f33;
}

.profile-alt-toggle small {
    margin-top: 3px;
    color: #526476;
    line-height: 1.45;
}

.profile-alt-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.profile-alt-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 18px;
}

.profile-alt-links-card {
    display: grid;
    align-content: start;
    gap: 10px;
}

.profile-alt-links-card a {
    display: block;
    padding: 13px 14px;
    border-radius: 18px;
    background: #f5f9fd;
    border: 1px solid #e1edf6;
    color: #176fb8;
    font-weight: 900;
}

.profile-alt-activity-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.profile-alt-activity-grid h3 {
    color: #081f33;
}

.profile-alt-activity-list {
    display: grid;
    gap: 10px;
}

.profile-alt-activity-list a,
.profile-alt-empty {
    display: block;
    padding: 15px;
    border-radius: 20px;
    background: #f6fafe;
    border: 1px solid #e1edf6;
}

.profile-alt-activity-list strong,
.profile-alt-activity-list span {
    display: block;
}

.profile-alt-activity-list strong {
    color: #081f33;
}

.profile-alt-activity-list span,
.profile-alt-empty {
    margin-top: 5px;
    color: #526476;
    line-height: 1.5;
}

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

    .profile-alt-sidebar {
        position: static;
        grid-template-columns: 1fr;
    }

    .profile-alt-nav {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .profile-alt-side-actions {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .profile-alt-top,
    .profile-alt-preview-grid,
    .profile-alt-split {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .profile-alt-nav,
    .profile-alt-side-actions,
    .profile-alt-stats,
    .profile-alt-form-grid,
    .profile-alt-upload,
    .profile-alt-activity-grid {
        grid-template-columns: 1fr;
    }

    .profile-alt-top {
        padding: 24px;
    }

    .profile-alt-form-actions .modern-button {
        width: 100%;
        justify-content: center;
    }
}

/* PROFILE-ALT-LAYOUT ENDE */

/* === HAßMERSHEIM PORTAL STARTSEITE PROFI START === */

.portal-home-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.7fr);
    gap: 24px;
    align-items: stretch;
    margin: 28px 0 24px;
}

.portal-home-hero-copy,
.portal-home-hero-card,
.portal-home-box,
.portal-home-post-card,
.portal-home-empty,
.portal-home-info-band,
.portal-home-places a {
    background: rgba(255,255,255,0.94);
    border: 1px solid rgba(15,23,42,0.08);
    box-shadow: 0 18px 45px rgba(15,23,42,0.08);
    border-radius: 28px;
}

.portal-home-hero-copy {
    padding: clamp(26px, 4vw, 48px);
    position: relative;
    overflow: hidden;
}

.portal-home-hero-copy::before {
    content: "";
    position: absolute;
    inset: -80px -120px auto auto;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(34,197,94,0.22), transparent 62%);
    pointer-events: none;
}

.portal-home-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(22,163,74,0.11);
    color: #166534;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.portal-home-hero h1 {
    margin: 14px 0 14px;
    font-size: clamp(2rem, 5vw, 4.1rem);
    line-height: 1.02;
    letter-spacing: -0.06em;
    color: #0f172a;
}

.portal-home-hero p {
    max-width: 760px;
    color: #475569;
    font-size: 1.08rem;
    line-height: 1.72;
}

.portal-home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.portal-home-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.portal-home-button:hover {
    transform: translateY(-2px);
}

.portal-home-button.primary {
    background: #14532d;
    color: #fff;
    box-shadow: 0 12px 26px rgba(20,83,45,0.22);
}

.portal-home-button.secondary {
    background: #0f172a;
    color: #fff;
    box-shadow: 0 12px 26px rgba(15,23,42,0.18);
}

.portal-home-button.ghost {
    background: #f1f5f9;
    color: #0f172a;
}

.portal-home-hero-card {
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background:
        linear-gradient(145deg, rgba(20,83,45,0.98), rgba(15,23,42,0.96));
    color: #fff;
}

.portal-home-hero-card strong {
    font-size: 1.35rem;
}

.portal-home-hero-card p {
    color: rgba(255,255,255,0.78);
    line-height: 1.65;
}

.portal-home-mini-stats {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.portal-home-mini-stats span {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.82);
}

.portal-home-mini-stats b {
    color: #fff;
    font-size: 1.25rem;
}

.portal-home-places {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 0 0 26px;
}

.portal-home-places a {
    display: grid;
    gap: 7px;
    padding: 22px;
    text-decoration: none;
    color: #0f172a;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.portal-home-places a:hover {
    transform: translateY(-3px);
    border-color: rgba(22,163,74,0.35);
    box-shadow: 0 20px 46px rgba(15,23,42,0.11);
}

.portal-home-places span {
    color: #166534;
    font-weight: 900;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.portal-home-places strong {
    font-size: 1.35rem;
}

.portal-home-places small {
    color: #64748b;
    line-height: 1.5;
}

.portal-home-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.65fr);
    gap: 22px;
    align-items: start;
}

.portal-home-main,
.portal-home-side {
    min-width: 0;
}

.portal-home-side {
    display: grid;
    gap: 18px;
}

.portal-home-section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 16px;
    margin: 0 0 16px;
}

.portal-home-section-head h2 {
    margin: 8px 0 0;
    color: #0f172a;
    letter-spacing: -0.035em;
    font-size: clamp(1.45rem, 3vw, 2.2rem);
}

.portal-home-section-head a {
    color: #14532d;
    font-weight: 800;
    text-decoration: none;
}

.portal-home-section-head.compact {
    align-items: center;
}

.portal-home-section-head.compact h2 {
    font-size: 1.35rem;
}

.portal-home-post-list {
    display: grid;
    gap: 16px;
}

.portal-home-post-card {
    padding: 22px;
}

.portal-home-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.portal-home-post-meta span {
    padding: 6px 10px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.82rem;
    font-weight: 800;
}

.portal-home-post-card h3 {
    margin: 0 0 10px;
    font-size: 1.35rem;
    letter-spacing: -0.035em;
}

.portal-home-post-card h3 a {
    color: #0f172a;
    text-decoration: none;
}

.portal-home-post-card h3 a:hover {
    color: #166534;
}

.portal-home-post-card p {
    color: #475569;
    line-height: 1.68;
    margin: 0;
}

.portal-home-post-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    border-top: 1px solid rgba(15,23,42,0.08);
    margin-top: 16px;
    padding-top: 14px;
    color: #64748b;
    font-size: 0.92rem;
}

.portal-home-post-foot a {
    color: #14532d;
    font-weight: 900;
    text-decoration: none;
}

.portal-home-box {
    padding: 22px;
}

.portal-home-box.important {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(240,253,244,0.92));
}

.portal-home-small-item {
    padding: 14px 0;
    border-top: 1px solid rgba(15,23,42,0.08);
}

.portal-home-small-item:first-of-type {
    border-top: 0;
}

.portal-home-small-item strong {
    display: block;
    color: #0f172a;
    margin-bottom: 5px;
}

.portal-home-small-item small {
    color: #64748b;
    font-weight: 700;
}

.portal-home-small-item p {
    color: #475569;
    line-height: 1.55;
    margin: 6px 0 0;
}

.portal-home-quicklinks {
    display: grid;
    gap: 10px;
}

.portal-home-quicklinks a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 15px;
    background: #f8fafc;
    color: #0f172a;
    text-decoration: none;
    font-weight: 800;
}

.portal-home-quicklinks a::after {
    content: "→";
    color: #166534;
}

.portal-home-three {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.portal-home-empty {
    padding: 30px;
    color: #475569;
}

.portal-home-empty strong {
    display: block;
    color: #0f172a;
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.portal-home-info-band {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 28px;
    margin: 24px 0 8px;
}

.portal-home-info-band h2 {
    margin: 10px 0 8px;
    color: #0f172a;
    font-size: clamp(1.4rem, 3vw, 2rem);
    letter-spacing: -0.04em;
}

.portal-home-info-band p {
    color: #475569;
    line-height: 1.65;
    margin: 0;
}

@media (max-width: 980px) {
    .portal-home-hero,
    .portal-home-grid,
    .portal-home-three {
        grid-template-columns: 1fr;
    }

    .portal-home-places {
        grid-template-columns: 1fr;
    }

    .portal-home-info-band {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 620px) {
    .portal-home-hero {
        margin-top: 14px;
    }

    .portal-home-hero-copy,
    .portal-home-hero-card,
    .portal-home-box,
    .portal-home-post-card,
    .portal-home-empty,
    .portal-home-info-band,
    .portal-home-places a {
        border-radius: 22px;
    }

    .portal-home-actions,
    .portal-home-post-foot,
    .portal-home-section-head {
        flex-direction: column;
        align-items: stretch;
    }

    .portal-home-button {
        width: 100%;
    }

    .portal-home-post-foot {
        gap: 8px;
    }
}

/* === HAßMERSHEIM PORTAL STARTSEITE PROFI ENDE === */

/* Admin- und Moderationszentrale */
.admin-center-hero {
    position: relative;
    overflow: hidden;
}

.admin-center-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 26px 0;
}

.admin-center-stat {
    background: linear-gradient(145deg, rgba(255,255,255,0.98), rgba(248,250,252,0.94));
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.admin-center-stat span {
    display: block;
    color: #64748b;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.admin-center-stat strong {
    display: block;
    margin-top: 8px;
    font-size: 2.1rem;
    line-height: 1;
    color: #0f172a;
}

.admin-center-stat small {
    display: block;
    margin-top: 8px;
    color: #64748b;
    line-height: 1.45;
}

.admin-center-stat.is-system {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.96));
    color: #fff;
}

.admin-center-stat.is-system span,
.admin-center-stat.is-system small,
.admin-center-stat.is-system strong {
    color: #fff;
}

.admin-center-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 22px;
    align-items: start;
}

.admin-center-main,
.admin-center-side {
    display: grid;
    gap: 22px;
}

.admin-center-panel {
    background: rgba(255,255,255,0.98);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 26px;
    padding: 22px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
}

.admin-center-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 18px;
}

.admin-center-panel-head h2,
.admin-center-panel h2 {
    margin: 4px 0 0;
    color: #0f172a;
    font-size: 1.35rem;
}

.admin-center-panel-head a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #0f172a;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.9rem;
}

.admin-center-empty {
    margin: 0;
    color: #64748b;
    background: #f8fafc;
    border: 1px dashed rgba(15, 23, 42, 0.16);
    padding: 18px;
    border-radius: 18px;
}

.admin-center-table-wrap {
    overflow-x: auto;
}

.admin-center-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

.admin-center-table th {
    text-align: left;
    color: #64748b;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.admin-center-table td {
    padding: 14px 12px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.07);
    vertical-align: top;
}

.admin-center-table td strong {
    display: block;
    color: #0f172a;
}

.admin-center-table td small {
    display: block;
    color: #64748b;
    margin-top: 3px;
}

.admin-status {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 900;
    white-space: nowrap;
}

.admin-status.is-good {
    background: #dcfce7;
    color: #166534;
}

.admin-status.is-warn {
    background: #fef3c7;
    color: #92400e;
}

.admin-status.is-bad {
    background: #fee2e2;
    color: #991b1b;
}

.admin-status.is-neutral {
    background: #e2e8f0;
    color: #334155;
}

.admin-actions-inline,
.admin-content-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.admin-actions-inline form,
.admin-content-actions form {
    margin: 0;
}

.admin-actions-inline button,
.admin-content-actions button {
    border: 0;
    border-radius: 999px;
    min-height: 32px;
    padding: 0 12px;
    background: #0f172a;
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

.admin-actions-inline button:hover,
.admin-content-actions button:hover {
    transform: translateY(-1px);
}

.admin-actions-inline button.danger,
.admin-content-actions button.danger {
    background: #991b1b;
}

.admin-content-list {
    display: grid;
    gap: 12px;
}

.admin-content-item {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 16px;
    border-radius: 20px;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.07);
}

.admin-content-item h3 {
    margin: 4px 0 5px;
    font-size: 1.05rem;
    color: #0f172a;
}

.admin-content-item h3 a {
    color: inherit;
    text-decoration: none;
}

.admin-content-item h3 a:hover {
    text-decoration: underline;
}

.admin-content-item p {
    margin: 0;
    color: #64748b;
    line-height: 1.45;
}

.admin-content-type {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    background: #e0f2fe;
    color: #075985;
    font-size: 0.75rem;
    font-weight: 900;
}

.admin-quick-links {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.admin-quick-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.08);
    color: #0f172a;
    text-decoration: none;
    font-weight: 900;
}

.admin-quick-links a::after {
    content: "→";
    color: #64748b;
}

.admin-quick-links a:hover {
    background: #0f172a;
    color: #fff;
}

.admin-quick-links a:hover::after {
    color: #fff;
}

.admin-center-note {
    color: #475569;
    line-height: 1.7;
    margin-bottom: 0;
}

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

    .admin-center-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .admin-center-grid {
        grid-template-columns: 1fr;
    }

    .admin-center-panel-head,
    .admin-content-item {
        flex-direction: column;
    }

    .admin-content-actions {
        align-items: flex-start;
    }
}

/* ============================================================
   Haßmersheim Portal - Benachrichtigungsseite
   ============================================================ */

.hm-notify-page {
    width: min(1180px, calc(100% - 32px));
    margin: 34px auto 60px;
}

.hm-notify-hero {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 22px;
    align-items: stretch;
    padding: 30px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top left, rgba(255,255,255,.22), transparent 34%),
        linear-gradient(135deg, #163a5f, #0d233d);
    color: #fff;
    box-shadow: 0 22px 55px rgba(0,0,0,.14);
}

.hm-notify-kicker {
    margin: 0 0 8px;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    opacity: .82;
    font-weight: 800;
}

.hm-notify-hero h1 {
    margin: 0 0 10px;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.02;
}

.hm-notify-hero p {
    margin: 0;
    max-width: 720px;
    color: rgba(255,255,255,.82);
    font-size: 1.05rem;
}

.hm-notify-hero-card {
    min-width: 160px;
    display: grid;
    place-items: center;
    align-content: center;
    padding: 24px;
    border-radius: 24px;
    background: rgba(255,255,255,.13);
    border: 1px solid rgba(255,255,255,.22);
}

.hm-notify-hero-card strong {
    font-size: 3rem;
    line-height: 1;
}

.hm-notify-hero-card span {
    margin-top: 6px;
    color: rgba(255,255,255,.78);
    font-weight: 700;
}

.hm-notify-flashes {
    margin-top: 18px;
    display: grid;
    gap: 10px;
}

.hm-notify-flash {
    padding: 13px 16px;
    border-radius: 18px;
    font-weight: 800;
    background: #eef6ff;
    color: #17324d;
    border: 1px solid rgba(22,58,95,.12);
}

.hm-notify-flash-success {
    background: #edfdf4;
    color: #125c35;
}

.hm-notify-flash-error {
    background: #fff1f1;
    color: #8b1e1e;
}

.hm-notify-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 18px 0;
}

.hm-notify-stats a {
    text-decoration: none;
    padding: 18px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(20,35,52,.09);
    box-shadow: 0 10px 26px rgba(0,0,0,.06);
    color: #132033;
    display: grid;
    gap: 4px;
}

.hm-notify-stats a strong {
    font-size: 1.8rem;
    line-height: 1;
}

.hm-notify-stats a span {
    color: #667085;
    font-weight: 800;
}

.hm-notify-stats a.is-active {
    border-color: rgba(22,58,95,.32);
    box-shadow: 0 16px 34px rgba(22,58,95,.14);
}

.hm-notify-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    margin: 18px 0;
}

.hm-notify-search {
    flex: 1;
    display: flex;
    gap: 10px;
}

.hm-notify-search input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(20,35,52,.13);
    background: #fff;
    font: inherit;
}

.hm-notify-search button,
.hm-notify-mark-all,
.hm-notify-actions button,
.hm-notify-open {
    border: 0;
    padding: 12px 15px;
    border-radius: 16px;
    background: #163a5f;
    color: #fff;
    font-weight: 900;
    cursor: pointer;
    text-decoration: none;
    font: inherit;
    line-height: 1.1;
}

.hm-notify-mark-all {
    background: #0f766e;
}

.hm-notify-list {
    display: grid;
    gap: 14px;
}

.hm-notify-item {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 16px;
    padding: 20px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(20,35,52,.09);
    box-shadow: 0 14px 34px rgba(0,0,0,.06);
}

.hm-notify-item.is-unread {
    border-color: rgba(22,58,95,.34);
    box-shadow: 0 18px 40px rgba(22,58,95,.12);
}

.hm-notify-icon {
    width: 48px;
    height: 48px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: #163a5f;
    color: #fff;
    font-weight: 1000;
}

.hm-notify-item.is-read .hm-notify-icon {
    background: #e8eef5;
    color: #163a5f;
}

.hm-notify-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.hm-notify-type {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    background: #eef4fb;
    color: #163a5f;
    font-size: .8rem;
    font-weight: 900;
}

.hm-notify-top time {
    color: #667085;
    font-size: .9rem;
    font-weight: 700;
}

.hm-notify-content h2 {
    margin: 0 0 8px;
    font-size: 1.16rem;
    color: #132033;
}

.hm-notify-content p {
    margin: 0;
    color: #475467;
    line-height: 1.55;
}

.hm-notify-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.hm-notify-actions form {
    margin: 0;
}

.hm-notify-actions button {
    background: #eef4fb;
    color: #163a5f;
}

.hm-notify-open {
    display: inline-flex;
    align-items: center;
    background: #163a5f;
}

.hm-notify-empty {
    padding: 28px;
    border-radius: 24px;
    background: #fff;
    border: 1px dashed rgba(20,35,52,.20);
    text-align: center;
    color: #475467;
}

.hm-notify-empty strong {
    display: block;
    color: #132033;
    font-size: 1.25rem;
    margin-bottom: 8px;
}

@media (max-width: 760px) {
    .hm-notify-page {
        width: min(100% - 20px, 1180px);
        margin-top: 18px;
    }

    .hm-notify-hero {
        grid-template-columns: 1fr;
        padding: 22px;
    }

    .hm-notify-hero-card {
        min-width: 0;
    }

    .hm-notify-stats {
        grid-template-columns: 1fr;
    }

    .hm-notify-toolbar,
    .hm-notify-search {
        flex-direction: column;
        align-items: stretch;
    }

    .hm-notify-item {
        grid-template-columns: 1fr;
    }
}

/* Haßmersheim Portal - Profil: Benachrichtigungston */
.hm-profile-sound-card {
    margin-top: 24px;
    border: 1px solid rgba(15, 23, 42, .08);
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, .10), transparent 34%),
        linear-gradient(135deg, rgba(255,255,255,.98), rgba(248,250,252,.96));
}

.hm-profile-sound-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.hm-profile-sound-head h2 {
    margin: 0 0 8px;
}

.hm-profile-sound-head p {
    margin: 0;
    color: #64748b;
}

.hm-sound-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 126px;
    padding: 9px 12px;
    border-radius: 999px;
    font-weight: 800;
    font-size: .86rem;
    white-space: nowrap;
    border: 1px solid rgba(15, 23, 42, .08);
}

.hm-sound-status-on {
    color: #166534;
    background: #dcfce7;
}

.hm-sound-status-muted {
    color: #92400e;
    background: #fef3c7;
}

.hm-sound-status-off {
    color: #475569;
    background: #f1f5f9;
}

.hm-profile-sound-form {
    display: grid;
    gap: 12px;
}

.hm-sound-choice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 15px;
    border: 1px solid rgba(15, 23, 42, .09);
    border-radius: 18px;
    background: rgba(255,255,255,.82);
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.hm-sound-choice:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(15, 23, 42, .08);
    border-color: rgba(37, 99, 235, .28);
}

.hm-sound-choice input {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    accent-color: #2563eb;
}

.hm-sound-choice strong {
    display: block;
    color: #0f172a;
    margin-bottom: 3px;
}

.hm-sound-choice small {
    display: block;
    color: #64748b;
    line-height: 1.45;
}

.hm-profile-sound-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}

.hm-profile-sound-note {
    margin: 4px 0 0;
    color: #64748b;
    font-size: .92rem;
}

@media (max-width: 720px) {
    .hm-profile-sound-head {
        display: grid;
    }

    .hm-sound-status {
        justify-self: start;
    }
}

/* Benachrichtigungston-Testseite */
.hm-sound-test-page {
    display: grid;
    gap: 1.5rem;
}

.hm-sound-test-hero {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 1.25rem;
}

.hm-sound-status-card {
    min-width: 220px;
    border-radius: 24px;
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(255,255,255,.95), rgba(255,255,255,.72));
    border: 1px solid rgba(148, 163, 184, .35);
    box-shadow: 0 20px 50px rgba(15, 23, 42, .10);
    display: grid;
    align-content: center;
    gap: .35rem;
}

.hm-sound-status-card span {
    color: #64748b;
    font-size: .9rem;
    font-weight: 700;
}

.hm-sound-status-card strong {
    color: #0f172a;
    font-size: 1.4rem;
}

.hm-sound-message.success {
    border-color: rgba(34, 197, 94, .35);
    background: rgba(240, 253, 244, .9);
    color: #166534;
    font-weight: 800;
}

.hm-sound-card {
    display: grid;
    gap: 1rem;
}

.hm-sound-options {
    display: grid;
    gap: .8rem;
}

.hm-sound-option {
    display: flex;
    align-items: flex-start;
    gap: .8rem;
    padding: 1rem;
    border-radius: 20px;
    border: 1px solid rgba(148, 163, 184, .32);
    background: rgba(255,255,255,.82);
    cursor: pointer;
}

.hm-sound-option.active {
    border-color: rgba(37, 99, 235, .45);
    box-shadow: 0 16px 34px rgba(37, 99, 235, .12);
}

.hm-sound-option input {
    margin-top: .25rem;
}

.hm-sound-option span {
    display: grid;
    gap: .2rem;
}

.hm-sound-option strong {
    color: #0f172a;
}

.hm-sound-option small {
    color: #64748b;
    line-height: 1.45;
}

.hm-sound-note {
    border-radius: 18px;
    padding: 1rem;
    background: rgba(255, 247, 237, .9);
    border: 1px solid rgba(251, 146, 60, .28);
    color: #9a3412;
    line-height: 1.55;
}

.hm-sound-links,
.hm-profile-sound-testlink {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.hm-sound-links a {
    font-weight: 800;
    color: #2563eb;
    text-decoration: none;
}

.hm-sound-links a:hover {
    text-decoration: underline;
}

@media (max-width: 760px) {
    .hm-sound-test-hero {
        flex-direction: column;
    }

    .hm-sound-status-card {
        min-width: 0;
    }
}
