/* ============================================================
   Eingangsroste – Product Showcase Page
   ============================================================ */

/* ─── Variables ────────────────────────────────────────────── */
:root {
    --er-orange:      #EE780E;
    --er-orange-dk:   #d4690b;
    --er-dark:        #1e2022;
    --er-dark-2:      #2c3e50;
    --er-border:      #e5e9ef;
    --er-bg:          #f7f8fa;
    --er-r:           14px;
    --er-shadow:      0 4px 20px rgba(0,0,0,0.09);
    --er-shadow-h:    0 10px 36px rgba(238,120,14,0.24);
}

/* ─── Resets for this page ────────────────────────────────── */
.eingangsroste-page {
    overflow-x: hidden;
}

/* ─── HERO ────────────────────────────────────────────────── */
.er-hero {
    position: relative;
    min-height: 540px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: 4px solid #EE780E;
}

.er-hero__bg {
    position: absolute;
    inset: 0;
    background-image: url('../../../../../images/losungen/gitterrosten/gitterroste-02.jpg');
    background-size: cover;
    background-position: center 35%;
    background-attachment: fixed;
}

.er-hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10,12,20,0.88) 0%,
        rgba(30,40,60,0.74) 60%,
        rgba(10,12,20,0.5) 100%
    );
}

.er-hero__inner {
    position: relative;
    z-index: 1;
    padding: 100px 20px 80px;
    max-width: 780px;
}

.er-hero__kicker {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--er-orange);
    margin-bottom: 18px;
}

.er-hero__title {
    font-size: clamp(2.2rem, 5.5vw, 3.6rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 18px;
    text-shadow: 0 2px 12px rgba(0,0,0,.45);
}

.er-hero__sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,.84);
    line-height: 1.7;
    max-width: 640px;
    margin-bottom: 36px;
}

.er-hero__btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 52px;
}

.er-hero__btn-ghost {
    background: transparent;
    border: 2px solid rgba(255,255,255,.45);
    color: #fff !important;
    text-decoration: none;
}

.er-hero__btn-ghost:hover {
    background: rgba(255,255,255,.1);
    border-color: #fff;
    color: #fff !important;
    text-decoration: none;
}

/* stats strip */
.er-hero__stats {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
    row-gap: 12px;
}

.er-hero__stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 24px 0 0;
}

.er-hero__stat-num {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.er-hero__stat-label {
    font-size: .72rem;
    color: rgba(255,255,255,.55);
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-top: 3px;
}

.er-hero__stat-sep {
    width: 1px;
    height: 32px;
    background: rgba(255,255,255,.2);
    margin: 0 24px 0 0;
    flex-shrink: 0;
}

@media (max-width: 767.98px) {
    .er-hero__bg { background-attachment: scroll; }
    .er-hero__inner { padding: 70px 16px 60px; }
    .er-hero__stat-sep { display: none; }
    .er-hero__stat { padding: 0 16px 0 0; }
}

/* ─── Section common ──────────────────────────────────────── */
.er-section {
    padding: 72px 0;
}

.er-section--light {
    background: var(--er-bg);
}

/* ─── Intro / text section ────────────────────────────────── */
.er-intro-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.er-intro-wrap__text h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--er-dark);
    margin: 0 0 20px;
}

.er-intro-wrap__text p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 14px;
}

.er-intro-wrap__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    font-weight: 700;
    font-size: .95rem;
}

.er-intro-wrap__gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 991.98px) {
    .er-intro-wrap {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .er-intro-wrap__gallery {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 575.98px) {
    .er-intro-wrap__gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* legacy intro — kept for backward compat */
.er-intro-content {
    max-width: 100%;
}

.er-intro-content h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--er-dark);
    margin-bottom: 20px;
}

.er-intro-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 14px;
}

.er-link {
    color: var(--er-orange);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid rgba(238,120,14,.3);
    transition: border-color .2s;
}

.er-link:hover {
    border-color: var(--er-orange);
    color: var(--er-orange);
    text-decoration: none;
}

/* ─── Intro photo gallery ─────────────────────────────────── */
.er-intro-gallery__item,
.er-intro-wrap__gallery figure {
    margin: 0;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 4 / 3;
}

.er-intro-gallery__item img,
.er-intro-wrap__gallery figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
    display: block;
}

.er-intro-gallery__item:hover img,
.er-intro-wrap__gallery figure:hover img {
    transform: scale(1.05);
}

.er-section-head {
    text-align: center;
    margin-bottom: 48px;
}

.er-section-head h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--er-dark);
    margin: 0 0 12px;
}

.er-section-sub {
    font-size: 1rem;
    color: #666;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.65;
}

.er-kicker {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--er-orange);
    margin-bottom: 10px;
}

/* ─── Product Cards ───────────────────────────────────────── */
.er-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.er-product-grid--6 {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 991.98px) {
    .er-product-grid { grid-template-columns: 1fr 1fr; }
    .er-product-grid--6 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 575.98px) {
    .er-product-grid { grid-template-columns: 1fr; }
    .er-product-grid--6 { grid-template-columns: 1fr; }
}

/* ─── Variant grid (small cards, 6-up) ───────────────────── */
.er-var-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 1199.98px) {
    .er-var-grid { grid-template-columns: repeat(3, 1fr); max-width: 100%; }
}

@media (max-width: 575.98px) {
    .er-var-grid { grid-template-columns: repeat(2, 1fr); }
}

.er-var-card {
    background: #fff;
    border: 1px solid var(--er-border);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    transition: transform .25s ease, box-shadow .25s ease;
}

.er-var-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(238,120,14,.18);
}

.er-var-card__img-wrap {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f0f0f0;
}

.er-var-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.er-var-card:hover .er-var-card__img-wrap img {
    transform: scale(1.06);
}

.er-var-card .er-prod-card__badge {
    position: absolute;
    top: 8px;
    left: 8px;
    font-size: .65rem;
    padding: 3px 8px;
}

.er-var-card__title {
    font-size: .78rem;
    font-weight: 600;
    color: var(--er-dark);
    line-height: 1.4;
    padding: 10px 12px;
    margin: 0;
    text-align: center;
}

.er-prod-card {
    background: #fff;
    border: 1px solid var(--er-border);
    border-radius: var(--er-r);
    overflow: hidden;
    box-shadow: var(--er-shadow);
    display: flex;
    flex-direction: column;
    transition: transform .28s cubic-bezier(.22,1,.36,1),
                box-shadow .28s ease;
}

.er-prod-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--er-shadow-h);
}

.er-prod-card__img-wrap {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f0f0f0;
}

.er-prod-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s cubic-bezier(.22,1,.36,1);
    display: block;
}

.er-prod-card:hover .er-prod-card__img {
    transform: scale(1.07);
}

.er-prod-card__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--er-orange);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 4px 11px;
    border-radius: 100px;
}

.er-prod-card__badge--industry {
    background: var(--er-dark-2);
}

.er-prod-card__body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.er-prod-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--er-dark);
    margin: 0 0 10px;
}

.er-prod-card__desc {
    font-size: .9rem;
    color: #555;
    line-height: 1.65;
    margin-bottom: 16px;
}

.er-prod-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    flex: 1;
}

.er-prod-card__features li {
    font-size: .83rem;
    color: #555;
    padding: 5px 0 5px 22px;
    position: relative;
    border-bottom: 1px solid var(--er-bg);
}

.er-prod-card__features li::before {
    content: '\f00c';
    font-family: FontAwesome;
    position: absolute;
    left: 0;
    top: 6px;
    color: var(--er-orange);
    font-size: .75rem;
}

.er-prod-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .85rem;
    font-weight: 700;
    color: var(--er-orange);
    text-decoration: none;
    border-top: 1px solid var(--er-border);
    padding-top: 16px;
    margin-top: auto;
    transition: gap .2s ease, color .2s ease;
}

.er-prod-card__cta:hover {
    color: var(--er-orange-dk);
    gap: 12px;
    text-decoration: none;
}

/* ─── Split section ───────────────────────────────────────── */
.er-split {
    padding: 80px 0;
}

.er-split__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 767.98px) {
    .er-split__row {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.er-split__figure {
    margin: 0;
    border-radius: var(--er-r);
    overflow: hidden;
    box-shadow: var(--er-shadow);
}

.er-split__figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 4/3;
}

.er-split__text-col h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--er-dark);
    margin-bottom: 16px;
}

.er-split__text-col p {
    color: #555;
    line-height: 1.75;
    margin-bottom: 14px;
}

.er-split__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.er-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(238,120,14,.08);
    border: 1px solid rgba(238,120,14,.25);
    color: var(--er-orange);
    font-size: .8rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 100px;
}

/* ─── Specs grid ──────────────────────────────────────────── */
.er-specs-wrap {
    background: #fff;
    border-radius: var(--er-r);
    border: 1px solid var(--er-border);
    box-shadow: var(--er-shadow);
    overflow: hidden;
}

.er-specs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 991.98px) {
    .er-specs-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 575.98px) {
    .er-specs-grid { grid-template-columns: repeat(2, 1fr); }
}

.er-spec-item {
    padding: 18px 20px;
    border-right: 1px solid var(--er-border);
    border-bottom: 1px solid var(--er-border);
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: background .18s ease;
}

.er-spec-item:hover {
    background: rgba(238,120,14,.04);
}

.er-spec-item__label {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #999;
}

.er-spec-item__value {
    font-size: .95rem;
    font-weight: 600;
    color: var(--er-dark);
}

/* ─── Two-column section ──────────────────────────────────── */
.er-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.er-two-col h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--er-dark);
    margin-bottom: 24px;
}

@media (max-width: 767.98px) {
    .er-two-col { grid-template-columns: 1fr; gap: 40px; }
}

/* Applications list */
.er-app-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.er-app-row {
    padding: 12px 16px;
    background: var(--er-bg);
    border-radius: 8px;
    border-left: 3px solid var(--er-orange);
    transition: background .18s ease;
}

.er-app-row:hover {
    background: rgba(238,120,14,.07);
}

.er-app-row strong {
    font-size: .9rem;
    color: var(--er-dark);
    font-weight: 700;
}

/* USP cards */
.er-usps {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.er-usp {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.er-usp__icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--er-orange), var(--er-orange-dk));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.er-usp__icon i {
    color: #fff;
    font-size: 1.1rem;
}

.er-usp > div strong {
    font-size: .95rem;
    font-weight: 700;
    color: var(--er-dark);
    display: block;
    margin-bottom: 4px;
}

.er-usp > div p {
    font-size: .84rem;
    color: #666;
    margin: 0;
    line-height: 1.55;
}

/* ─── CTA Band ────────────────────────────────────────────── */
.er-cta-band {
    background: linear-gradient(135deg, var(--er-dark) 0%, var(--er-dark-2) 100%);
    padding: 72px 0;
}

.er-cta-box-large {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 56px;
}

.er-cta-box-large h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 14px;
}

.er-cta-lead {
    font-size: 1.05rem;
    color: rgba(255,255,255,.75);
    line-height: 1.7;
    margin-bottom: 32px;
}

.er-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.er-cta-contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    border-top: 1px solid rgba(255,255,255,.12);
    padding-top: 48px;
    text-align: center;
}

@media (max-width: 767.98px) {
    .er-cta-contact-info { grid-template-columns: 1fr; gap: 28px; }
}

.er-cta-contact-col i {
    color: var(--er-orange);
    margin-bottom: 14px;
    display: block;
}

.er-cta-contact-col h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.er-cta-contact-col p {
    font-size: .88rem;
    color: rgba(255,255,255,.6);
    line-height: 1.65;
    margin: 0;
}

.er-cta-contact-col a {
    color: rgba(255,255,255,.85);
    text-decoration: none;
    transition: color .2s;
}

.er-cta-contact-col a:hover {
    color: var(--er-orange);
    text-decoration: none;
}

.er-cta-band__tel {
    background: transparent;
    border: 2px solid rgba(255,255,255,.4);
    color: #fff !important;
    text-decoration: none;
}

.er-cta-band__tel:hover {
    background: rgba(255,255,255,.1);
    border-color: #fff;
    color: #fff !important;
    text-decoration: none;
}

/* ─── Anwendungsbereiche ──────────────────────────────────── */
.er-text-muted {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-top: 20px;
    margin-bottom: 0;
}

.er-anwendung-wrap {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 60px;
    align-items: start;
}

.er-anwendung-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.er-anwendung-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

@media (max-width: 767.98px) {
    .er-anwendung-wrap {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* ─── Info-Box (Richtlinien callout) ──────────────────────── */
.er-info-box {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(238,120,14,.07);
    border-left: 4px solid var(--er-orange);
    border-radius: 0 10px 10px 0;
    padding: 18px 22px;
    margin-top: 24px;
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
}

.er-info-box > i {
    color: var(--er-orange);
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 3px;
}

/* ─── Specs Table ─────────────────────────────────────────── */
.er-specs-table-wrap {
    background: #fff;
    border-radius: var(--er-r);
    border: 1px solid var(--er-border);
    box-shadow: var(--er-shadow);
    overflow: hidden;
    max-width: 820px;
    margin: 0 auto;
}

.er-specs-table-wrap--inline {
    max-width: none;
    margin: 0;
}

.er-specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .92rem;
}

.er-specs-table tbody tr {
    border-bottom: 1px solid var(--er-border);
    transition: background .15s ease;
}

.er-specs-table tbody tr:last-child {
    border-bottom: none;
}

.er-specs-table tbody tr:hover {
    background: rgba(238,120,14,.04);
}

.er-specs-table th {
    width: 42%;
    padding: 14px 20px;
    text-align: left;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #888;
    background: var(--er-bg);
    border-right: 1px solid var(--er-border);
    vertical-align: top;
}

.er-specs-table td {
    padding: 14px 20px;
    font-weight: 600;
    color: var(--er-dark);
    vertical-align: top;
}

@media (max-width: 575.98px) {
    .er-specs-table th,
    .er-specs-table td {
        padding: 11px 14px;
        font-size: .82rem;
    }
    .er-specs-table th {
        width: 46%;
    }
}
