Files
fewo-stommer/resources/themes/seebad/theme.css
T
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

195 lines
6.3 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/*
* Theme „Seebad“ – Child von „ostsee-licht“ (Anleitung: docs/THEME-ERSTELLUNG.md, Konzept: docs/DESIGN-KONZEPT.md, Richtung A).
* theme-base.css des Eltern-Themes bringt Token-Mapping, Formular-Grundstile und Basis-Klassen; hier stehen nur Abweichungen.
*/
@import 'tailwindcss';
@import '../ostsee-licht/theme-base.css';
/* Selbst gehostete Schriften: Newsreader (Überschriften, Zitate), Atkinson Hyperlegible Next (Text, Bedienung). */
@import '@fontsource/newsreader/400.css';
@import '@fontsource/newsreader/400-italic.css';
@import '@fontsource/newsreader/500.css';
@import '@fontsource/atkinson-hyperlegible-next/400.css';
@import '@fontsource/atkinson-hyperlegible-next/600.css';
/* Vorlagen, deren Klassen gebaut werden: geerbte, Buchungsformulare, eigene. */
@source '../ostsee-licht/views';
@source '../../views/livewire';
@source './views';
@theme inline {
--font-display: 'Newsreader', Georgia, serif;
--font-sans: 'Atkinson Hyperlegible Next', ui-sans-serif, system-ui, sans-serif;
}
/*
* Bildwelt „Ostsee“ (motifs/*.svg, inline über partials/motif): Navy folgt der Textfarbe, damit die Grafiken in
* dunklen Erscheinungsbildern sichtbar bleiben; die Fassade folgt den Flächen.
*/
:root {
--brand-navy: var(--ink);
--brand-paper: var(--surface);
--brand-teal: #1e5f94;
--brand-wave: #2bb7d6;
--brand-sun: #f6c356;
--brand-reed: #d8b25e;
--brand-brick: #a63a2b;
--brand-roof: #c9553a;
--brand-glass: #9fd3e6;
}
@layer base {
body {
font-size: 1.125rem;
line-height: 1.65;
}
@media (min-width: 64rem) {
body {
font-size: 1.1875rem;
}
}
input:not([type='checkbox']):not([type='radio']),
select,
textarea {
min-height: 3rem;
border-color: var(--muted);
border-radius: 0.375rem;
}
}
@layer components {
/* Kleine Überschrift in normaler Schreibweise statt gesperrter Großbuchstaben (besser lesbar). */
.eyebrow {
@apply mb-3 text-base font-semibold tracking-normal text-accent normal-case;
}
.heading-display {
@apply font-display text-[2.375rem] leading-[1.1] font-normal tracking-[-0.01em] sm:text-5xl;
}
.btn-primary {
@apply inline-flex min-h-12 items-center justify-center rounded-md bg-ink px-6 py-3 text-base font-semibold text-ground transition hover:opacity-90;
}
.btn-accent {
@apply inline-flex min-h-12 items-center justify-center rounded-md bg-accent px-6 py-3 text-base font-semibold text-accent-ink transition hover:opacity-90;
}
.btn-outline {
@apply inline-flex min-h-12 items-center justify-center rounded-md border-2 border-current px-6 py-3 text-base font-semibold transition hover:bg-ink/5;
}
.prose-theme {
@apply max-w-[68ch];
}
/*
* Titelbild wie die Rundbogengaube des Hauses: Bogen mit Fasche (weiße Fensterumrandung, feine Linie)
* und Schlussstein – bewusst nur hier eingesetzt.
*/
.arch {
border-radius: 50% 50% 0.25rem 0.25rem / 7.5rem 7.5rem 0.25rem 0.25rem;
box-shadow: 0 0 0 0.375rem var(--surface), 0 0 0 0.5rem var(--line);
}
.keystone {
@apply absolute top-0 left-1/2 h-6 w-8 -translate-x-1/2 -translate-y-2 bg-ink lg:h-7 lg:w-9;
clip-path: polygon(0 0, 100% 0, 80% 100%, 20% 100%);
}
@media (min-width: 64rem) {
.arch {
border-radius: 50% 50% 0.25rem 0.25rem / 11rem 11rem 0.25rem 0.25rem;
}
}
/*
* Fahrkarte der Bäderbahn: nächste freie Termine im Titelbereich. Seitliche Kerben und Perforation
* machen aus einem Link eine Karte, die man „lösen“ möchte.
*/
.ticket {
@apply relative flex min-h-14 flex-wrap items-baseline gap-x-4 gap-y-0.5 border-2 border-ink bg-surface py-3 pr-4 pl-7 transition hover:bg-ink/5 focus-visible:outline-3 focus-visible:outline-offset-2 focus-visible:outline-accent;
mask: radial-gradient(circle 0.5rem at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat,
radial-gradient(circle 0.5rem at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
}
.ticket::before {
@apply absolute top-2 bottom-2 left-3.5 border-l-2 border-dashed border-[var(--brand-reed)] content-[''];
}
/* Fahrplan: Kapitel des Rundgangs mit Uhrzeit, Punktlinie und Halt. */
.timetable-stop {
@apply flex min-h-12 w-full items-baseline gap-3 py-2 text-left text-lg hover:text-accent;
}
.timetable-stop::after {
@apply order-2 min-w-6 flex-1 border-b-2 border-dotted border-line content-[''];
}
.timetable-stop[aria-current='true'] {
@apply font-semibold text-accent;
}
/* Kartusche: Doppelrahmen, Rundbogengaube als Kopf, Kopfbänder der Terrassen als Eckkonsolen. */
.cartouche {
@apply relative border-2 border-ink bg-surface outline outline-1 -outline-offset-[10px] outline-[var(--brand-reed)];
}
}
/* Ruhige Bewegung der Bildwelt – nur ohne „Bewegung reduzieren“. */
@media (prefers-reduced-motion: no-preference) {
/*
* Sonnenaufgang (Trenner unter dem Titelbereich), einmal beim Hinscrollen: theme.js setzt data-reveal="ready"
* und später "shown". Ohne JavaScript steht die Grafik fertig da.
*/
/* cy, not transform: the horizon clip-path lives in the circle's own coordinates and would move along. */
[data-reveal='ready'] .motif-sunrise circle {
cy: 150px;
}
[data-reveal='ready'] .motif-sunrise > path {
clip-path: inset(0 50% 0 50%);
}
[data-reveal='ready'] .motif-sunrise g {
opacity: 0;
}
[data-reveal] .motif-sunrise circle {
transition: cy 2.4s cubic-bezier(0.22, 1, 0.36, 1) 0.5s;
}
[data-reveal] .motif-sunrise > path {
transition: clip-path 1.8s cubic-bezier(0.65, 0, 0.35, 1);
}
[data-reveal] .motif-sunrise g {
transition: opacity 1.2s ease 1.6s;
}
.motif-drift {
animation: motif-drift 16s ease-in-out infinite alternate;
}
.motif-glide {
animation: motif-glide 22s ease-in-out infinite;
}
@keyframes motif-drift {
from {
transform: translateX(-1.5rem);
}
to {
transform: translateX(1.5rem);
}
}
@keyframes motif-glide {
50% {
transform: translate(2.5rem, -0.6rem);
}
}
}