/* ==========================================================================
   1. THEMATIC BRAND OVERRIDES (Agrar Page)
   ========================================================================== */

body.agrar {
    --primary-light: #44bdd2;
    --accent: #44bdd2;
    --accent-hover: rgba(161, 221, 236, 0.64);
    --accent-rgb: 68, 189, 210; /* RGB values for agricultural theme */
}

/* ==========================================================================
   2. AGRAR LANDING SECTION
   ========================================================================== */

.agrar-landing {
    padding: 6rem 0;
    background-color: var(--white);
}

.agrar-landing-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

/* Text & Typography */
.agrar-landing-text {
    flex: 1;
}

.agrar-landing-title {
    font-size: 4rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1rem;
    line-height: 1.2;
    text-align: left;
}

.agrar-landing-title .highlight {
    font-size: 5rem;
    display: inline-block;
}

.agrar-landing-subtitle {
    font-size: 1.5rem;
    color: var(--gray-dark);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.agrar-landing-description {
    color: var(--gray-text);
}

.agrar-landing-description p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Images & Media */
.agrar-landing-images {
    flex: 1;
}

/* ==========================================================================
   3. ACTION AREA (ported from home) - scoped for Agrar page
   ========================================================================== */

/* Section background with image + dark overlay */
.action-area { position: relative; background: url('assets/images/startseite/background_valvoline.jpg') center/cover no-repeat, #0c3b6f; }
.action-area::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0.35); }

/* Layout */
.action-area .action-content { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 120px 0; }
.action-content { display: flex; align-items: center; gap: 40px; }

/* Text */
.action-text { flex: 1; color: var(--white); }
.action-text h2 { text-align: left; margin-bottom: 20px; color: var(--primary); }
.action-area .action-headline { margin: 0 0 16px; font-weight: 800; text-transform: uppercase; line-height: 1.05; font-size: 2.5rem; }
.action-area .action-headline .line { display: block; }
.action-area .action-headline .line-1 { color: #088cc7; }
.action-area .action-headline .line-2 { color: #e51c24; }
.action-area .action-headline .line-3 { color: #ffffff; }
.action-area .action-body { color: #ffffff; max-width: 60ch; margin-bottom: 24px; }

/* Image */
.action-image { flex: 1; }
.action-area .action-image img { width: 100%; max-width: 520px; height: auto; display: block; }
.winter-image { width: 100%; border-radius: var(--radius); }

/* CTA Buttons (reuse global, add red variant) */
.cta-button { background-color: var(--accent); color: var(--white); padding: 12px 24px; border-radius: var(--radius); font-weight: 500; transition: background-color 0.3s ease; display: inline-block; }
.cta-button:hover { background-color: var(--accent-hover); }
.action-area .cta-button { transition: none; }
.action-area .cta-button:hover { background-color: var(--accent); transform: none; box-shadow: none; }
.action-area .cta-button--red { background-color: #e51c24; color: #fff; padding: 10px 18px; font-size: 0.95rem; border-radius: 8px; }
.action-area .cta-button--red:hover { background-color: #c61e26; }

/* Mobile adjustments */
@media (max-width: 1024px) {
  .action-content { flex-direction: column; }
}
@media (max-width: 768px) {
  .action-area { padding: 64px 0; }
  .action-area .action-content { flex-direction: column; align-items: center; text-align: center; gap: 24px; padding: 0; }
  .action-area .action-image { order: -1; }
  .action-area .action-headline { font-size: 26px; }
  .action-area .cta-button--red { padding: 12px 20px; font-size: 1rem; }
}

/* ==========================================================================
   4. RESPONSIVE ADJUSTMENTS
   ========================================================================== */

/* Tablet / Desktop Small */
@media (max-width: 992px) {
    .agrar-landing-content {
        flex-direction: column;
        gap: 40px;
    }

    .agrar-landing-text,
    .agrar-landing-images {
        width: 100%;
    }

    /* Adjust collage height within agricultural context */
    body.agrar .image-collage {
        height: 400px;
    }
}

/* Mobile Large */
@media (max-width: 768px) {
    .agrar-landing {
        padding: 4rem 0;
    }

    .agrar-landing-title {
        font-size: 3.3rem;
        text-align: left;
    }

    .agrar-landing-title .highlight {
        font-size: 4.1rem;
    }

    .agrar-landing-subtitle {
        font-size: 1.3rem;
    }

    body.agrar .image-collage {
        height: 350px;
    }
}

/* Mobile Small */
@media (max-width: 576px) {
    .agrar-landing-title {
        font-size: 2.7rem;
        text-align: left;
    }

    .agrar-landing-title .highlight {
        font-size: 3.4rem;
    }

    .agrar-landing-subtitle {
        font-size: 1.1rem;
    }

    body.agrar .image-collage {
        height: 300px;
    }
}