@extends('web.layouts.web-master') @section('title', ($project['title'] ?? 'Exposé') . ' - B2in Immobilien') @section('meta_description', ($project['investment_case']['text'] ?? 'Exklusives Off-Market-Immobilienprojekt in Dubai – jetzt Exposé ansehen.')) @section('content')
{{-- 1. Hero --}}
@if (isset($project['status'])) {{ $project['status'] }} @if (isset($project['launch_date'])) ({{ $project['launch_date'] }}) @endif @endif

{{ $project['title'] ?? '' }}

@if (isset($project['location']))

{{ $project['location'] }}

@endif @if (isset($project['price_from']))

{{ $project['price_from'] }}

@endif
{{-- 2. Quick Facts --}} {{-- Editierbar über CMS je Projekt --}} @if (!empty($project['quick_facts']))
@foreach ($project['quick_facts'] as $fact)
@if (isset($fact['icon'])) @switch($fact['icon']) @case('home-modern') @break @case('squares-2x2') @break @case('building-office-2') @break @case('user') @break @endswitch @endif

{{ $fact['label'] ?? '' }}

{{ $fact['value'] ?? '' }}

@endforeach
@endif {{-- 3. Investment Case --}} @if (!empty($project['investment_case']))

{{ $project['investment_case']['title'] ?? '' }}

{{ $project['investment_case']['text'] ?? '' }}

@if (!empty($project['investment_case']['views']))

Verfügbare Views:

@foreach ($project['investment_case']['views'] as $view) {{ $view }} @endforeach
@endif @if (!empty($project['highlights']))
    @foreach ($project['highlights'] as $highlight)
  • {{ $highlight }}
  • @endforeach
@endif
@endif {{-- 4. Bildergalerie --}} @if (!empty($project['gallery']))

Galerie

@foreach ($project['gallery'] as $index => $image)
@endforeach
{{-- Lightbox (via x-teleport ins body, umgeht alle Eltern-Constraints) --}}
@endif {{-- 5. Trust-Block: Investorenschutz (pro Projekt im CMS, siehe investor_trust) --}} @php $trust = $project['investor_trust'] ?? []; $trustColumns = $trust['columns'] ?? []; @endphp @if (! empty($trust['title']) || count($trustColumns) > 0)
@if (! empty($trust['title']) || ! empty($trust['intro']))
@if (! empty($trust['title']))

{{ $trust['title'] }}

@endif @if (! empty($trust['intro']))

{{ $trust['intro'] }}

@endif
@endif @if (count($trustColumns) > 0)
@foreach ($trustColumns as $col)
@if (! empty($col['icon'])) @svg($col['icon'], 'w-7 h-7') @endif

{{ $col['title'] ?? '' }}

{{ $col['text'] ?? '' }}

@endforeach
@endif @if (! empty($trust['cta_url']) && ! empty($trust['cta_label'])) @endif
@endif {{-- 6. Location & Map --}} @if (!empty($project['location_info']))

{{ $project['location_info']['title'] ?? '' }}

@if (!empty($project['location_info']['points']))
    @foreach ($project['location_info']['points'] as $point)
  • {{ $point }}
  • @endforeach
@endif @if (isset($project['location_info']['map_url'])) @endif
@endif {{-- Möbel-Vorteil / Synergie (pro Projekt: furniture_benefit; Fallback: Theme-Config) --}} @php $moebelVorteil = $project['furniture_benefit'] ?? []; if (empty($moebelVorteil) || (empty($moebelVorteil['title'] ?? null) && empty($moebelVorteil['text'] ?? null))) { $moebelVorteil = cms_theme_section('immobilien_moebel_vorteil'); } @endphp @if (! empty($moebelVorteil))

{!! $moebelVorteil['title'] ?? '' !!}

{{ $moebelVorteil['text'] ?? '' }}

@if (! empty($moebelVorteil['button_text'] ?? null)) @endif
@endif {{-- 7. Lead-Generierung / Kontakt --}} @if (!empty($project['contact']))

{{ $project['contact']['title'] ?? '' }}

@if (isset($project['contact']['subtitle']))

{{ $project['contact']['subtitle'] }}

@endif
@endif
@endsection @push('styles') @endpush