/* ============================================
   HIGHLIGHT CARDS – angepasst an Dark-Theme
   ============================================ */

html, body {
    margin: 0;
    background-color: #111111;
}

/* Textauswahl */
::selection {
    background-color: #dc4141;
    color: white;
}

/* ── Section-Wrapper ── */
.highlight-container {
    width: 100%;
    background-color: #111111;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: min(5em, 8%) 0;
}

/* Optionaler Section-Header */
.highlight-header {
    text-align: center;
    padding: 5rem 2rem 0;
    max-width: 1100px;
    margin: 0 auto;
}

.highlight-header-label {
    display: inline-block;
    background: rgb(220, 65, 65);
    color: #ffffff;
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 0.45rem 1.3rem;
    border-radius: 50px;
    margin-bottom: 1.2rem;
}

.highlight-header h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 4vw, 3rem);
    color: #ffffff;
    margin: 0 0 0.8rem;
}

.highlight-header p {
    font-family: 'Segoe UI', sans-serif;
    font-size: 1rem;
    color: #888888;
    margin: 0;
}

/* ── Grid ── */
.section-container {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    justify-items: center;
    align-items: stretch;
    place-content: center;
    padding: min(5em, 8%);
    padding-top: 3rem !important;
    max-width: 1400px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* ── Card ── */
.card {
    background-color: #1e1e1e;
    border: 1px solid #3a1010;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

/* ── Bild ── */
.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.card:hover img {
    transform: scale(1.04);
    transition: 500ms;
}

.card img:hover {
    transform: scale(1.1);
    transition: 500ms;
}

/* ── Textbereich ── */
.row {
    padding: 1.2rem 1.3rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
}

/* ── Überschrift ── */
.row h4 {
    margin: 6px 0 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: clamp(1.1rem, 1.8vw, 1.35rem);
    text-align: center;
    color: #ffffff;
    font-weight: 700;
}

/* ── Text ── */
.row p {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: clamp(0.88rem, 1.3vw, 1rem);
    line-height: 1.65;
    color: #888888;
    text-align: justify;
}

/* ── Button ── */
.card a {
    display: inline-block;
    border: 1px solid #6b1c1c;
    border-radius: 6px;
    padding: 11px 18px;
    margin-top: auto;
    margin-bottom: 0.3rem;
    align-self: center;
    text-decoration: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: rgb(220, 65, 65);
    font-size: 0.9rem;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    width: 90%;
    text-align: center;
    box-sizing: border-box;
}

.card a:hover {
    background-color: rgb(220, 65, 65);
    border-color: rgb(220, 65, 65);
    color: #ffffff;
}

/* ── Roter Balken oben beim Hover ── */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgb(220, 65, 65);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    z-index: 2;
}

.card:hover::before {
    transform: scaleX(1);
}

/* ── Hover ── */
.card:hover {
    transform: translateY(-5px);
    border-color: rgb(220, 65, 65);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .section-container {
        grid-template-columns: 1fr;
        padding: 2rem 1.2rem 3rem;
    }

    .card {
        width: 100%;
        max-width: 500px;
        justify-self: center;
    }

    .row p {
        text-align: left;
    }
}