Theme Seebad: first version of design direction A

- New child theme "seebad": Newsreader + Atkinson Hyperlegible Next (self-hosted), larger base size,
  tokens chalk white / ink blue / brick / evening blue
- Picture world "Ostsee" as inline SVG slots (partials/motif): villa mark, wave bands, shell, gulls, vignettes
- Own layout, header (mobile menu as dark panel with call button), footer, banner, mobile booking bar
- Sections: hero with arch photo and search box, facts, text_image, location, host, cta in cartouche
- Wishes to the application recorded in ZUSAMMENARBEIT.md §5

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
LarsandClaude Opus 5.5 committed 2026-10-23 08:22:23 +02:00
1 parent e276cd0548
commit a9ad4dbf0b
29 files changed
+817 -66

No files matched your search

@@ -0,0 +1,15 @@
<section class="mx-auto flex max-w-7xl flex-wrap items-center gap-x-14 gap-y-12 px-4 py-16 sm:px-8 sm:py-24" aria-labelledby="{{ $sectionId }}-title">
@if ($photo)
<div class="min-w-0 flex-[1_1_24rem]">
@include('theme::partials.image', ['photo' => $photo, 'sizes' => '(min-width: 1024px) 45vw, 100vw', 'class' => 'h-72 w-full rounded object-cover sm:h-[26rem]'])
</div>
@endif
<div @class(['cartouche min-w-0 flex-[1_1_24rem] px-6 pt-14 pb-10 text-center sm:px-12', 'mx-auto max-w-3xl' => ! $photo])>
<span class="absolute -top-6 left-1/2 -translate-x-1/2 bg-ground px-2" aria-hidden="true">
@include('theme::partials.motif', ['slot' => 'crest', 'class' => 'h-12 w-auto'])
</span>
<h2 id="{{ $sectionId }}-title" class="font-display text-[2rem] leading-tight sm:text-[2.5rem]">{{ $title }}</h2>
@if ($text)<p class="mx-auto mt-4 max-w-[40ch] text-muted">{{ $text }}</p>@endif
<a href="{{ $buttonUrl }}" class="btn-accent mt-8">{{ $buttonLabel }}</a>
</div>
</section>
@@ -0,0 +1,17 @@
<section class="mx-auto max-w-7xl px-4 pt-10 pb-8 sm:px-8 sm:pt-12" @if ($heading) aria-labelledby="{{ $sectionId }}-title" @else aria-label="Eckdaten" @endif>
@if ($heading)<h2 id="{{ $sectionId }}-title" class="heading-display mb-8">{{ $heading }}</h2>@endif
<dl class="grid grid-cols-2 gap-x-6 gap-y-8 lg:grid-cols-4">
@if ($property?->size_sqm)
<div class="flex flex-col-reverse"><dt class="text-muted">Wohnfläche</dt><dd class="font-display text-[2rem] leading-tight sm:text-[2.5rem]">{{ $property->size_sqm }} m²</dd></div>
@endif
@if ($property)
<div class="flex flex-col-reverse"><dt class="text-muted">Gäste</dt><dd class="font-display text-[2rem] leading-tight sm:text-[2.5rem]">1 bis {{ $property->max_guests }}</dd></div>
@endif
@if ($fromPrice)
<div class="flex flex-col-reverse"><dt class="text-muted">pro Nacht</dt><dd class="font-display text-[2rem] leading-tight sm:text-[2.5rem]">ab {{ \App\Support\Money::format((int) $fromPrice) }}</dd></div>
@endif
@if ($highlights->isNotEmpty())
<div class="col-span-2 flex flex-col-reverse lg:col-span-1"><dt class="text-muted">{{ $highlights->skip(1)->take(2)->implode(', ') }}</dt><dd class="font-display text-[1.625rem] leading-tight sm:text-[2rem]">{{ $highlights->first() }}</dd></div>
@endif
</dl>
</section>
@@ -0,0 +1,47 @@
<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="min-w-0 flex-[999_1_34rem]">
@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-[38rem]', 'eager' => true])
</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
@if ($showSearch)
<form action="{{ route('booking.create') }}" method="get" data-availability-search aria-label="Verfügbarkeit prüfen"
class="grid grid-cols-2 items-end gap-3.5 rounded-md border border-line bg-surface p-4 sm:p-6">
<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 sm:col-span-1">Preis anzeigen</button>
</form>
@endif
</div>
</section>
<div class="overflow-hidden" aria-hidden="true">
@include('theme::partials.motif', ['slot' => 'divider', 'class' => 'motif-drift -ml-[40%] block h-auto w-[180%] max-w-none sm:mx-auto sm:w-full sm:max-w-7xl'])
</div>
@@ -0,0 +1,16 @@
<section class="relative overflow-hidden bg-band text-band-ink [--brand-navy:var(--band-ink)]" aria-labelledby="{{ $sectionId }}-title">
@include('theme::partials.motif', ['slot' => 'gulls', 'class' => 'motif-glide absolute top-10 right-[8%] h-10 w-auto opacity-50 sm:h-12'])
<div class="mx-auto flex max-w-6xl flex-wrap items-center gap-12 px-5 py-16 sm:px-8 sm:py-24">
@if ($photo)
<div class="w-full max-w-xs flex-[0_1_18rem]">
@include('theme::partials.image', ['photo' => $photo, 'sizes' => '18rem', 'class' => 'aspect-[4/5] w-full rounded object-cover'])
</div>
@endif
<figure class="min-w-0 flex-[1_1_28rem]">
@if ($heading)<p class="mb-4 font-semibold text-band-muted" id="{{ $sectionId }}-title">{{ $heading }}</p>@endif
@if ($quote)<blockquote class="font-display text-[1.75rem] leading-[1.3] italic sm:text-[2.5rem]">„{{ $quote }}“</blockquote>@endif
<figcaption class="mt-6 text-band-muted">{{ $name }}</figcaption>
@if ($text)<div class="mt-4 max-w-[60ch] text-band-muted [&_a]:underline [&_p]:mb-3">{{ $text }}</div>@endif
</figure>
</div>
</section>
@@ -0,0 +1,32 @@
<section class="border-y border-line bg-surface" aria-labelledby="{{ $sectionId }}-title">
<div class="mx-auto max-w-7xl px-4 py-16 sm:px-8 sm:py-24">
<div class="flex flex-wrap items-end justify-between gap-x-16 gap-y-6">
<div class="min-w-0 flex-[1_1_26rem]">
@if ($eyebrow)<p class="eyebrow">{{ $eyebrow }}</p>@endif
<h2 id="{{ $sectionId }}-title" class="heading-display">{{ $heading }}</h2>
</div>
<div class="min-w-0 flex-[1_1_24rem]">
@if ($text)<div class="prose-theme [&_p]:mb-3">{{ $text }}</div>@endif
@if ($address)
<p class="mt-3 flex items-start gap-3">
<x-heroicon-o-map-pin class="mt-1 size-6 shrink-0 text-accent" aria-hidden="true" />
<span>{{ $address }}<br>
<a href="{{ $mapUrl }}" class="font-semibold underline underline-offset-4 hover:text-accent" rel="noopener" target="_blank">Auf der Karte ansehen</a></span>
</p>
@endif
</div>
</div>
@if ($photos->isNotEmpty())
<ul class="mt-12 grid grid-cols-1 gap-x-8 gap-y-10 sm:grid-cols-3">
@foreach ($photos->take(3) as $photo)
<li class="reveal">
<figure>
@include('theme::partials.image', ['photo' => $photo, 'sizes' => '(min-width: 640px) 30vw, 100vw', 'class' => 'h-60 w-full rounded object-cover sm:h-72'])
<figcaption class="mt-3 font-display text-[1.5rem] leading-snug">{{ $photo->caption ?: $photo->alt_text }}</figcaption>
</figure>
</li>
@endforeach
</ul>
@endif
</div>
</section>
@@ -0,0 +1,25 @@
<section class="mx-auto flex max-w-7xl flex-wrap items-center gap-x-16 gap-y-10 px-4 py-16 sm:px-8 sm:py-24" aria-labelledby="{{ $sectionId }}-title">
<div @class(['min-w-0 flex-[1_1_24rem]', 'order-2' => $imagePosition === 'left'])>
@if ($eyebrow)<p class="eyebrow">{{ $eyebrow }}</p>@endif
<h2 id="{{ $sectionId }}-title" class="heading-display">{{ $heading }}</h2>
@if ($text)<div class="prose-theme mt-6">{{ $text }}</div>@endif
@if ($linkLabel && $linkUrl)
<a href="{{ $linkUrl }}" class="mt-2 inline-block border-b-2 border-accent pb-0.5 font-semibold hover:text-accent">{{ $linkLabel }}</a>
@endif
</div>
@if ($photos->isNotEmpty())
<div @class(['reveal grid min-w-0 flex-[1_1_30rem] grid-cols-5 gap-4', 'order-1' => $imagePosition === 'left'])>
@foreach ($photos as $index => $photo)
@include('theme::partials.image', [
'photo' => $photo,
'sizes' => $index === 0 ? '(min-width: 1024px) 40vw, 100vw' : '(min-width: 1024px) 20vw, 50vw',
'class' => match (true) {
$photos->count() === 1 => 'col-span-5 h-80 w-full rounded object-cover sm:h-[30rem]',
$index === 0 => 'col-span-3 row-span-2 h-80 w-full rounded object-cover sm:h-[30rem]',
default => 'col-span-2 h-[9.6rem] w-full rounded object-cover sm:h-[14.5rem]',
},
])
@endforeach
</div>
@endif
</section>