/*
Van's DIY & Bastelbedarf — Design-System
Farbwerte 1:1 aus dem Vault: "Van Van – Homepage/02 Logo & Branding/Branding.md"
Nicht ohne Rücksprache ändern — sind bereits WCAG-kontrastgeprüft.
*/
/*
Fonts: aktuell per Google-Fonts- in Layout.astro eingebunden (siehe dort).
TODO Phase 2: Fraunces + Inter self-hosten (woff2, DSGVO/Performance), sobald Zeit ist —
Vorgehen wie bei bild.py/fonts_holen.sh im Bild-KI-Projekt (CSS2-API abfragen, .woff2-URLs
aus der Antwort extrahieren, lokal unter public/fonts/ ablegen, @font-face umstellen).
*/
:root {
/* Farben */
--c-black: #0a0910;
--c-anthracite: #1b1a22;
--c-anthracite-light: #252333;
--c-purple: #2e1b47;
--c-purple-deep: #1b1226;
--c-text: #f4f1f7;
--c-text-muted: #b7aec4;
--c-accent: #5fd3ec;
--c-accent-hover: #3ca9c2;
--c-sale: #e7879a;
--c-purple-glow: #9b7fd6; /* heller Violett-Ton NUR für Verlaufs-Ränder/Deko, nicht für Text */
/* Typografie */
--font-head: "Fraunces", "Playfair Display", Georgia, serif;
--font-body: "Inter", "Manrope", system-ui, sans-serif;
/* Form */
--radius-s: 10px;
--radius-m: 16px;
--radius-l: 22px;
--shadow-card: 0 12px 30px -12px rgba(46, 27, 71, 0.55);
--shadow-card-hover: 0 18px 40px -12px rgba(95, 211, 236, 0.25);
--ease: cubic-bezier(0.22, 1, 0.36, 1);
--container: 1220px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
margin: 0;
background: var(--c-black);
color: var(--c-text);
font-family: var(--font-body);
line-height: 1.6;
-webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
font-family: var(--font-head);
font-weight: 600;
line-height: 1.15;
margin: 0 0 0.5em;
letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 4vw + 1rem, 3.6rem); }
h2 { font-size: clamp(1.7rem, 2vw + 1rem, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; color: var(--c-text-muted); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container {
width: 100%;
max-width: var(--container);
margin-inline: auto;
padding-inline: 1.5rem;
}
.section { padding: clamp(3rem, 6vw, 6rem) 0; }
.section-tight { padding: clamp(2rem, 3vw, 3rem) 0; }
.eyebrow {
display: inline-block;
font-size: 0.8rem;
letter-spacing: 0.14em;
text-transform: uppercase;
color: var(--c-accent);
font-weight: 600;
margin-bottom: 0.9rem;
}
.lead { font-size: 1.15rem; color: var(--c-text); opacity: 0.9; }
.text-center { text-align: center; }
.small { font-size: 0.85rem; color: var(--c-text-muted); }
/* Buttons */
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.5em;
padding: 0.85em 1.7em;
border-radius: var(--radius-l);
font-weight: 600;
font-size: 0.98rem;
border: 1px solid transparent;
cursor: pointer;
transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
background: linear-gradient(135deg, var(--c-accent), var(--c-accent-hover));
color: #08181c;
box-shadow: var(--shadow-card-hover);
}
.btn-primary:hover { box-shadow: 0 20px 45px -14px rgba(95, 211, 236, 0.45); }
.btn-outline {
background: transparent;
color: var(--c-text);
border-color: rgba(244, 241, 247, 0.25);
}
.btn-outline:hover { border-color: var(--c-accent); color: var(--c-accent); }
.btn-block { width: 100%; }
.btn-row { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-top: 1.5rem; }
/* Cards — Verlaufs-Rand statt trockenem Einzelfarb-Strich (Signature-Look der Seite) */
.card {
position: relative;
isolation: isolate;
border: 1.5px solid transparent;
border-radius: var(--radius-m);
background:
linear-gradient(165deg, var(--c-anthracite-light), var(--c-anthracite)) padding-box,
linear-gradient(135deg, rgba(95, 211, 236, 0.5), rgba(155, 127, 214, 0.4) 45%, rgba(231, 135, 154, 0.32)) border-box;
padding: 1.6rem;
box-shadow: var(--shadow-card);
transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), filter 0.3s var(--ease);
}
.card::before {
/* dezenter Glanz-Schimmer oben, wie ein Lichtreflex auf Glas — macht den Rand "speziell" statt flach */
content: "";
position: absolute;
inset: 0;
border-radius: inherit;
padding: 1.5px;
background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), transparent 40%);
-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
-webkit-mask-composite: xor;
mask-composite: exclude;
pointer-events: none;
z-index: 1;
opacity: 0.6;
}
.card:hover {
transform: translateY(-4px);
box-shadow: var(--shadow-card-hover);
filter: brightness(1.06);
}
/* Klickbare Navigations-Kacheln (Produktkarten, Kategorien) bekommen den Verlaufs-Rand extra
kräftig — das sind die "Kisten, wo man draufdrückt um auf eine neue Seite zu kommen". */
a.card {
background:
linear-gradient(165deg, var(--c-anthracite-light), var(--c-anthracite)) padding-box,
linear-gradient(135deg, var(--c-accent), var(--c-purple-glow) 45%, var(--c-sale) 100%) border-box;
}
a.card:hover {
box-shadow: var(--shadow-card-hover), 0 0 0 1px rgba(95, 211, 236, 0.25);
}
/* Grid utils */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
/* Der Haupt-Shop (/shop/) wickelt jede Produktkarte zusätzlich in ein .product-slot-Div ein
(nötig für den Filter/Sortier-JS-Code, das einzelne Karten ein-/ausblendet). CSS Grid streckt
dieses Div zwar automatisch auf die volle Zeilenhöhe, die Karte DARIN füllte diese Höhe aber
nicht aus (ein normales
reicht "stretch" nicht an sein Kind weiter) — dadurch wirkten
Karten mit kurzem Text kleiner als Karten mit langem Text in derselben Reihe. Fix: das Slot-Div
selbst zum Flex-Container machen, dessen einziges Kind (die Karte) sich per Flex-Stretch auf
die volle Höhe ausdehnt — Karten in derselben Zeile sind dadurch überall gleich groß. */
.product-slot { display: flex; }
.product-slot > a { flex: 1; }
/* Badges — sitzen direkt auf Produktfotos (unterschiedlichste Hintergründe/Farben), deshalb
braucht die Pille genug eigene Kraft, um immer lesbar zu bleiben: kräftigerer (weniger
transparenter) Hintergrund + eigener Rand in derselben Farbe + dezenter Schlagschatten hinterm
Text. Farbton und Grundstil bleiben exakt gleich, nur die Durchsetzungskraft ist höher. */
.badge {
display: inline-block;
font-size: 0.72rem;
font-weight: 700;
letter-spacing: 0.04em;
text-transform: uppercase;
padding: 0.3em 0.75em;
border-radius: 999px;
background: rgba(95, 211, 236, 0.34);
border: 1px solid rgba(95, 211, 236, 0.6);
color: var(--c-accent);
text-shadow: 0 1px 3px rgba(10, 9, 16, 0.65);
}
.badge-sale { background: rgba(231, 135, 154, 0.36); border-color: rgba(231, 135, 154, 0.6); color: var(--c-sale); }
.badge-sold-out { background: rgba(183, 174, 196, 0.32); border-color: rgba(183, 174, 196, 0.55); color: var(--c-text-muted); }
/* Placeholder art (kein echtes Produktfoto vorhanden) */
.img-placeholder {
position: relative;
border-radius: var(--radius-m);
overflow: hidden;
background:
radial-gradient(circle at 30% 20%, rgba(95, 211, 236, 0.18), transparent 55%),
linear-gradient(155deg, var(--c-purple), var(--c-purple-deep));
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 0.3rem;
color: var(--c-text-muted);
font-size: 0.85rem;
text-align: center;
padding: 1rem;
min-height: 160px;
}
.img-placeholder::after {
content: "";
position: absolute;
inset: 0;
background-image: repeating-linear-gradient(135deg, rgba(244,241,247,0.03) 0 2px, transparent 2px 14px);
}
/* Echtes Produktfoto (von VanVan im Adminbereich hochgeladen) — ersetzt den Platzhalter, sobald
`bilder` am Produkt gesetzt ist. Gleiche Maße/Ecken wie der Platzhalter, damit beim Hochladen
des ersten Fotos nichts im Layout springt. */
.product-photo {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
border-radius: var(--radius-m);
}
.product-media .product-photo { aspect-ratio: 1 / 1; }
.thumb.product-photo { cursor: pointer; transition: box-shadow 0.2s var(--ease); }
/* Portrait-Frame — edler Bilderrahmen für Porträtfotos (Startseite, Über die Kreative, ...) */
.portrait-frame {
position: relative;
isolation: isolate;
}
.portrait-frame::before {
content: "";
position: absolute;
inset: -6%;
z-index: -1;
background:
radial-gradient(circle at 30% 20%, rgba(95, 211, 236, 0.35), transparent 60%),
radial-gradient(circle at 75% 80%, rgba(231, 135, 154, 0.22), transparent 55%);
filter: blur(38px);
opacity: 0.85;
border-radius: inherit;
}
.portrait-frame .portrait-img,
.portrait-frame img {
display: block;
width: 100%;
height: auto;
aspect-ratio: 1 / 1;
object-fit: cover;
border-radius: var(--radius-l);
border: 1px solid rgba(244, 241, 247, 0.08);
box-shadow: var(--shadow-card), 0 0 0 6px rgba(10, 9, 16, 0.6), 0 0 0 7px rgba(95, 211, 236, 0.18);
transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
/* Auch der "Foto folgt"-Platzhalter bekommt den gleichen edlen Rahmen/Ring wie ein echtes Foto —
vorher blieb er innerhalb eines Portrait-Frames (z.B. Charakter ohne Produkt) unauffällig
randlos, während echte Fotos schon den Ring hatten. Behält seine eigene Flex-Zentrierung für
den "Produktfoto folgt"-Text bei (nur display wird hier NICHT überschrieben). */
.portrait-frame .img-placeholder {
aspect-ratio: 1 / 1;
border-radius: var(--radius-l);
border: 1px solid rgba(244, 241, 247, 0.08);
box-shadow: var(--shadow-card), 0 0 0 6px rgba(10, 9, 16, 0.6), 0 0 0 7px rgba(95, 211, 236, 0.18);
transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.portrait-frame:hover .portrait-img,
.portrait-frame:hover img,
.portrait-frame:hover .img-placeholder {
transform: translateY(-4px) scale(1.015);
box-shadow: var(--shadow-card-hover), 0 0 0 6px rgba(10, 9, 16, 0.6), 0 0 0 7px rgba(95, 211, 236, 0.32);
}
.portrait-badge {
position: absolute;
bottom: -1.1rem;
right: -1.1rem;
display: flex;
align-items: center;
gap: 0.4em;
padding: 0.7em 1.1em;
border-radius: 999px;
background: linear-gradient(135deg, var(--c-accent), var(--c-accent-hover));
color: #08181c;
font-family: var(--font-head);
font-weight: 700;
font-size: 0.85rem;
letter-spacing: 0.01em;
box-shadow: 0 10px 26px -8px rgba(95, 211, 236, 0.55), 0 0 0 5px var(--c-black);
transform: rotate(-4deg);
white-space: nowrap;
}
@media (max-width: 620px) {
.portrait-badge { right: 0.4rem; bottom: -0.9rem; font-size: 0.78rem; padding: 0.6em 0.9em; }
}
.todo-note {
border: 1px dashed rgba(95, 211, 236, 0.4);
border-radius: var(--radius-s);
padding: 0.9rem 1.1rem;
font-size: 0.85rem;
color: var(--c-text-muted);
margin-top: 1.5rem;
}
.legal-note {
border-left: 3px solid var(--c-accent);
background: rgba(95, 211, 236, 0.08);
padding: 1rem 1.3rem;
border-radius: var(--radius-s);
margin-bottom: 2rem;
font-size: 0.92rem;
}
hr.divider {
border: none;
border-top: 1px solid rgba(244, 241, 247, 0.08);
margin: 2.5rem 0;
}
table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
th, td { text-align: left; padding: 0.7rem 0.9rem; border-bottom: 1px solid rgba(244,241,247,0.08); }
th { color: var(--c-text); font-family: var(--font-head); font-weight: 600; }
form.frm { display: grid; gap: 1rem; max-width: 560px; }
.frm label { display: block; font-size: 0.85rem; color: var(--c-text-muted); margin-bottom: 0.35rem; }
.frm input, .frm select, .frm textarea {
width: 100%;
padding: 0.75em 0.9em;
border-radius: var(--radius-s);
border: 1px solid rgba(244, 241, 247, 0.15);
background: var(--c-anthracite);
color: var(--c-text);
font-family: var(--font-body);
font-size: 0.95rem;
}
.frm input:focus, .frm select:focus, .frm textarea:focus,
a:focus-visible, button:focus-visible {
outline: 2px solid var(--c-accent);
outline-offset: 2px;
}
.frm .checkbox-row { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.88rem; color: var(--c-text-muted); }
.frm .checkbox-row input { width: auto; margin-top: 0.2rem; }
/* ============================================================
Login: Social-Login-Buttons, Passwort-Sichtbarkeit, DSGVO-Hinweis
In Deutschland/DACH übliche Anmelde-Alternativen zur reinen E-Mail/Passwort-
Anmeldung (siehe Recherche: PayPal-Login ist wegen der PayPal-Marktdominanz
in DE besonders verbreitet, neben Google/Apple). Die Buttons sind bewusst
NICHT funktional (kein echtes OAuth ohne Backend) — ein Klick zeigt einen
ehrlichen Hinweis statt eine vorgetäuschte Anmeldung.
============================================================ */
.social-login { display: grid; gap: 0.6rem; }
.btn-social {
display: flex;
align-items: center;
justify-content: center;
gap: 0.6em;
width: 100%;
padding: 0.7em 1em;
border-radius: var(--radius-s);
border: 1px solid rgba(244, 241, 247, 0.16);
background: var(--c-anthracite);
color: var(--c-text);
font-family: var(--font-body);
font-size: 0.92rem;
font-weight: 600;
cursor: pointer;
transition: background 0.15s var(--ease), border-color 0.15s var(--ease), transform 0.1s var(--ease);
}
.btn-social:hover { background: var(--c-anthracite-light); border-color: rgba(244, 241, 247, 0.3); }
.btn-social:active { transform: scale(0.99); }
.btn-social svg { flex-shrink: 0; }
.btn-social-paypal .social-icon-badge {
display: inline-flex; align-items: center; justify-content: center;
width: 18px; height: 18px; border-radius: 50%;
background: #003087; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 0.72rem;
flex-shrink: 0;
}
.social-note {
display: none;
font-size: 0.82rem;
color: var(--c-text-muted);
background: color-mix(in srgb, var(--c-accent) 10%, transparent);
border: 1px solid color-mix(in srgb, var(--c-accent) 25%, transparent);
border-radius: var(--radius-s);
padding: 0.6em 0.8em;
margin: -0.2rem 0 0;
}
.social-divider { display: flex; align-items: center; gap: 0.8em; color: var(--c-text-muted); font-size: 0.82rem; margin: 0.1rem 0; }
.social-divider::before, .social-divider::after { content: ""; flex: 1; height: 1px; background: rgba(244, 241, 247, 0.14); }
.pw-field { position: relative; }
.pw-field input { padding-right: 2.6em; }
.pw-toggle {
position: absolute;
top: 50%;
right: 0.5em;
transform: translateY(-50%);
background: none;
border: none;
color: var(--c-text-muted);
cursor: pointer;
padding: 0.3em;
display: flex;
border-radius: var(--radius-s);
}
.pw-toggle:hover { color: var(--c-text); }
.login-consent { color: var(--c-text-muted); margin-top: -0.3rem; }
/* ============================================================
Sprach-Umschalter + Konto-Button (Header)
============================================================ */
.lang-switch { position: relative; }
.lang-switch-btn {
display: flex;
align-items: center;
gap: 0.4em;
background:
linear-gradient(155deg, color-mix(in srgb, var(--globe-color) 16%, var(--c-anthracite-light)), color-mix(in srgb, var(--globe-color) 5%, var(--c-anthracite)));
border: 1px solid color-mix(in srgb, var(--c-purple-glow) 55%, rgba(244, 241, 247, 0.14));
color: var(--c-text);
border-radius: 999px;
padding: 0.45em 0.9em 0.45em 0.55em;
font-size: 0.92rem;
font-weight: 600;
cursor: pointer;
box-shadow:
inset 0 1px 0 color-mix(in srgb, var(--globe-glow, var(--globe-color)) 20%, transparent),
0 3px 12px -6px color-mix(in srgb, var(--globe-color) 55%, transparent);
transition: border-color 0.2s var(--ease), box-shadow 0.25s var(--ease), transform 0.2s var(--ease);
}
.lang-switch-btn:hover {
border-color: color-mix(in srgb, var(--c-purple-glow) 85%, transparent);
box-shadow:
inset 0 1px 0 color-mix(in srgb, var(--globe-glow, var(--globe-color)) 30%, transparent),
0 6px 18px -6px color-mix(in srgb, var(--globe-color) 70%, transparent);
transform: translateY(-1px);
}
.lang-switch-btn .chevron { font-size: 0.6rem; opacity: 0.7; color: var(--globe-color); transition: transform 0.2s var(--ease); }
.lang-switch.open .lang-switch-btn .chevron { transform: rotate(180deg); }
.lang-switch-menu {
position: absolute;
top: calc(100% + 0.6rem);
right: 0;
min-width: 168px;
background: var(--c-anthracite-light);
border: 1px solid rgba(244, 241, 247, 0.1);
border-radius: var(--radius-m);
box-shadow: var(--shadow-card);
padding: 0.4rem;
display: none;
flex-direction: column;
gap: 0.15rem;
z-index: 60;
}
.lang-switch.open .lang-switch-menu { display: flex; }
.lang-switch-menu a {
display: flex;
align-items: center;
gap: 0.6em;
padding: 0.55em 0.7em;
border-radius: var(--radius-s);
font-size: 0.88rem;
opacity: 0.72;
transition: background 0.15s var(--ease), opacity 0.15s var(--ease);
}
.lang-switch-menu a:hover { background: color-mix(in srgb, var(--globe-color) 12%, transparent); opacity: 1; }
.lang-switch-menu a[aria-current="true"] { opacity: 1; font-weight: 700; }
.lang-switch-menu a[aria-current="true"] .lang-globe {
box-shadow:
0 0 0 3px color-mix(in srgb, var(--globe-color) 45%, transparent),
0 0 14px 2px color-mix(in srgb, var(--globe-glow, var(--globe-color)) 70%, transparent);
}
/* Sprachname im Farbverlauf der Nationalflagge (2 kräftigste Streifenfarben, Weiß/Schwarz
ausgelassen weil auf dunklem Grund unsichtbar bzw. zu hart) — Globus und Schrift wirken
dadurch wie ein zusammengehöriges, flaggenfarbenes Element. */
.lang-label {
background: linear-gradient(90deg, var(--globe-color, var(--c-text)), var(--globe-glow, var(--globe-color)));
background-clip: text;
-webkit-background-clip: text;
color: transparent;
text-shadow: 0 0 10px color-mix(in srgb, var(--globe-glow, var(--globe-color)) 35%, transparent);
transition: filter 0.2s var(--ease);
}
.lang-switch-btn:hover .lang-label,
.lang-switch-menu a:hover .lang-label {
filter: brightness(1.25) saturate(1.2);
}
/* Globus-Icon statt Flaggen-Emoji: trägt die echten Nationalflaggen-Farben als rotierende
Farbscheibe (siehe `flag` in i18n/config.ts) — dreht sich dauerhaft langsam wie ein
Modellglobus, wird schneller beim Hover. Eine zweite, FESTE Ebene obendrüber sorgt für
Glanzlicht + Schattenseite (3D-Kugel-Wirkung), damit die Farben plastisch statt flach wirken. */
.lang-globe {
position: relative;
display: inline-flex;
align-items: center;
justify-content: center;
width: 26px;
height: 26px;
border-radius: 50%;
overflow: hidden;
isolation: isolate;
color: rgba(10, 9, 16, 0.55);
/* Dezenter "Polarlicht"-Schimmer: mehrere weiche, unterschiedlich gefärbte Glow-Schichten
(Lila der Seite + Flaggenfarbe + Akzent-Türkis) statt eines einzelnen harten Farbrings. */
box-shadow:
0 0 0 1px color-mix(in srgb, var(--c-purple-glow) 55%, transparent),
0 3px 5px -1px color-mix(in srgb, black 55%, transparent),
0 0 7px 1px color-mix(in srgb, var(--globe-glow, var(--globe-color)) 40%, transparent),
0 0 13px 3px color-mix(in srgb, var(--c-purple-glow) 22%, transparent),
0 0 18px 4px color-mix(in srgb, var(--c-accent) 12%, transparent);
transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
flex-shrink: 0;
}
.lang-globe::after {
/* fixe Lichtquelle: bleibt stehen, während die Flaggenfarben darunter rotieren */
content: "";
position: absolute;
inset: 0;
z-index: 2;
background:
radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 30%),
radial-gradient(circle at 75% 78%, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0) 55%);
mix-blend-mode: overlay;
pointer-events: none;
}
.lang-globe-rotor {
position: absolute;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
/* Weiche, ineinander fließende Übergänge statt harter 120°-Segmente — gleicher Stil (Flaggen-
farben, Rotation), nur eleganter/fließender statt wie ein Tortendiagramm. */
background: conic-gradient(from 0deg, var(--flag-1) 0%, var(--flag-2) 33%, var(--flag-3) 66%, var(--flag-1) 100%);
animation: globe-spin 6s linear infinite;
}
.lang-globe:hover .lang-globe-rotor { animation-duration: 1.6s; }
@keyframes globe-spin {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
.lang-globe-rotor { animation: none; }
}
.lang-globe svg { position: relative; z-index: 1; opacity: 0.55; filter: drop-shadow(0 0 1px rgba(10, 9, 16, 0.6)); }
.lang-switch-btn .lang-globe { width: 24px; height: 24px; }
.lang-switch-btn:hover .lang-globe,
.lang-switch-menu a:hover .lang-globe {
box-shadow:
0 0 0 1px color-mix(in srgb, var(--c-purple-glow) 75%, transparent),
0 3px 6px -1px color-mix(in srgb, black 55%, transparent),
0 0 10px 2px color-mix(in srgb, var(--globe-glow, var(--globe-color)) 55%, transparent),
0 0 18px 4px color-mix(in srgb, var(--c-purple-glow) 30%, transparent),
0 0 24px 6px color-mix(in srgb, var(--c-accent) 18%, transparent);
transform: scale(1.12);
}
.account-btn {
display: flex;
align-items: center;
gap: 0.5em;
padding: 0.55em 1.1em 0.55em 0.6em;
border-radius: 999px;
background: linear-gradient(135deg, rgba(95, 211, 236, 0.16), rgba(46, 27, 71, 0.4));
border: 1px solid rgba(95, 211, 236, 0.3);
color: var(--c-text);
font-size: 0.92rem;
font-weight: 600;
transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.account-btn:hover {
border-color: var(--c-accent);
transform: translateY(-1px);
box-shadow: 0 8px 20px -8px rgba(95, 211, 236, 0.4);
}
.account-btn .account-icon {
display: flex;
align-items: center;
justify-content: center;
width: 29px;
height: 29px;
border-radius: 50%;
background: linear-gradient(155deg, var(--c-accent), var(--c-purple));
color: var(--c-black);
font-size: 0.86rem;
}
@media (max-width: 860px) {
.account-btn .account-label { display: none; }
.account-btn { padding: 0.5em; }
}
/* Konto-Menü in der Kopfzeile — ersetzt den "Anmelden"-Button sobald auf diesem Gerät ein
(Demo-)Konto angemeldet ist (siehe Layout.astro-Script + scripts/account.ts). Gleicher
Verlaufsrand-Knopf-Look wie account-btn, damit der Wechsel nicht wie ein Bruch wirkt. */
.account-area { position: relative; }
.account-menu { position: relative; display: none; align-items: center; }
.account-menu-btn {
display: flex;
align-items: center;
gap: 0.5em;
padding: 0.4em 0.9em 0.4em 0.4em;
border-radius: 999px;
background: linear-gradient(135deg, rgba(95, 211, 236, 0.16), rgba(46, 27, 71, 0.4));
border: 1px solid rgba(95, 211, 236, 0.3);
color: var(--c-text);
font-size: 0.92rem;
font-weight: 600;
cursor: pointer;
transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.account-menu-btn:hover {
border-color: var(--c-accent);
transform: translateY(-1px);
box-shadow: 0 8px 20px -8px rgba(95, 211, 236, 0.4);
}
.account-avatar {
width: 29px;
height: 29px;
border-radius: 50%;
background: linear-gradient(155deg, var(--c-accent), var(--c-purple));
background-size: cover;
background-position: center;
display: flex;
align-items: center;
justify-content: center;
color: var(--c-black);
font-size: 0.86rem;
font-weight: 800;
flex-shrink: 0;
}
.account-menu-btn .chevron { font-size: 0.6rem; opacity: 0.7; transition: transform 0.2s var(--ease); }
.account-menu.open .account-menu-btn .chevron { transform: rotate(180deg); }
.account-dropdown {
position: absolute;
top: calc(100% + 0.6rem);
right: 0;
min-width: 180px;
background: var(--c-anthracite-light);
border: 1px solid rgba(244, 241, 247, 0.1);
border-radius: var(--radius-m);
box-shadow: var(--shadow-card);
padding: 0.4rem;
display: none;
flex-direction: column;
gap: 0.15rem;
z-index: 60;
}
.account-menu.open .account-dropdown { display: flex; }
.account-dropdown a,
.account-dropdown button {
display: block;
width: 100%;
text-align: left;
background: none;
border: none;
color: var(--c-text);
padding: 0.6em 0.7em;
border-radius: var(--radius-s);
font-size: 0.9rem;
cursor: pointer;
transition: background 0.15s var(--ease);
}
.account-dropdown a:hover,
.account-dropdown button:hover { background: color-mix(in srgb, var(--c-accent) 12%, transparent); }
@media (max-width: 860px) {
.account-menu-btn .account-username { display: none; }
.account-menu-btn { padding: 0.4em; }
}
/* ============================================================
Geteilte Seiten-Layouts (von allen Sprachversionen genutzt,
damit DE/EN/CH/FR immer exakt gleich aussehen)
============================================================ */
/* Startseite: Hero + Kategorie-Kacheln + Kreative-Sektion */
.hero { position: relative; overflow: hidden; padding: clamp(3.5rem, 8vw, 7rem) 0; background: radial-gradient(circle at 15% 20%, rgba(46,27,71,0.9), var(--c-black) 60%); }
.hero-watermark {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: min(85vw, 900px);
opacity: 0.045;
filter: grayscale(1);
pointer-events: none;
z-index: 0;
}
.hero-inner { position: relative; max-width: 640px; }
.hero h1 { margin-bottom: 0.7em; }
/* Zweispaltiges Hero-Layout: Foto-Collage links, Text rechts */
.hero-content {
position: relative;
z-index: 1;
display: grid;
grid-template-columns: minmax(280px, 0.95fr) 1.1fr;
gap: clamp(2rem, 5vw, 4.5rem);
align-items: center;
}
@media (max-width: 900px) {
.hero-content { grid-template-columns: 1fr; }
.hero-inner { max-width: none; }
}
/* Foto-Collage: 4 handgefertigte Produktfotos, versetzt & leicht gedreht arrangiert wie ein
kuratiertes Moodboard statt eines steifen Rasters — jedes Foto trägt denselben
Verlaufs-Rand wie unsere Produktkarten (Signature-Look, siehe a.card), damit es sich
erkennbar in die restliche Seite einfügt statt wie ein Fremdkörper zu wirken. */
.hero-gallery {
position: relative;
width: 100%;
max-width: 440px;
aspect-ratio: 1 / 1.08;
margin-inline: auto;
}
.hero-photo {
position: absolute;
overflow: hidden;
border-radius: var(--radius-l);
border: 2.5px solid transparent;
background:
linear-gradient(165deg, var(--c-anthracite-light), var(--c-anthracite)) padding-box,
linear-gradient(135deg, var(--c-accent), var(--c-purple-glow) 45%, var(--c-sale) 100%) border-box;
box-shadow: var(--shadow-card);
transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), z-index 0s;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-photo:hover { transform: scale(1.06) rotate(0deg) !important; box-shadow: var(--shadow-card-hover); z-index: 5 !important; }
.hero-photo-1 { width: 58%; aspect-ratio: 3 / 4; top: 0; left: 0; transform: rotate(-4deg); z-index: 3; }
.hero-photo-2 { width: 44%; aspect-ratio: 1 / 1; top: 3%; right: 0; transform: rotate(5deg); z-index: 2; }
.hero-photo-3 { width: 40%; aspect-ratio: 4 / 5; bottom: 4%; left: 12%; transform: rotate(6deg); z-index: 4; }
.hero-photo-4 { width: 38%; aspect-ratio: 1 / 1; bottom: -1%; right: 8%; transform: rotate(-6deg); z-index: 1; }
@media (max-width: 900px) {
.hero-gallery { max-width: 380px; margin-bottom: 1rem; }
}
@media (max-width: 760px) { .hero-watermark { opacity: 0.035; } }
.category-card { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 0.4rem; }
.cat-icon { font-size: 2.1rem; }
.category-card h3 { margin-bottom: 0.2rem; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 1.3rem; }
.section-head a { color: var(--c-accent); }
.creator-section { align-items: center; }
.creator-photo { max-width: 420px; margin-inline: auto; }
/* Das echte Foto (vanvan-portrait.png, 1122×1402 ≈ 4/5) ist hochkant, nicht quadratisch — die
allgemeine .portrait-frame-Regel erzwingt aber ein 1:1-Seitenverhältnis, wodurch der untere
Teil des Fotos (der zweite Plushie im Arm) abgeschnitten wurde. Eigenes Seitenverhältnis nah am
Original, damit das komplette Foto sichtbar bleibt — gleiches Muster wie schon bei .portrait auf
der "Über die Kreative"-Seite gelöst. */
.creator-photo .portrait-img,
.creator-photo img { aspect-ratio: 4 / 5; }
/* "Über die Kreative" / Charakter-Vorstellung (Unterkategorie-Familienseiten) */
.intro { align-items: stretch; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.intro h2 a { color: inherit; transition: color 0.2s var(--ease); }
.intro h2 a:hover { color: var(--c-accent); }
/* Foto UND Text bekommen auf den Charakter-Vorstellungen jeweils die gleiche "Kisten"-Optik wie
die Produktkarten (Verlaufsrand, siehe .card) — zwei gleichwertige, gerahmte Boxen nebeneinander
statt freischwebendem Text neben einem Foto ohne Rahmen. */
.intro .portrait-frame.portrait,
.intro .intro-text {
display: flex;
flex-direction: column;
justify-content: center;
border: 1.5px solid transparent;
border-radius: var(--radius-m);
background:
linear-gradient(165deg, var(--c-anthracite-light), var(--c-anthracite)) padding-box,
linear-gradient(135deg, var(--c-accent), var(--c-purple-glow) 45%, var(--c-sale) 100%) border-box;
padding: 1.7rem;
box-shadow: var(--shadow-card);
transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), filter 0.3s var(--ease);
}
.intro .portrait-frame.portrait:hover {
transform: translateY(-4px);
box-shadow: var(--shadow-card-hover);
filter: brightness(1.06);
}
.intro .portrait-frame.portrait::before { display: none; }
/* Das Foto selbst braucht innerhalb der neuen Karte keinen zweiten Ring mehr — die Karte rahmt
schon, ein zusätzlicher Rand würde nur "doppelt gerahmt" aussehen.
WICHTIG: hier bewusst KEIN eigenes aspect-ratio mehr setzen — diese Regel ist (durch die
Kombination .intro + .portrait-frame + .portrait) spezifischer als die weiter unten stehende
".portrait img { aspect-ratio: 2/3 }"-Korrektur und hat sie dadurch lautlos wieder auf 1:1
zurückgesetzt. Genau das hat den bereits einmal gefixten Bug (Oktopus-Plushie unten
abgeschnitten) auf der "Über die Kreative"-Seite erneut verursacht. */
.intro .portrait-frame.portrait img,
.intro .portrait-frame.portrait .img-placeholder {
border: none;
box-shadow: none;
border-radius: var(--radius-s);
}
/* "Über die Kreative": VanVans Geschichte steht direkt NEBEN ihrem Foto (statt darunter als
eigener Block). Weil die Textspalte dadurch deutlich höher wird als das Foto, wird hier oben
ausgerichtet statt gestreckt — sonst würde die Fotokarte mit viel leerem Raum mitwachsen.
Das Foto bleibt beim Lesen sichtbar (sticky), solange genug Platz da ist. */
/* NUR im zweispaltigen Layout (ab 901px): oben ausrichten statt strecken + Foto bleibt beim
Lesen sichtbar. Bewusst NICHT global gesetzt — unterhalb von 900px stehen Foto und Text
ohnehin untereinander, und dort führt `align-items: start` zu einem echten Fehler: die
Grid-Zeile wird dann anhand des geschätzten Bild-Seitenverhältnisses berechnet und fällt
~100px zu niedrig aus, wodurch das Foto in den Text darunter hineinragt (gemessen: 80px
Überlappung). Mit dem Standardverhalten (stretch) tritt das nicht auf. */
@media (min-width: 901px) {
.intro-story { align-items: start; }
.intro-story .portrait-frame.portrait { position: sticky; top: 6.5rem; }
}
/* text-wrap: balance verteilt die Zeilen der Überschrift gleichmäßig — sonst rutscht bei
breiten Fenstern nur das 🩵 allein in eine eigene Zeile. */
.intro-story-text h1 { margin-bottom: 0.6rem; text-wrap: balance; }
.intro-story-text h2 {
margin-top: 2rem;
font-size: clamp(1.4rem, 2.4vw, 1.8rem);
}
.intro-story-text p { max-width: 60ch; }
/* Wechselt innerhalb einer Tier-Familie ab: Foto links/rechts, Text jeweils gegenüber — sorgt
für optische Abwechslung, sobald mehrere Varianten einer Serie eigene Seiten bekommen. */
.intro-reverse .portrait-frame.portrait { order: 2; }
.intro-reverse .intro-text { order: 1; }
@media (max-width: 800px) {
.intro { grid-template-columns: 1fr; gap: 1.5rem; }
.intro-reverse .portrait-frame.portrait, .intro-reverse .intro-text { order: initial; }
}
/* Breiter als vorher (war 440px) + Seitenverhältnis nah am Originalfoto (900x1353 ≈ 2/3)
statt 3/4 — vorher wurde oben/unten so stark beschnitten, dass das Plushie neben VanVan
(Oktopus) nur noch als Ecke sichtbar war. So ist das ganze Foto inkl. beider Plushies zu sehen. */
.portrait { max-width: 540px; }
.portrait .portrait-img,
.portrait img { aspect-ratio: 2 / 3; }
/* Pull-Quote: elegantes, hervorgehobenes Zitat — genutzt für VanVans Zitat auf der Startseite
("Die Kreative") und den Abschluss-Satz auf "Über die Kreative". Serif-Kursiv + Akzent-Rand
statt einfachem Fließtext, damit es sich sichtbar abhebt, aber im Stil der Seite bleibt. */
.pull-quote {
position: relative;
font-family: var(--font-head);
font-style: italic;
font-weight: 500;
font-size: clamp(1.2rem, 1.1rem + 1vw, 1.55rem);
line-height: 1.55;
color: var(--c-text);
padding: 0.2rem 0 0.2rem 1.4rem;
border-left: 3px solid var(--c-accent);
margin: 1.4rem 0;
}
.pull-quote-center {
text-align: center;
border-left: none;
border-top: 1px solid rgba(95, 211, 236, 0.3);
border-bottom: 1px solid rgba(95, 211, 236, 0.3);
padding: 1.6rem 1rem;
max-width: 720px;
margin-inline: auto;
}
/* Story-Abschnitte ("Über die Kreative"): wiederkehrende h2+Absätze mit klarer Struktur und
sanftem Einblenden beim Scrollen (dezente Verbesserung, kein Redesign). */
.story-section { padding-block: 1.6rem; }
.story-section:not(:last-child) { border-bottom: 1px solid rgba(244, 241, 247, 0.07); }
.story-section h2 { color: var(--c-text); }
.story-section p { max-width: 68ch; }
.story-section.is-visible { animation: story-fade-up 0.7s var(--ease) both; }
@keyframes story-fade-up {
from { opacity: 0; transform: translateY(18px); }
to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
.story-section.is-visible { animation: none; }
}
/* Unterkategorie-Chips auf den Hauptkategorie-Seiten — mittig, mit demselben Verlaufsrand-Stil
wie die Karten der Seite (siehe .card), statt schlichter Einzelfarb-Pillen. Wirkt dadurch
"speziell" und zur Marke passend, bleibt aber ruhig/professionell statt aufdringlich. */
.subcategory-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin: 1.6rem 0 2.5rem; }
.subcategory-chip {
position: relative;
isolation: isolate;
display: inline-flex;
align-items: center;
padding: 0.65em 1.4em;
border-radius: 999px;
font-size: 0.92rem;
font-weight: 700;
color: var(--c-text);
border: 1.5px solid transparent;
background:
linear-gradient(165deg, var(--c-anthracite-light), var(--c-anthracite)) padding-box,
linear-gradient(135deg, var(--c-accent), var(--c-purple-glow) 50%, var(--c-sale) 100%) border-box;
box-shadow: var(--shadow-card);
transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s var(--ease);
}
.subcategory-chip:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); filter: brightness(1.1); }
/* Persönliche Vorstellung eines Plushie-Charakters auf seiner Unterkategorie-Seite (z.B.
"Hallo, ich bin Frieda ..."). Dezente Box im Kartenstil des Shops, kein neues Designelement. */
.character-intro {
max-width: 640px;
margin: 1.6rem 0 2rem;
padding: 1.4rem 1.6rem;
border-radius: var(--radius-l);
background: var(--c-anthracite);
border: 1px solid rgba(244, 241, 247, 0.1);
border-left: 3px solid var(--c-accent);
}
.character-intro p { margin: 0; white-space: pre-line; }
.character-intro p:first-child { font-family: var(--font-head); font-weight: 600; color: var(--c-text); margin-bottom: 0.5em; }
/* "Willst du mehr über X erfahren?" + Link-Button — sowohl innerhalb der character-intro-Box
(falls noch kein echtes Produkt zugeordnet ist) als auch frei im Intro-Layout (sobald ein
echtes Produkt featured wird). */
.character-more { margin-top: 1rem; }
.character-more p { margin: 0 0 0.6em; color: var(--c-text-muted); }
/* Seiten-Banner (Shop, Sale, ...): echtes Foto/Grafik als Kopfbild mit Verlauf-Überblendung
unten, damit Titel/Text darauf lesbar bleiben — ersetzt die reine Text-Kopfzeile durch ein
echtes visuelles Signal, wie im Pflichtenheft für "Bannerplätze" gefordert. */
.page-banner {
position: relative;
/* aspect-ratio statt fester min-height, damit das Bild bei background-size:cover NICHT
oben/unten beschnitten wird — die Box hat exakt das Seitenverhältnis des Fotos, jedes
Banner setzt seinen eigenen Wert per Inline-Style (--banner-ratio). */
aspect-ratio: var(--banner-ratio, 1600 / 729);
display: flex;
align-items: flex-end;
background-size: cover;
background-position: center;
border-radius: var(--radius-l);
overflow: hidden;
margin-inline: auto;
margin-top: 1.5rem;
}
.page-banner::before {
content: "";
position: absolute;
inset: 0;
background:
linear-gradient(180deg, rgba(10, 9, 16, 0.15) 0%, rgba(10, 9, 16, 0.55) 55%, rgba(10, 9, 16, 0.92) 100%),
linear-gradient(100deg, rgba(46, 27, 71, 0.35), transparent 55%);
}
.page-banner-content { position: relative; z-index: 1; padding: 1.8rem clamp(1.25rem, 4vw, 2.5rem); }
.page-banner-content .eyebrow { color: var(--c-accent); }
.page-banner-content h1 { margin-bottom: 0.35em; text-shadow: 0 2px 12px rgba(0,0,0,0.5); }
.page-banner-content .lead { color: var(--c-text); max-width: 620px; }
/* Shop-Übersicht + Kategorie-Seiten */
.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 2rem; align-items: start; }
.filters h3 { margin-bottom: 1rem; }
.filter-group { margin-bottom: 1.2rem; }
.filter-group label, #f-kategorie-label { display: block; font-size: 0.85rem; color: var(--c-text-muted); margin-bottom: 0.4rem; }
.filter-group select, .filter-group input[type="range"] { width: 100%; }
.filters select, .shop-toolbar select {
background: var(--c-anthracite); color: var(--c-text);
border: 1px solid rgba(244,241,247,0.15); border-radius: var(--radius-s); padding: 0.5em 0.7em;
}
/* Kategorie-Filter im Shop: eigenes Dropdown statt nativem