Files
LarsandClaude Opus 5.5 d42c42059c Titelvideo, Rundgang mit Kapiteln, naechste freie Termine, ruhigere Buchungsseite
- Webseite > Videos (Datei, Standbild, Kapitel mit Raum im Grundriss); Upload bis 100 MB
- Titelbereich: Video statt Foto (stumme Schleife, respektiert Bewegung reduzieren/Save-Data)
  und naechste freie Termine mit Gesamtpreis (NextFreeStays)
- Neuer Baustein Rundgang (Video) mit waehlbarer Anordnung; Grundriss springt ins Video
- Buchungsseite: Preis unter dem Kalender, Formular rechts, Ablauf als Grafik
- Seebad: Fahrkarten, Fahrplan-Kapitel, Sonnenaufgang als einmaliges Ereignis

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 11:01:52 +01:00

57 lines
4.1 KiB
PHP

<section class="mx-auto flex max-w-7xl flex-wrap items-stretch gap-x-12 gap-y-7 px-4 pt-2 pb-6 sm:px-8" aria-labelledby="{{ $sectionId }}-title">
<div class="relative flex min-w-0 flex-[999_1_28rem] flex-col p-2">
@if ($video ?? null)
@include('theme::partials.video-loop', ['video' => $video, 'class' => 'arch block h-[21rem] w-full object-cover sm:h-[30rem] lg:h-full lg:min-h-[38rem]', 'wrapperClass' => 'lg:flex-1', 'buttonClass' => 'absolute right-5 bottom-5'])
@else
@include('theme::partials.image', ['photo' => $photo, 'sizes' => '(min-width: 1024px) 60vw, 100vw', 'class' => 'arch h-[21rem] w-full object-cover sm:h-[30rem] lg:h-auto lg:min-h-[38rem] lg:flex-1', 'eager' => true])
@endif
<span class="keystone" aria-hidden="true"></span>
</div>
<div class="flex min-w-0 flex-[1_1_24rem] flex-col justify-center gap-6">
@if ($eyebrow)<p class="eyebrow mb-0">{{ $eyebrow }}</p>@endif
<h1 id="{{ $sectionId }}-title" class="font-display text-[2.5rem] leading-[1.06] font-normal tracking-[-0.01em] sm:text-[3.25rem] lg:text-[3.75rem]">{{ str_replace('*', '', $title) }}</h1>
@if ($text)<p class="max-w-[36ch] text-lg text-muted sm:text-xl">{{ $text }}</p>@endif
@if ($featuredOffer ?? null)
<a href="{{ $featuredOffer->bookingUrl() }}" class="flex items-center gap-4 rounded-md border border-accent bg-surface p-4 hover:bg-accent/5">
<span class="rounded bg-accent px-2.5 py-1 font-semibold whitespace-nowrap text-accent-ink">{{ $featuredOffer->advantage }}</span>
<span>
<strong class="block">{{ $featuredOffer->title }}</strong>
@if ($featuredOffer->arrival)
<span class="text-muted">{{ $featuredOffer->arrival->format('d.m.') }} bis {{ $featuredOffer->departure->format('d.m.') }}</span>
@endif
</span>
</a>
@endif
@include('theme::partials.free-stays', ['freeStays' => $freeStays ?? []])
@if ($showSearch)
<form action="{{ route('booking.create') }}" method="get" data-availability-search aria-label="Verfügbarkeit prüfen"
class="relative grid grid-cols-2 items-end gap-3.5 border-2 border-ink bg-surface p-5 pt-7 sm:p-7 sm:pt-8">
<span class="absolute -top-0.5 -left-0.5" aria-hidden="true">@include('theme::partials.motif', ['slot' => 'bracket', 'class' => 'size-9'])</span>
<span class="absolute -top-0.5 -right-0.5 -scale-x-100" aria-hidden="true">@include('theme::partials.motif', ['slot' => 'bracket', 'class' => 'size-9'])</span>
<label class="flex min-w-0 flex-col gap-1.5 text-base font-semibold">Anreise
<input type="date" name="anreise" min="{{ today()->toDateString() }}" class="w-full min-w-0 font-normal" required>
</label>
<label class="flex min-w-0 flex-col gap-1.5 text-base font-semibold">Abreise
<input type="date" name="abreise" min="{{ today()->addDay()->toDateString() }}" class="w-full min-w-0 font-normal" required>
</label>
<label class="col-span-2 flex min-w-0 flex-col gap-1.5 text-base font-semibold sm:col-span-1">Personen
<select name="personen" class="w-full font-normal">
@for ($count = 1; $count <= ($property?->max_guests ?? 3); $count++)
<option value="{{ $count }}" @selected($count === 2)>{{ $count }} {{ $count === 1 ? 'Person' : 'Personen' }}</option>
@endfor
</select>
</label>
<button type="submit" class="btn-accent col-span-2 w-full px-4 whitespace-nowrap sm:col-span-1">Preis anzeigen</button>
</form>
@endif
</div>
</section>
<div class="overflow-hidden" aria-hidden="true" data-reveal>
@include('theme::partials.motif', ['slot' => 'divider', 'class' => 'motif-sunrise -ml-[40%] block h-auto w-[180%] max-w-none sm:mx-auto sm:w-full sm:max-w-7xl'])
</div>