- Logo (satz4) traced to SVG masters (styles/satz4/svg: full logo, picture mark, wordmark) with a palette sampled from the original; WebP renditions for the website; favicon/apple touch icon = simplified corner bay - House details as theme elements: arched dormer (crest of the cartouche), hero arch with window surround and keystone, terrace braces as corner brackets (search box, cartouche), balcony railing on the dark band - Colours from the logo (navy, roof terracotta as accent, wave blues, sun) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
140 lines
4.3 KiB
CSS
140 lines
4.3 KiB
CSS
/*
|
||
* 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;
|
||
}
|
||
}
|
||
|
||
/* 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) {
|
||
.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);
|
||
}
|
||
}
|
||
}
|