/* =====================================================
   INVESTITIONEN.CSS – AWA Investment Group
   Premium Light Glassmorphism · ByKine Style
   ===================================================== */

/* ===== PAGE HERO (Invest) ===== */
.invest-hero {
    padding: 8rem 0 6rem;
    background: #0f0f0f;
    position: relative;
    overflow: hidden;
    min-height: 42vh;
    display: flex;
    align-items: center;
}

/* hero.png Hintergrundbild mit Blur – identisch zu ueber-uns */
.invest-hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/hero.png');
    background-size: cover;
    background-position: center 30%;
    filter: blur(4px) brightness(0.35);
    transform: scale(1.06);
    z-index: 0;
}

/* Goldener Gradient-Overlay */
.invest-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.55) 100%),
        radial-gradient(ellipse at 25% 60%, rgba(201,168,76,0.18) 0%, transparent 55%);
    z-index: 1;
    pointer-events: none;
}

.invest-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.page-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-light) !important;
    background: rgba(201,168,76,0.12) !important;
    border: 1px solid rgba(201,168,76,0.35) !important;
    padding: 0.38rem 0.9rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.4rem;
}

.invest-hero h1 {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: white !important;
    margin-bottom: 1.2rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.invest-hero h1 .gold {
    background: linear-gradient(135deg, var(--gold-light), var(--gold)) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    font-weight: 300 !important;
}

.invest-hero p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.72) !important;
    font-weight: 300;
    line-height: 1.72;
    margin-bottom: 2.4rem;
    max-width: 620px;
    text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
    .invest-hero { min-height: 35vh; padding: 6rem 0 4rem; }
    .invest-hero h1 { font-size: 2.4rem !important; }
}


/* ===== STATS SECTION ===== */
.stats-section {
    background: white;
    border-bottom: 1px solid rgba(0,0,0,0.07);
    border-top: 1px solid rgba(0,0,0,0.07);
}

.stats-grid {
    display: flex;
    align-items: stretch;
}

.stat-item {
    flex: 1;
    text-align: center;
    padding: 2.8rem 2rem;
    border-right: 1px solid rgba(0,0,0,0.07);
    transition: background 0.3s;
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: #fffcf5; }

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1;
    margin-bottom: 0.4rem;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.stat-divider { display: none; } /* handled by border-right */

/* ===== INVESTMENT AREA ===== */
.invest-area {
    padding: 7rem 0;
    background: var(--off-white);
    position: relative;
    overflow: hidden;
}

.invest-area-alt {
    background: white;
}

.invest-area::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 0% 100%, rgba(201,168,76,0.06) 0%, transparent 55%);
    pointer-events: none;
}

.invest-split {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 2rem 5rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

/* Image left, text right */
.invest-split:not(.reverse) .invest-visual { grid-column: 1; grid-row: 1 / span 2; }
.invest-split:not(.reverse) .invest-text-header { grid-column: 2; grid-row: 1; }
.invest-split:not(.reverse) .invest-text-footer { grid-column: 2; grid-row: 2; }

/* Image right, text left */
.invest-split.reverse .invest-visual { grid-column: 2; grid-row: 1 / span 2; }
.invest-split.reverse .invest-text-header { grid-column: 1; grid-row: 1; }
.invest-split.reverse .invest-text-footer { grid-column: 1; grid-row: 2; }

.invest-visual { position: relative; }

.invest-image {
    width: 100%;
    height: 500px;
    border-radius: var(--radius-xl);
    background-size: cover;
    background-position: center;
    box-shadow: 0 32px 80px rgba(0,0,0,0.14), 0 6px 20px rgba(0,0,0,0.08);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.invest-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(255,255,255,0.12) 0%, transparent 40%);
    border-radius: inherit;
}
.invest-image:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 48px 100px rgba(0,0,0,0.18), 0 10px 28px rgba(0,0,0,0.1);
}

.hotels-bg    { background-image: url('../images/pillar_hotels.png'); }
.realestate-bg { background-image: url('../images/pillar_real_estate.png'); }

/* Float badge */
.invest-float-badge {
    position: absolute;
    bottom: -1.2rem;
    left: -1.2rem;
    background: var(--glass-white);
    backdrop-filter: blur(24px) saturate(1.8);
    -webkit-backdrop-filter: blur(24px) saturate(1.8);
    color: var(--gold-dark);
    padding: 0.85rem 1.3rem;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    font-size: 0.88rem;
    border: 1px solid rgba(255,255,255,0.8);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}
.invest-float-badge.right { left: auto; right: -1.2rem; }
.invest-float-badge svg { flex-shrink: 0; }

/* Invest label (eyebrow) */
.invest-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-dark);
    background: var(--gold-alpha-8);
    border: 1px solid var(--gold-alpha-25);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    margin-bottom: 0.9rem;
}

.invest-text-header h2 {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.15;
    color: var(--text-dark);
    margin-bottom: 1.2rem;
}
.invest-text-header h2 .gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 300;
}

.invest-text-header p {
    font-size: 0.97rem;
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.72;
    margin-bottom: 0.9rem;
}

/* Features */
.invest-features {
    margin: 1.8rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.invest-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.2rem 1.3rem;
    border-radius: var(--radius-lg);
    background: var(--glass-white);
    border: 1px solid rgba(255,255,255,0.7);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    backdrop-filter: blur(12px);
    transition: all 0.3s var(--ease);
}
.invest-feature:hover {
    background: white;
    box-shadow: 0 8px 28px rgba(201,168,76,0.1);
    border-color: var(--gold-alpha-25);
    transform: translateX(4px);
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--gold-alpha-8);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--gold-dark);
    transition: var(--transition);
}
.invest-feature:hover .feature-icon {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: white;
    box-shadow: 0 6px 16px var(--gold-alpha-25);
}
.feature-icon svg { width: 20px; height: 20px; }

.invest-feature strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.97rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
    letter-spacing: -0.01em;
}
.invest-feature span {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.5;
}

/* ===== WHY INVEST ===== */
.why-invest {
    padding: 7rem 0;
    background: var(--off-white);
    position: relative;
    overflow: hidden;
}

.why-invest::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 100% 50%, rgba(201,168,76,0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 0% 0%, rgba(201,168,76,0.05) 0%, transparent 40%);
    pointer-events: none;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.15;
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}
.section-title .gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 300;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 1;
    margin-top: 3rem;
}

.why-card {
    background: var(--glass-white);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.75);
    border-radius: var(--radius-xl);
    padding: 2.2rem 1.8rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: all 0.35s var(--ease);
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-dark));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease);
    border-radius: var(--radius-full) var(--radius-full) 0 0;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(201,168,76,0.12), 0 6px 20px rgba(0,0,0,0.06);
    background: white;
    border-color: var(--gold-alpha-25);
}
.why-card:hover::before { transform: scaleX(1); }

.why-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.2;
    margin-bottom: 0.8rem;
    line-height: 1;
    transition: opacity 0.3s;
}
.why-card:hover .why-number { opacity: 1; }

.why-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-dark);
    margin-bottom: 0.6rem;
}
.why-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.6;
}

/* ===== CTA SECTION ===== */
.invest-cta {
    padding: 7rem 0;
    background: var(--dark);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.invest-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(201,168,76,0.12) 0%, transparent 55%),
        radial-gradient(ellipse at 70% 50%, rgba(201,168,76,0.06) 0%, transparent 50%);
    pointer-events: none;
}

.invest-cta-inner {
    max-width: 680px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.invest-cta h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.12;
    color: white;
    margin-bottom: 1rem;
}
.invest-cta h2 .gold {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 300;
}

.invest-cta p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.55);
    font-weight: 300;
    margin-bottom: 2.4rem;
    line-height: 1.65;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline-light {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.85);
    padding: 0.95rem 2.4rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    transition: all 0.3s var(--ease);
    background: transparent;
}
.btn-outline-light:hover {
    border-color: var(--gold-alpha-40);
    color: var(--gold-light);
    transform: translateY(-2px);
    background: rgba(201,168,76,0.06);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .invest-split,
    .invest-split.reverse { display: flex; flex-direction: column; gap: 3rem; }
    .invest-image { height: 380px; }
    .invest-float-badge,
    .invest-float-badge.right { left: 1rem; right: auto; bottom: -0.8rem; }
}

@media (max-width: 820px) {
    .invest-hero { padding: 5.5rem 0 4rem; }
    .invest-hero h1 { font-size: 2.8rem; }
    .stats-section {}
    .stats-grid { flex-wrap: wrap; }
    .stat-item { min-width: 50%; border-bottom: 1px solid rgba(0,0,0,0.07); }
    .stat-item:nth-child(odd) { border-right: 1px solid rgba(0,0,0,0.07); }
    .stat-item:nth-last-child(-n+2) { border-bottom: none; }
    .invest-area { padding: 4rem 0; }
    .invest-split { flex-direction: column; gap: 2rem; }
    .invest-text-header { text-align: center; }
    .invest-image { height: 320px; }
    .section-title { font-size: 2rem; }
    .invest-cta h2 { font-size: 2.1rem; }
    .invest-cta { padding: 5rem 0; }
}

@media (max-width: 640px) {
    .invest-hero h1 { font-size: 2.2rem; }
    .stat-item { min-width: 100%; border-right: none !important; }
    .why-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 1.75rem; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .invest-cta h2 { font-size: 1.8rem; }
}
