/* =========================================
   PFLEGE-WISSEN - WEBTOOLS
========================================= */

.pwt-main {
    width: 100%;
}

/* HERO */

.pwt-hero {
    background: #ffffff;
    padding: 64px 0 58px;
    border-bottom: 1px solid var(--pf-container-border);
}

.pwt-hero-layout {
    display: flex;
    align-items: center;
    gap: 34px;
    max-width: 980px;
}

.pwt-hero-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pwt-hero-icon i {
    font-size: 110px;
    color: var(--pf-header-bg);
    opacity: .95;
    text-shadow: 0 2px 6px rgba(0,0,0,.12);
}

.pwt-hero-content h1 {
    margin: 0 0 18px;
    color: var(--pf-text);
    font-size: clamp(36px, 4vw, 54px);
    line-height: 1.05;
    letter-spacing: -.04em;
}

.pwt-hero-content p {
    margin: 0;
    max-width: 760px;
    color: var(--pf-text-soft);
    font-size: 17px;
    line-height: 1.65;
}

/* SECTION */

.pwt-section {
    width: 100%;
}

.pwt-section--tools {
    background: var(--pf-page-bg);
    padding: 44px 0 58px;
}

.pwt-section-head {
    margin-bottom: 24px;
}

.pwt-section-head h2 {
    margin: 0 0 4px;
    color: var(--pf-text);
    font-size: 22px;
    line-height: 1.25;
}

.pwt-section-head p {
    margin: 0;
    color: var(--pf-text-muted);
    font-size: 14px;
}

/* TOOL CARDS */

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

.pwt-tool-card {
    min-height: 430px;
    display: flex;
    flex-direction: column;
    padding: 26px;
    background: var(--pf-container-bg);
    border: 1px solid var(--pf-container-border);
    border-radius: var(--pf-radius);
    color: inherit;
    text-decoration: none;
    box-shadow: var(--pf-shadow);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.pwt-tool-card:hover {
    border-color: #cfd8dc;
    box-shadow: 0 6px 16px rgba(0,0,0,.09);
    text-decoration: none;
    transform: translateY(-2px);
}

.pwt-tool-title {
    margin: 0;
    padding-bottom: 16px;
    border-bottom: 1px solid #e6ebef;
    color: var(--pf-text);
    font-size: 23px;
    line-height: 1.18;
    letter-spacing: -.02em;
}

.pwt-tool-image {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 210px;
    padding: 22px 0 18px;
}

.pwt-tool-image picture {
    display: block;
    width: 220px;
    max-width: 100%;
}

.pwt-tool-image img {
    display: block;
    width: 100%;
    height: auto;
}

.pwt-tool-description {
    margin: 0;
    color: #34495e;
    font-size: 14px;
    line-height: 1.65;
}

.pwt-tool-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: auto;
    padding-top: 22px;
}

.pwt-card-link {
    flex-shrink: 0;
    color: var(--pf-header-bg);
    font-size: 14px;
    font-weight: 700;
}

.pwt-tool-card:hover .pwt-card-link {
    color: var(--pf-header-bg-active);
}

/* CARD META / VERSION */

.pwt-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.pwt-version-badge,
.pwt-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 9px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.pwt-version-badge {
    background: #e8f2fb;
    border: 1px solid #b9d7ef;
    color: #174f87;
}

.pwt-status-badge.stable {
    background: #e5f6e8;
    border: 1px solid #7fc184;
    color: #1f6f2a;
}

.pwt-status-badge.beta {
    background: #fff4bf;
    border: 1px solid #d8b23f;
    color: #6f5200;
}

.pwt-status-badge.development {
    background: #fff0e5;
    border: 1px solid #f0bf97;
    color: #c25b00;
}

/* INACTIVE CARDS */

.pwt-tool-card--inactive {
    opacity: .60;
    cursor: default;
}

.pwt-tool-card--inactive .pwt-tool-title,
.pwt-tool-card--inactive .pwt-tool-description {
    color: #6c757d;
}

.pwt-tool-card--inactive:hover {
    border-color: var(--pf-container-border);
    box-shadow: var(--pf-shadow);
    transform: none;
}

.pwt-tool-card--inactive .pwt-card-link {
    color: var(--pf-text-muted);
}