91 lines
4.8 KiB
PHP
91 lines
4.8 KiB
PHP
<section class="section-padding bg-accent">
|
|
<div class="container-padding">
|
|
<div class="text-center mb-16">
|
|
<h2 class="text-section-title text-foreground mb-6">
|
|
{!! $content['title'] !!}
|
|
</h2>
|
|
<p class="text-large text-muted-foreground max-w-3xl mx-auto">
|
|
{{ $content['subtitle'] }}
|
|
</p>
|
|
</div>
|
|
|
|
<div class="grid md:grid-cols-3 gap-8 mb-16">
|
|
@foreach ($content['steps'] as $index => $step)
|
|
<div class="card-elevated p-0 overflow-hidden group hover:shadow-elevated transition-all duration-300">
|
|
<div class="relative overflow-hidden">
|
|
<img src="{{ asset('img/assets/' . $step['image']) }}" alt="{{ $step['title'] }}"
|
|
class="w-full h-64 object-cover group-hover:scale-105 transition-transform duration-300" />
|
|
<div
|
|
class="absolute inset-0 bg-gradient-to-t from-black/60 via-transparent to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-300">
|
|
</div>
|
|
|
|
{{-- Step Number Badge --}}
|
|
<div
|
|
class="absolute top-4 left-4 w-12 h-12 rounded-full bg-secondary text-white flex items-center justify-center font-bold text-lg">
|
|
{{ $step['step'] }}
|
|
</div>
|
|
</div>
|
|
|
|
<div class="p-8">
|
|
<div class="flex items-center gap-3 mb-4">
|
|
<div class="w-10 h-10 rounded-lg bg-secondary/10 flex items-center justify-center">
|
|
@if ($step['icon'] === 'file-text')
|
|
<svg class="w-5 h-5 text-secondary" fill="none" stroke="currentColor"
|
|
viewBox="0 0 24 24">
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
|
|
d="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z">
|
|
</path>
|
|
</svg>
|
|
@elseif($step['icon'] === 'search')
|
|
<svg class="w-5 h-5 text-secondary" fill="none" stroke="currentColor"
|
|
viewBox="0 0 24 24">
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
|
|
d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"></path>
|
|
</svg>
|
|
@else
|
|
<svg class="w-5 h-5 text-secondary" fill="none" stroke="currentColor"
|
|
viewBox="0 0 24 24">
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
|
|
d="M13 10V3L4 14h7v7l9-11h-7z"></path>
|
|
</svg>
|
|
@endif
|
|
</div>
|
|
<h3 class="text-2xl font-medium text-foreground">
|
|
{{ $step['title'] }}
|
|
</h3>
|
|
</div>
|
|
|
|
<p class="text-muted-foreground leading-relaxed mb-6">
|
|
{{ $step['description'] }}
|
|
</p>
|
|
|
|
@if ($index === count($content['steps']) - 1)
|
|
<a href="/contact">
|
|
<button class="btn-secondary-accent w-full">
|
|
Jetzt starten
|
|
</button>
|
|
</a>
|
|
@endif
|
|
</div>
|
|
</div>
|
|
@endforeach
|
|
</div>
|
|
|
|
{{-- CTA Section --}}
|
|
<div class="text-center">
|
|
<div class="card-elevated p-12 rounded-3xl bg-gradient-to-br from-secondary/10 to-secondary/5">
|
|
<h3 class="text-3xl font-light text-foreground mb-6">
|
|
{!! $content['cta']['title'] !!}
|
|
</h3>
|
|
<p class="text-large text-muted-foreground mb-8 max-w-2xl mx-auto">
|
|
{{ $content['cta']['subtitle'] }}
|
|
</p>
|
|
<a href="{{ $content['cta']['button_link'] }}">
|
|
<button class="btn-primary-accent">
|
|
{{ $content['cta']['button_text'] }}
|
|
</button>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|