/* =========================================
   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: 18px;
}

.pwt-tool-card {
    min-height: 250px;
    display: flex;
    flex-direction: column;
    padding: 24px;
    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;
}

.pwt-tool-card:hover {
    border-color: #cfd8dc;
    box-shadow: 0 4px 10px rgba(0,0,0,.08);
    text-decoration: none;
}

.pwt-tool-card > i {
    margin-bottom: 18px;
    font-size: 34px;
}

.pwt-tool-card h3 {
    margin: 0 0 10px;
    color: var(--pf-text);
    font-size: 22px;
    line-height: 1.25;
}

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

.pwt-card-link {
    margin-top: auto;
    padding-top: 20px;
    color: var(--pf-header-bg);
    font-size: 14px;
    font-weight: 700;
}

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

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

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

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

/* STATUS */

.pwt-status {
    display: inline-flex;
    align-self: flex-start;
    margin-top: 14px;
    padding: 3px 8px;
    border-radius: var(--pf-radius);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
}

.pwt-status-version {
    background: var(--pf-status-blue-bg);
    border: 1px solid var(--pf-status-blue-border);
    color: var(--pf-status-blue-text);
}

.pwt-status-development {
    background: var(--pf-status-yellow-bg);
    border: 1px solid var(--pf-status-yellow-border);
    color: var(--pf-status-yellow-text);
}

/* MOBILE */

@media (max-width: 980px) {
    .pwt-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .pwt-hero-layout {
        flex-direction: column;
        text-align: center;
        gap: 22px;
    }

    .pwt-hero-icon {
        width: 82px;
        min-width: 82px;
        height: 82px;
    }

    .pwt-hero-icon i {
        font-size: 40px;
    }
}