@props([ 'title', 'teaser', 'company', 'industry', 'region', 'date', 'contentType' => 'FACHMELDUNG', // ANALYSE, INTERVIEW, FACHMELDUNG 'slug', 'imageUrl' => null, ]) @php // Map industry to Heroicon $industryIcons = [ 'IT & Digitalisierung' => 'cpu-chip', 'Industrie & Technik' => 'cog-6-tooth', 'Finanzen & Versicherungen' => 'currency-dollar', 'Handel & E-Commerce' => 'shopping-cart', 'Bauen & Immobilien' => 'building-office', 'Mobilität & Logistik' => 'truck', 'Energie & Umwelt' => 'bolt', 'Medizin & Gesundheit' => 'heart', 'Personal & HR' => 'user-group', 'Marketing, PR & Medien' => 'megaphone', 'Recht & Steuern' => 'scale', 'Politik, Verbände & NGOs' => 'flag', 'Wissenschaft & Forschung' => 'beaker', 'Lifestyle' => 'sparkles', 'Tourismus & Kultur' => 'globe-alt', ]; $iconName = $industryIcons[$industry] ?? 'building-office'; $iconPath = "/heroicons/optimized/24/outline/{$iconName}.svg"; // Content Type Badge Classes $contentTypeClasses = match ($contentType) { 'ANALYSE' => 'bg-[var(--color-primary)] text-white', 'INTERVIEW' => 'bg-[var(--color-secondary)] text-white', default => 'bg-white/95 text-[var(--color-primary)] border border-[var(--color-primary)]/20', }; $badgeExtraClasses = $imageUrl ? 'shadow-md backdrop-blur-sm' : 'shadow-sm'; @endphp
@if ($imageUrl) {{-- Card mit Bild --}}
{{ $title }} {{-- Content Type Label --}}
{{ $contentType }}
{{-- Content --}}
{{-- Meta Info --}}
{{ $industry }}
{{ $industry }}
{{-- Title --}}

{{ $title }}

{{-- Teaser --}}

{{ $teaser }}

{{-- Company Footer --}}
{{ $company }}
@else {{-- Card ohne Bild - Textbasiert mit farbigem Hintergrund --}}
{{-- Content Type Label --}}
{{ $contentType }}
{{-- Meta Info --}}
{{ $industry }}
{{ $industry }}
{{-- Title - Prominenter ohne Bild --}}

{{ $title }}

{{-- Teaser as Quote/Highlight --}}
{{ $teaser }}
{{-- Company Footer --}}
{{ $company }}
@endif