/* ===============================
   Partner & Verbände
   Alle Klassen beginnen mit es-
   =============================== */

.es-links {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    font-family: Arial, Helvetica, sans-serif;
}

.es-links h2 {
    text-align: center;
    margin-bottom: 15px;
    color: #003b73;
}

.es-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 35px;
    color: #555;
    line-height: 1.6;
}


/* ===============================
   GRID
   =============================== */

.es-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}


/* ===============================
   KARTE
   =============================== */

.es-card {
    position: relative;

    display: flex;
    flex-direction: column;

    min-height: 180px;
    box-sizing: border-box;

    padding: 20px;
    padding-right: 80px;

    text-decoration: none;
    color: #333;

    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;

    overflow: hidden;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


/* Hover */
.es-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.10);
}


/* ===============================
   LOGO
   klein und oben rechts
   =============================== */

.es-logo {
    position: absolute;

    top: 12px;
    right: 12px;

    width: 45px;
    height: 35px;

    object-fit: contain;
    object-position: center;

    margin: 0;
}


/* ===============================
   KARTENINHALT
   =============================== */

.es-card-content {
    display: flex;
    flex-direction: column;

    flex: 1;
}


/* Überschrift */

.es-card h3 {
    color: #005aa7;

    margin: 0 0 12px;

    font-size: 1.2rem;

    line-height: 1.3;
}


/* Beschreibung */

.es-card p {
    margin: 0 0 15px;

    line-height: 1.5;
}


/* ===============================
   WEBSITE-BUTTON
   immer unten
   =============================== */

.es-website {
    display: inline-block;

    margin-top: auto;

    background: #005aa7;
    color: #ffffff;

    padding: 10px 18px;

    border-radius: 30px;

    font-weight: bold;
    text-align: center;

    transition: background 0.2s ease;
}

.es-card:hover .es-website {
    background: #0075d4;
}


/* ===============================
   KATEGORIEN – PASTELLTÖNE
   =============================== */


/* Standard */

.es-card {
    background: #ffffff;
}


/* Verband – Pastellblau */

.es-card-verband {
    background: #eaf4ff;
    border-color: #b9d8f5;
}


/* Service – Pastellgelb */

.es-card-service {
    background: #fff9e6;
    border-color: #f0dda3;
}


/* Jugend – Pastelllila */

.es-card-jugend {
    background: #f5edff;
    border-color: #d8bff0;
}


/* Hersteller – Pastellgrün */

.es-card-hersteller {
    background: #edf8ef;
    border-color: #b9dfc0;
}


/* Shops – Pastellorange */

.es-card-shops {
    background: #fff1e8;
    border-color: #f1c6a8;
}


/* Eisstockbahnen – Pastelltürkis */

.es-card-eisstockbahnen {
    background: #e9f8f7;
    border-color: #b7dedb;
}


/* Auswertungsprogramme – Pastellblau/Violett */

.es-card-auswertungsprogramme {
    background: #eef0ff;
    border-color: #c4c9ed;
}


/* Wissenswertes – Pastellgrau */

.es-card-wissenswertes {
    background: #f4f4f4;
    border-color: #d6d6d6;
}


/* ===============================
   HOVER – Pastelltöne
   =============================== */

.es-card-verband:hover {
    background: #e2f0ff;
}

.es-card-service:hover {
    background: #fff6d9;
}

.es-card-jugend:hover {
    background: #f1e5ff;
}

.es-card-hersteller:hover {
    background: #e5f5e8;
}

.es-card-shops:hover {
    background: #ffeadc;
}

.es-card-eisstockbahnen:hover {
    background: #e0f4f2;
}

.es-card-auswertungsprogramme:hover {
    background: #e7eaff;
}

.es-card-wissenswertes:hover {
    background: #eeeeee;
}


/* ===============================
   FAIRPLAY
   =============================== */

.es-fairplay {
    margin-top: 45px;

    background: #eef6ff;
    border-left: 6px solid #005aa7;

    padding: 22px;

    border-radius: 10px;
}

.es-fairplay h3 {
    margin-top: 0;
    color: #005aa7;
}

.es-fairplay p {
    margin-bottom: 0;
    line-height: 1.7;
}


/* ===============================
   SMARTPHONE
   =============================== */

@media (max-width: 700px) {

    .es-links {
        padding: 15px;
    }

    .es-card {
        min-height: 170px;
        padding: 18px;
        padding-right: 70px;
    }

    .es-card h3 {
        font-size: 1.1rem;
    }

    .es-logo {
        top: 10px;
        right: 10px;

        width: 40px;
        height: 30px;
    }
}
