﻿/* =========================
   HERO LAYOUT
========================= */

.retrofit-eco-hero {
    position: relative;
    height: 90vh; /* fast voller Viewport */
    min-height: 720px;
    background-image: url("/img/slogan.png"); /* dein Fan Visual */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
}

/* Dunkles Overlay für Lesbarkeit */
.retrofit-eco-hero-overlay {
    flex: 1;
    background: radial-gradient( ellipse at center, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.75) 70% );
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================
   HERO CONTENT
========================= */

.retrofit-eco-hero-content {
    max-width: 1100px;
    padding: 0 24px;
    text-align: center;
}

/* =========================
   TYPOGRAPHY
========================= */

.retrofit-eco-hero-title {
    font-family: "Orbitron", system-ui, sans-serif;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    line-height: 1.05;
    color: #E6F6FF;
    margin-bottom: 24px;
}

/* Subtitle */
.retrofit-eco-hero-subtitle {
    max-width: 820px;
    margin: 0 auto 40px auto;
    color: rgba(230, 246, 255, 0.85);
    font-size: 1.05rem;
}

/* =========================
   CTA BUTTON
========================= */

.retrofit-eco-hero-cta {
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    transition: all 0.3s ease; /* sanfte Animation für Hover */
    cursor: pointer;
}

    .retrofit-eco-hero-cta:hover {
        transform: scale(1.05);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15), 0 0 12px var(--mud-palette-primary);
        background-color: rgba(0, 230, 255, 0.12);
        color: var(--mud-palette-text-primary) !important;
    }

.retrofit-eco-hero-cta-2 {
    font-size: 1.2em;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
    /*color: var(--mud-palette-text-primary);*/
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; /* nur die wichtigen Eigenschaften animieren */
}

    .retrofit-eco-hero-cta-2:hover {
        background: rgba(255, 255, 255, 0.2);
        color: #ffffff;
        transform: scale(1.03);
        box-shadow: 0 6px 16px rgba(0,0,0,0.15), 0 0 12px var(--mud-palette-primary);
        border-color: var(--mud-palette-primary);
    }


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 960px) {
    .retrofit-eco-hero {
        height: 100vh;
        min-height: unset;
    }

    .retrofit-eco-hero-title {
        font-size: 1.6rem;
        letter-spacing: 0.08em;
    }

    .retrofit-eco-hero-subtitle {
        font-size: 0.95rem;
    }
}










/* =========================
   NAV LINKS
========================= */

.retrofit-eco-nav-link-resources {
    font-size: 1.4rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(230, 246, 255, 0.85);
}

    .retrofit-eco-nav-link-resources:hover {
        color: var(--cyan-primary);
    }

.retrofit-eco-nav-link {
    font-size: 1.4rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-right: 8px;
    color: rgba(230, 246, 255, 0.85);
}

    .retrofit-eco-nav-link:hover {
        color: var(--cyan-primary);
    }

/* =========================
   MENU ICON
========================= */

.retrofit-eco-menu-icon {
    /*margin: 0 8px;*/
}

    .retrofit-eco-menu-icon:hover {
        color: var(--cyan-primary) !important;
    }

/* =========================
   LOGIN BUTTON
========================= */

.retrofit-eco-login-btn {
    margin-left: 4px;
    margin-right: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 500;
}

/* =========================
   CONTACT BUTTON
========================= */

.retrofit-eco-contact-btn {
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mud-palette-text-primary);
}

/* =========================
   MOBILE (optional later)
========================= */

@media (max-width: 960px) {
    .retrofit-eco-nav-link,
    .retrofit-eco-login-btn {
        display: none;
    }
}



.retrofit-eco-slogan:hover {
    cursor: pointer;
}







/* =========================
   GLASS BUTTON
========================= */

.retrofit-eco-glass-btn {
    padding: 5px 15px;
    margin: 0px 12px;
    position: relative;
    overflow: visible;
    /* Glass body */
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    color: white;
    border-radius: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

    /* Subtle inner reflection */
    .retrofit-eco-glass-btn::before {
        content: "";
        position: absolute;
        inset: 1px;
        border-radius: inherit;
        background: linear-gradient( 120deg, rgba(255,255,255,0.35), rgba(255,255,255,0.04) 55% );
        opacity: 0.25;
        pointer-events: none;
    }

    /* =========================
   BORDER GLOW ONLY (Hover)
========================= */

    .retrofit-eco-glass-btn:hover {
        color: var(--mud-palette-primary);
        border-color: var(--mud-palette-primary);
        box-shadow: 0 0 0 1px var(--mud-palette-primary), 0 0 14px rgba(var(--mud-palette-primary-rgb), 0.45), 0 0 28px rgba(var(--mud-palette-primary-rgb), 0.25);
    }

        /* Keep background unchanged */
        .retrofit-eco-glass-btn:hover::before {
            opacity: 0.28;
        }

    /* =========================
   ACTIVE / FOCUS
========================= */

    .retrofit-eco-glass-btn:focus-visible {
        outline: none;
        box-shadow: 0 0 0 2px rgba(var(--mud-palette-primary-rgb), 0.6), 0 0 32px rgba(var(--mud-palette-primary-rgb), 0.35);
    }








/* =========================
   PROBLEM CARDS
========================= */

.qpc-problem-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    text-align: center;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

    .qpc-problem-card:hover {
        border-color: rgba(var(--mud-palette-primary-rgb), 0.25);
        transform: translateY(-4px);
    }

/* =========================
   ICON STYLE
========================= */

.qpc-problem-icon {
    font-size: 40px; /* groß & ruhig */
    color: rgba(230, 246, 255, 0.65);
}

/* optional: sehr subtiler Accent beim Hover */
.qpc-problem-card:hover .qpc-problem-icon {
    color: rgba(var(--mud-palette-primary-rgb), 0.85);
    filter: drop-shadow( 0 0 8px rgba(var(--mud-palette-primary-rgb), 0.35) );
}

.qpc-icon-card {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(230, 246, 255, 0.18);
    border-radius: 12px;
    cursor: pointer;
    margin-bottom: 16px;
}




.qpc-problem-item {
    position: relative;
    padding-top: 32px; /* mehr Abstand zwischen Icon & Card */
    text-align: center;
}

.qpc-problem-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;

  transition:
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.35s ease;
}

.qpc-problem-item:hover .qpc-problem-card {
    border-color: rgba(var(--mud-palette-primary-rgb), 0.25);
    transform: translateY(-4px);
}

.qpc-problem-icon-floating {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -60%); /* höher gezogen */

    font-size: 48px;
    color: rgba(230, 246, 255, 0.65);
    background: rgba(15,17,20,0.85);
    border-radius: 50%;
    padding: 12px;
    border: 1px solid rgba(255,255,255,0.08);
    transition: color 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}


.qpc-problem-item:hover .qpc-problem-card {
    border-color: rgba(var(--mud-palette-primary-rgb), 0.35);
    transform: translateY(-4px);
    box-shadow: 0 0 0 1px rgba(var(--mud-palette-primary-rgb), 0.35), 0 0 18px rgba(var(--mud-palette-primary-rgb), 0.35), 0 0 36px rgba(var(--mud-palette-primary-rgb), 0.18);
}

.qpc-problem-item:hover .qpc-problem-icon-floating {
    color: rgba(var(--mud-palette-primary-rgb), 0.9);
    border-color: rgba(var(--mud-palette-primary-rgb), 0.6);
    box-shadow: 0 0 0 1px rgba(var(--mud-palette-primary-rgb), 0.6), 0 0 18px rgba(var(--mud-palette-primary-rgb), 0.45), 0 0 36px rgba(var(--mud-palette-primary-rgb), 0.25);
}


/*.retrofit-eco-fan-configurator {
    width: 100%;
}*/

/* Grid-Höhe bewusst NICHT 100vh → Section, kein Hero */
/*.retrofit-eco-fan-configurator__grid {
    min-height: 520px;
}*/

/* Linke Seite */
/*.retrofit-eco-fan-configurator__left {
    padding: 48px 64px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--cyan-primary);
    color: #071017;
}*/

/* Badge */
/*.retrofit-eco-fan-configurator__badge {
    display: inline-block;
    background: #071017;
    color: var(--cyan-primary);
    padding: 6px 10px;
    border-radius: 4px;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.08em;
    font-size: 0.7rem;
    margin-bottom: 24px;
}*/

/* Titel */
/*.retrofit-eco-fan-configurator__title {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 2.2rem;
    line-height: 1.05;
}*/

/* Footer */
/*.retrofit-eco-fan-configurator__footer {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}*/

/* Beschreibung */
/*.retrofit-eco-fan-configurator__description {
    max-width: 420px;
    font-size: 0.75rem;
    color: rgba(7, 16, 23, 0.85);
}*/

/* CTA */
/*.retrofit-eco-fan-configurator__cta {
    background: #ffffff;
    color: #071017 !important;
    border-color: rgba(7, 16, 23, 0.15) !important;
    font-weight: 700;
}*/

/* Rechte Bildseite */
/*.retrofit-eco-fan-configurator__image {
    height: 100%;
    min-height: 520px;
    background-size: cover;
    background-position: center;
}*/

/* Responsive Feinschliff */
/*@media (max-width: 960px) {
    .retrofit-eco-fan-configurator__left {
        padding: 32px;
    }

    .retrofit-eco-fan-configurator__title {
        font-size: 1.8rem;
    }
}*/


.retrofit-eco-design-fan {
    width: 100%;
}

/* Grid: beide items sollen gleich hoch sein */
.retrofit-eco-design-fan__grid {
    min-height: 360px; /* Sektionhöhe — anpassen oder entfernen, wenn höhe dynamisch */
}

/* LEFT: kein padding für den Hintergrund — Content bekommt gezielt Abstand */
.retrofit-eco-design-fan__left {
    padding: 12px;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--cyan-primary);
    color: #071017;
}

/* Header: kontrollierter innerer Abstand (kein Padding auf Container) */
.retrofit-eco-design-fan__header {
    padding: 20px 32px 0 32px; /* nur Text bekommt Abstand */
}

.retrofit-eco-design-fan__badge {
    display: inline-block;
    background: #071017;
    color: var(--cyan-primary);
    padding: 6px 10px;
    border-radius: 4px;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.08em;
    font-size: 0.7rem;
    margin: 0 0 12px 0;
}

.retrofit-eco-design-fan__title {
    margin: 0;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 2.2rem;
    line-height: 1.05;
}

/* Footer: am unteren Rand kleben */

.retrofit-eco-design-fan__footer {
    margin-top: auto;
    padding: 0 32px 18px 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px; /* Abstand Text ↔ Button */
}

.retrofit-eco-design-fan__description {
    max-width: 420px;
    font-size: 0.75rem;
    color: rgba(7,16,23,0.85);
    margin-bottom: 12px;
}

/*.retrofit-eco-design-fan__cta {
    background: #ffffff;
    color: #071017 !important;
    border-color: rgba(7,16,23,0.12) !important;
    font-weight: 700;
}*/

.retrofit-eco-design-fan__cta {
    background: #ffffff;
    color: #071017 !important;
    border: 1px solid rgba(7,16,23,0.12) !important;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 6px;
    transition: all 0.3s ease; /* für sanfte Animation */
}

    .retrofit-eco-design-fan__cta:hover {
        background: #071017; /* dunkler Hintergrund auf Hover */
        color: #ffffff !important; /* Text hell auf dunklem Hintergrund */
        transform: scale(1.05); /* leichte Vergrößerung */
        box-shadow: 0 4px 12px rgba(0,0,0,0.1); /* subtiler Schatten */
        cursor: pointer;
    }

/* RIGHT: Bild füllt die komplette Spalte und skaliert mit container */
.retrofit-eco-design-fan__image {
    height: 100%;
    min-height: 0; /* nicht unnötig groß zwingen */
    display: block;
}

    /* Das ist der Trick: img füllt die Zelle und object-fit sorgt für korrektes Zuschneiden */
    .retrofit-eco-design-fan__image img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* skaliert und beschneidet falls nötig */
        display: block;
    }

/* Responsive: kleinere Screens → Bild unter Text */
@media (max-width: 960px) {
    .retrofit-eco-design-fan__header {
        padding: 20px;
    }

    .retrofit-eco-design-fan__footer {
        padding: 0 20px 20px 20px;
    }

    .retrofit-eco-design-fan__title {
        font-size: 1.8rem;
    }

    .retrofit-eco-design-fan__grid {
        min-height: 360px;
    }
}









.retrofit-eco-footer {
    background: #071017;
    padding: 16px 0;
    border-top: 1px solid rgba(255,255,255,0.08); /* visuelle Trennung */
    font-size: 0.7rem;
}

/* Legal Links */
.retrofit-eco-footer__legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center; /* 🔑 gleiche Höhe wie Icons */
    gap: 16px;
}

    .retrofit-eco-footer__legal a {
        color: rgba(255,255,255,0.65);
        text-transform: uppercase;
        letter-spacing: 0.08em;
    }

        .retrofit-eco-footer__legal a:hover {
            color: #00f7b8;
        }

/* Copyright */
.retrofit-eco-footer__copyright {
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.05em;
}

/* Social */
.retrofit-eco-footer__social {
    display: flex;
    justify-content: flex-end;
    align-items: center; /* 🔑 Baseline-Alignment */
    gap: 6px;
}

.retrofit-eco-footer .mud-icon-button {
    color: rgba(255,255,255,0.55);
}

    .retrofit-eco-footer .mud-icon-button:hover {
        color: #00f7b8;
    }

/* Mobile */
@media (max-width: 960px) {
    .retrofit-eco-footer__social {
        justify-content: flex-start;
        margin-top: 12px;
    }
}


/*.successstories-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 16px;
    align-items: stretch;*/ /* alle Cards gleich hoch */
/*}

.successstory-card {
    width: 320px;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    height: 380px;*/ /* hier habe ich die Card-Höhe leicht reduziert */
    /*cursor: pointer;
}

    .successstory-card .mud-card-media {
        flex-shrink: 0;*/ /* Bild bleibt fix */
    /*}

    .successstory-card .mud-card-content {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;*/ /* Text oben ausrichten */
    /*}*/

.successstory-card {
    max-width: 420px;
    display: flex;
    flex-direction: column;
}


/* Kompakte Pfeile für Carousel */
.compact-carousel .mud-carousel-prev,
.compact-carousel .mud-carousel-next {
    width: 30px;
    height: 30px;
    top: calc(50% - 15px); /* mittig */
}

/* Optional: Pfeile näher an die Card rücken */
.compact-carousel .mud-carousel-prev {
    left: -15px;
}

.compact-carousel .mud-carousel-next {
    right: -15px;
}

.successstory-card {
    display: flex;
    flex-direction: column;
}


/* =========================
   APPLICATION TYPE PICKER
   (Projektplanung → Neue Applikation)
========================= */

.retrofit-type-card {
    cursor: pointer;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

    .retrofit-type-card:hover {
        border-color: rgba(var(--mud-palette-primary-rgb), 0.55);
        transform: translateY(-2px);
        box-shadow: 0 0 18px rgba(var(--mud-palette-primary-rgb), 0.18);
    }

.retrofit-type-card--selected {
    border-color: var(--mud-palette-primary);
    box-shadow: 0 0 0 1px var(--mud-palette-primary), 0 0 16px rgba(var(--mud-palette-primary-rgb), 0.35);
}

.retrofit-type-card__icon-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* =========================
   METRIC CARD (ROI)
========================= */

.metric-card {
    min-height: 120px;
    display: flex;
    flex-direction: column;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.metric-card--accent {
    border-color: var(--mud-palette-primary);
    box-shadow: 0 0 14px rgba(var(--mud-palette-primary-rgb), 0.22);
}