Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
41fa7ddf73 | ||
|
|
ab9dfff33f | ||
|
|
2cb39f0c55 | ||
|
|
c1345eaca7 | ||
|
|
d0c7916386 | ||
|
|
9de9ce7f43 | ||
|
|
9d3180287a | ||
|
|
3f2c51eb1f | ||
|
|
0786fbac8b | ||
|
|
ab588fd27b |
No files matched your search
@@ -3,6 +3,12 @@
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
||||
<link
|
||||
href="https://fonts.googleapis.com/css2?family=Questrial&display=swap"
|
||||
rel="stylesheet"
|
||||
/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>parfum-shop</title>
|
||||
</head>
|
||||
|
||||
@@ -683,9 +683,6 @@
|
||||
"arm64"
|
||||
],
|
||||
"dev": true,
|
||||
"libc": [
|
||||
"glibc"
|
||||
],
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
@@ -703,9 +700,6 @@
|
||||
"arm64"
|
||||
],
|
||||
"dev": true,
|
||||
"libc": [
|
||||
"musl"
|
||||
],
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
@@ -723,9 +717,6 @@
|
||||
"ppc64"
|
||||
],
|
||||
"dev": true,
|
||||
"libc": [
|
||||
"glibc"
|
||||
],
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
@@ -743,9 +734,6 @@
|
||||
"s390x"
|
||||
],
|
||||
"dev": true,
|
||||
"libc": [
|
||||
"glibc"
|
||||
],
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
@@ -763,9 +751,6 @@
|
||||
"x64"
|
||||
],
|
||||
"dev": true,
|
||||
"libc": [
|
||||
"glibc"
|
||||
],
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
@@ -783,9 +768,6 @@
|
||||
"x64"
|
||||
],
|
||||
"dev": true,
|
||||
"libc": [
|
||||
"musl"
|
||||
],
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
|
||||
|
After Width: | Height: | Size: 1.8 MiB |
|
After Width: | Height: | Size: 179 KiB |
|
After Width: | Height: | Size: 138 KiB |
|
After Width: | Height: | Size: 169 KiB |
|
After Width: | Height: | Size: 154 KiB |
|
After Width: | Height: | Size: 138 KiB |
|
After Width: | Height: | Size: 175 KiB |
@@ -1,4 +1,11 @@
|
||||
import { spawn } from "node:child_process";
|
||||
import path from "node:path";
|
||||
|
||||
const viteBin = path.join(
|
||||
"node_modules",
|
||||
".bin",
|
||||
process.platform === "win32" ? "vite.cmd" : "vite"
|
||||
);
|
||||
|
||||
const run = (name, command, args, env = {}) => {
|
||||
const child = spawn(command, args, {
|
||||
@@ -22,7 +29,7 @@ const run = (name, command, args, env = {}) => {
|
||||
};
|
||||
|
||||
const api = run("api", "node", ["server/index.js"], { API_PORT: "4174" });
|
||||
const vite = run("vite", "node_modules/.bin/vite", []);
|
||||
const vite = run("vite", viteBin, []);
|
||||
|
||||
const stop = () => {
|
||||
api.kill("SIGTERM");
|
||||
|
||||
@@ -7,9 +7,73 @@ body,
|
||||
#root {
|
||||
margin: 0;
|
||||
min-height: 100%;
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
font-family: "Questrial", Arial, Helvetica, sans-serif;
|
||||
}
|
||||
|
||||
#root {
|
||||
background: var(--theme-bg);
|
||||
color: var(--theme-text);
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
body {
|
||||
background: #efefef;
|
||||
}
|
||||
background: var(--theme-bg);
|
||||
}
|
||||
|
||||
main {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.page,
|
||||
.detail-page,
|
||||
.discovery-page,
|
||||
.about-page,
|
||||
.support-page,
|
||||
.small-page {
|
||||
isolation: isolate;
|
||||
}
|
||||
|
||||
.navbar--light .nav-pill,
|
||||
.navbar--light .nav-link,
|
||||
[class*="-page"],
|
||||
[class*="-shell"],
|
||||
[class*="-card"],
|
||||
[class*="-panel"],
|
||||
[class*="-box"],
|
||||
button,
|
||||
input,
|
||||
textarea {
|
||||
transition:
|
||||
background-color var(--duration-med) var(--ease-out),
|
||||
border-color var(--duration-med) var(--ease-out),
|
||||
color var(--duration-med) var(--ease-out),
|
||||
box-shadow var(--duration-med) var(--ease-out);
|
||||
}
|
||||
|
||||
body.theme-dark .navbar--light .nav-pill {
|
||||
background: rgba(38, 38, 38, 0.88);
|
||||
border-color: rgba(234, 234, 234, 0.26);
|
||||
}
|
||||
|
||||
body.theme-dark .navbar--light .nav-link {
|
||||
color: var(--theme-white);
|
||||
}
|
||||
|
||||
body.theme-dark .navbar--light .nav-link:hover,
|
||||
body.theme-dark .navbar--light .nav-link.active {
|
||||
background: rgba(234, 234, 234, 0.15);
|
||||
}
|
||||
|
||||
body.theme-dark .navbar--light .nav-theme-switch__track {
|
||||
border-color: rgba(234, 234, 234, 0.3);
|
||||
background: rgba(234, 234, 234, 0.14);
|
||||
}
|
||||
|
||||
body.theme-dark .navbar--light .nav-brand-logo {
|
||||
filter: invert(1) brightness(1.08);
|
||||
}
|
||||
|
||||
body.theme-light .navbar--light .nav-link:hover,
|
||||
body.theme-light .navbar--light .nav-link.active {
|
||||
background: var(--theme-surface-soft);
|
||||
}
|
||||
@@ -1,4 +1,5 @@
|
||||
import { Routes, Route } from "react-router";
|
||||
import { useEffect, useRef, useState } from "react";
|
||||
import { Routes, Route, useLocation } from "react-router";
|
||||
import LandingPage from "./pages/LandingPage";
|
||||
import ProductDetailPage from "./components/ProductDetailPage";
|
||||
import AboutPage from "./pages/AboutPage";
|
||||
@@ -12,28 +13,67 @@ import SupportChatbot from "./components/SupportChatbot";
|
||||
import ScrollToTop from "./components/ScrollToTop";
|
||||
import ShopDrawer from "./components/ShopDrawer";
|
||||
import CartToast from "./components/CartToast";
|
||||
import useScrollTextReveal from "./hooks/useScrollTextReveal";
|
||||
import { ThemeProvider } from "./theme/ThemeContext";
|
||||
import "./style/textReveal.css";
|
||||
|
||||
const THEME_STORAGE_KEY = "atmos-theme";
|
||||
|
||||
function App() {
|
||||
const location = useLocation();
|
||||
const routeContentRef = useRef(null);
|
||||
const [theme, setTheme] = useState(() => {
|
||||
if (typeof window === "undefined") return "dark";
|
||||
const storedTheme = window.localStorage.getItem(THEME_STORAGE_KEY);
|
||||
return storedTheme === "light" ? "light" : "dark";
|
||||
});
|
||||
const shouldFlushFooter =
|
||||
location.pathname === "/" || location.pathname.startsWith("/duft/");
|
||||
|
||||
useScrollTextReveal(routeContentRef, location.pathname);
|
||||
|
||||
useEffect(() => {
|
||||
if (typeof document === "undefined") return;
|
||||
|
||||
document.body.classList.remove("theme-dark", "theme-light");
|
||||
document.body.classList.add(theme === "light" ? "theme-light" : "theme-dark");
|
||||
document.documentElement.style.colorScheme = theme === "light" ? "light" : "dark";
|
||||
|
||||
if (typeof window !== "undefined") {
|
||||
window.localStorage.setItem(THEME_STORAGE_KEY, theme);
|
||||
}
|
||||
}, [theme]);
|
||||
|
||||
const toggleTheme = () => {
|
||||
setTheme((currentTheme) => (currentTheme === "dark" ? "light" : "dark"));
|
||||
};
|
||||
|
||||
const isLight = theme === "light";
|
||||
|
||||
return (
|
||||
<>
|
||||
<ScrollToTop />
|
||||
<ThemeProvider value={{ theme, isLight, toggleTheme }}>
|
||||
<>
|
||||
<ScrollToTop />
|
||||
|
||||
<Routes>
|
||||
<Route path="/" element={<LandingPage />} />
|
||||
<Route path="/duft/:perfumeSlug" element={<ProductDetailPage />} />
|
||||
<Route path="/about" element={<AboutPage />} />
|
||||
<Route path="/impressum" element={<ImpressumPage />} />
|
||||
<Route path="/datenschutz" element={<DatenschutzPage />} />
|
||||
<Route path="/support" element={<SupportPage />} />
|
||||
<Route path="/discovery-set" element={<DiscoverySetPage />} />
|
||||
<Route path="/small-batch" element={<SmallBatchPage />} />
|
||||
</Routes>
|
||||
<div ref={routeContentRef}>
|
||||
<Routes>
|
||||
<Route path="/" element={<LandingPage />} />
|
||||
<Route path="/duft/:perfumeSlug" element={<ProductDetailPage />} />
|
||||
<Route path="/about" element={<AboutPage />} />
|
||||
<Route path="/impressum" element={<ImpressumPage />} />
|
||||
<Route path="/datenschutz" element={<DatenschutzPage />} />
|
||||
<Route path="/support" element={<SupportPage />} />
|
||||
<Route path="/discovery-set" element={<DiscoverySetPage />} />
|
||||
<Route path="/small-batch" element={<SmallBatchPage />} />
|
||||
</Routes>
|
||||
</div>
|
||||
|
||||
<ShopDrawer />
|
||||
<CartToast />
|
||||
<Footer />
|
||||
<SupportChatbot />
|
||||
</>
|
||||
<ShopDrawer />
|
||||
<CartToast />
|
||||
<Footer flushTop={shouldFlushFooter} />
|
||||
<SupportChatbot />
|
||||
</>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,80 +1,114 @@
|
||||
.site-footer {
|
||||
margin-top: 40px;
|
||||
background: #1f1f1f;
|
||||
position: relative;
|
||||
margin-top: 0;
|
||||
overflow: hidden;
|
||||
background:
|
||||
radial-gradient(circle at 82% 10%, rgba(var(--theme-accent-rgb) / 0.15), transparent 22rem),
|
||||
#171717;
|
||||
color: #f5f5f5;
|
||||
border-top: 1px solid rgba(255, 255, 255, 0.08);
|
||||
}
|
||||
|
||||
.site-footer--flush {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.site-footer::before {
|
||||
content: "ATMOS";
|
||||
position: absolute;
|
||||
right: var(--page-x);
|
||||
bottom: -0.16em;
|
||||
color: rgba(255, 255, 255, 0.035);
|
||||
font-size: clamp(5.5rem, 18vw, 20rem);
|
||||
line-height: 0.8;
|
||||
letter-spacing: 0;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.site-footer__inner {
|
||||
max-width: 1600px;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
width: var(--container-wide);
|
||||
margin: 0 auto;
|
||||
padding: 28px 20px 32px;
|
||||
padding: clamp(2.4rem, 7vw, 6.5rem) 0 clamp(2.2rem, 5vw, 4.8rem);
|
||||
display: grid;
|
||||
grid-template-columns: 1.4fr 1fr 1fr;
|
||||
gap: 28px;
|
||||
grid-template-columns: minmax(0, 1.4fr) minmax(12rem, 0.65fr) minmax(12rem, 0.75fr);
|
||||
gap: var(--gap-lg);
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
.site-footer__brand {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
gap: var(--gap-sm);
|
||||
}
|
||||
|
||||
.site-footer__logo {
|
||||
text-decoration: none;
|
||||
width: fit-content;
|
||||
color: #fff;
|
||||
font-size: 14px;
|
||||
font-size: clamp(1rem, 1.5vw, 1.2rem);
|
||||
letter-spacing: 0.22em;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.site-footer__text {
|
||||
max-width: 32rem;
|
||||
margin: 0;
|
||||
max-width: 320px;
|
||||
font-size: 14px;
|
||||
line-height: 1.6;
|
||||
color: rgba(255, 255, 255, 0.72);
|
||||
color: rgba(255, 255, 255, 0.7);
|
||||
font-size: var(--text-base);
|
||||
line-height: 1.65;
|
||||
}
|
||||
|
||||
.site-footer__nav-group {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
gap: var(--gap-sm);
|
||||
padding-top: 0.2rem;
|
||||
}
|
||||
|
||||
.site-footer__heading {
|
||||
font-size: 10px;
|
||||
color: rgba(255, 255, 255, 0.52);
|
||||
font-size: var(--text-xs);
|
||||
letter-spacing: 0.22em;
|
||||
text-transform: uppercase;
|
||||
color: rgba(255, 255, 255, 0.5);
|
||||
}
|
||||
|
||||
.site-footer__nav {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
gap: 0.72rem;
|
||||
}
|
||||
|
||||
.site-footer__nav a {
|
||||
text-decoration: none;
|
||||
width: fit-content;
|
||||
color: #f5f5f5;
|
||||
font-size: 14px;
|
||||
transition: opacity 0.2s ease, transform 0.2s ease;
|
||||
font-size: var(--text-sm);
|
||||
line-height: 1.2;
|
||||
text-decoration: none;
|
||||
transition:
|
||||
color var(--duration-med) var(--ease-out),
|
||||
opacity var(--duration-med) var(--ease-out),
|
||||
transform var(--duration-med) var(--ease-out);
|
||||
}
|
||||
|
||||
.site-footer__nav a:hover {
|
||||
opacity: 0.7;
|
||||
transform: translateX(2px);
|
||||
.site-footer__nav a:hover,
|
||||
.site-footer__nav a:focus-visible {
|
||||
color: var(--theme-accent);
|
||||
transform: translateX(0.25rem);
|
||||
}
|
||||
|
||||
@media (max-width: 900px) {
|
||||
.site-footer__inner {
|
||||
grid-template-columns: 1fr 1fr;
|
||||
}
|
||||
|
||||
.site-footer__brand {
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.site-footer__inner {
|
||||
grid-template-columns: 1fr;
|
||||
padding: 24px 16px 28px;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,9 +1,9 @@
|
||||
import { Link } from "react-router";
|
||||
import "./Footer.css";
|
||||
|
||||
function Footer() {
|
||||
function Footer({ flushTop = false }) {
|
||||
return (
|
||||
<footer className="site-footer">
|
||||
<footer className={`site-footer${flushTop ? " site-footer--flush" : ""}`}>
|
||||
<div className="site-footer__inner">
|
||||
<div className="site-footer__brand">
|
||||
<Link to="/" className="site-footer__logo">
|
||||
@@ -37,4 +37,4 @@ function Footer() {
|
||||
);
|
||||
}
|
||||
|
||||
export default Footer;
|
||||
export default Footer;
|
||||
@@ -26,6 +26,8 @@ function ProductDetailContent({ perfumeSlug }) {
|
||||
const [selectedSize, setSelectedSize] = useState("sample");
|
||||
const [showReviewDetails, setShowReviewDetails] = useState(false);
|
||||
const [commentPage, setCommentPage] = useState(0);
|
||||
const [isStructureOpen, setIsStructureOpen] = useState(false);
|
||||
const [isMoodOpen, setIsMoodOpen] = useState(false);
|
||||
const selectedProductId = `${perfume.slug}-${selectedSize === "sample" ? "sample" : "full"}`;
|
||||
const selectedProductLabel = selectedSize === "sample" ? "Sample" : "Full Size";
|
||||
const selectedPriceCents = priceToCents(perfume.prices[selectedSize]);
|
||||
@@ -111,7 +113,7 @@ function ProductDetailContent({ perfumeSlug }) {
|
||||
<section className="detail-layout">
|
||||
<div className="detail-gallery">
|
||||
<div className="detail-main-image">
|
||||
<img src={selectedImage} alt={perfume.name} />
|
||||
<img src={selectedImage} alt={perfume.name} decoding="async" />
|
||||
</div>
|
||||
|
||||
<div className="detail-thumbs">
|
||||
@@ -124,7 +126,12 @@ function ProductDetailContent({ perfumeSlug }) {
|
||||
className={`thumb-btn ${selectedImage === img ? "active" : ""}`}
|
||||
onClick={() => setSelectedImage(img)}
|
||||
>
|
||||
<img src={img} alt={`${perfume.name} Ansicht ${index + 1}`} />
|
||||
<img
|
||||
src={img}
|
||||
alt={`${perfume.name} Ansicht ${index + 1}`}
|
||||
loading="lazy"
|
||||
decoding="async"
|
||||
/>
|
||||
</button>
|
||||
))}
|
||||
</div>
|
||||
@@ -146,81 +153,112 @@ function ProductDetailContent({ perfumeSlug }) {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="detail-structure-layout">
|
||||
<div className="detail-structure">
|
||||
<h3>DUFTSTRUKTUR</h3>
|
||||
{/* --- Accordion Group Start --- */}
|
||||
<div className="accordion-group">
|
||||
|
||||
{/* Dropdown: Duftstruktur */}
|
||||
<div className={`accordion-item ${isStructureOpen ? "is-open" : ""}`}>
|
||||
<button
|
||||
type="button"
|
||||
className="accordion-toggle"
|
||||
onClick={() => setIsStructureOpen(!isStructureOpen)}
|
||||
>
|
||||
<span>DUFTSTRUKTUR</span>
|
||||
<span className="accordion-icon">{isStructureOpen ? "−" : "+"}</span>
|
||||
</button>
|
||||
|
||||
{isStructureOpen && (
|
||||
<div className="accordion-content">
|
||||
<div className="detail-structure-layout">
|
||||
<div className="detail-structure">
|
||||
<div className="structure-block">
|
||||
<span className="structure-phase">PHASE 1: TOP NOTES (0–1 H)</span>
|
||||
<div className="structure-tags-grid">
|
||||
{perfume.phases.top.map((note) => (
|
||||
<span key={note} className="structure-tag">{note}</span>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="structure-block">
|
||||
<span className="structure-phase">PHASE 1: TOP NOTES (0–1 H)</span>
|
||||
<div className="structure-tags-grid">
|
||||
{perfume.phases.top.map((note) => (
|
||||
<span key={note} className="structure-tag">
|
||||
{note}
|
||||
</span>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
<div className="structure-block">
|
||||
<span className="structure-phase">PHASE 2: HEART NOTES (1–4 H)</span>
|
||||
<div className="structure-tags-grid">
|
||||
{perfume.phases.heart.map((note) => (
|
||||
<span key={note} className="structure-tag">{note}</span>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="structure-block">
|
||||
<span className="structure-phase">PHASE 2: HEART NOTES (1–4 H)</span>
|
||||
<div className="structure-tags-grid">
|
||||
{perfume.phases.heart.map((note) => (
|
||||
<span key={note} className="structure-tag">
|
||||
{note}
|
||||
</span>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
<div className="structure-block">
|
||||
<span className="structure-phase">PHASE 3: BASE NOTES (4 H+)</span>
|
||||
<div className="structure-tags-grid">
|
||||
{perfume.phases.base.map((note) => (
|
||||
<span key={note} className="structure-tag">{note}</span>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="structure-block">
|
||||
<span className="structure-phase">PHASE 3: BASE NOTES (4 H+)</span>
|
||||
<div className="structure-tags-grid">
|
||||
{perfume.phases.base.map((note) => (
|
||||
<span key={note} className="structure-tag">
|
||||
{note}
|
||||
</span>
|
||||
))}
|
||||
<aside className="structure-info-box">
|
||||
<span className="structure-info-label">ZUR EINORDNUNG</span>
|
||||
<p>
|
||||
Die Duftstruktur zeigt, wie sich der Duft über die Zeit entfaltet:
|
||||
der erste Eindruck im Auftakt, die eigentliche Signatur im Herzen
|
||||
und die Spur, die lange auf Haut und Kleidung bleibt.
|
||||
</p>
|
||||
|
||||
<div className="structure-info-legend">
|
||||
<div>
|
||||
<span className="structure-info-dot structure-info-dot--light" />
|
||||
<span>Auftakt</span>
|
||||
</div>
|
||||
<div>
|
||||
<span className="structure-info-dot structure-info-dot--mid" />
|
||||
<span>Herz</span>
|
||||
</div>
|
||||
<div>
|
||||
<span className="structure-info-dot structure-info-dot--strong" />
|
||||
<span>Basis</span>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
|
||||
<aside className="structure-info-box">
|
||||
<span className="structure-info-label">ZUR EINORDNUNG</span>
|
||||
<p>
|
||||
Die Duftstruktur zeigt, wie sich der Duft über die Zeit entfaltet:
|
||||
der erste Eindruck im Auftakt, die eigentliche Signatur im Herzen
|
||||
und die Spur, die lange auf Haut und Kleidung bleibt.
|
||||
</p>
|
||||
|
||||
<div className="structure-info-legend">
|
||||
<div>
|
||||
<span className="structure-info-dot structure-info-dot--light" />
|
||||
<span>Auftakt</span>
|
||||
{/* Dropdown: Moodsetting */}
|
||||
<div className={`accordion-item ${isMoodOpen ? "is-open" : ""}`}>
|
||||
<button
|
||||
type="button"
|
||||
className="accordion-toggle"
|
||||
onClick={() => setIsMoodOpen(!isMoodOpen)}
|
||||
>
|
||||
<span>MOODSETTING</span>
|
||||
<span className="accordion-icon">{isMoodOpen ? "−" : "+"}</span>
|
||||
</button>
|
||||
|
||||
{isMoodOpen && (
|
||||
<div className="accordion-content">
|
||||
<div className="mood-box-content">
|
||||
<p>{perfume.mood}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<span className="structure-info-dot structure-info-dot--mid" />
|
||||
<span>Herz</span>
|
||||
</div>
|
||||
<div>
|
||||
<span className="structure-info-dot structure-info-dot--strong" />
|
||||
<span>Basis</span>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
</div>
|
||||
|
||||
<div className="mood-box">
|
||||
<span className="mood-label">MOODSETTING</span>
|
||||
<p>{perfume.mood}</p>
|
||||
)}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
{/* --- Accordion Group End --- */}
|
||||
</div>
|
||||
|
||||
<div className="detail-info">
|
||||
<div className="detail-heading">
|
||||
<div className="detail-heading" data-reveal-group>
|
||||
<div className="detail-heading-copy">
|
||||
<span className="detail-kicker">Edition 04</span>
|
||||
<h1>{perfume.name}</h1>
|
||||
<p>{perfume.shortText}</p>
|
||||
<span className="detail-kicker" data-reveal="fade">
|
||||
Edition 04
|
||||
</span>
|
||||
<h1 data-reveal="fade">{perfume.name}</h1>
|
||||
<p data-reveal="fade">{perfume.shortText}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -251,8 +289,8 @@ function ProductDetailContent({ perfumeSlug }) {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="discovery-note">
|
||||
<div className="discovery-note-text">
|
||||
<div className="discovery-note" data-reveal-group data-reveal-start="top 88%">
|
||||
<div className="discovery-note-text" data-reveal="fade">
|
||||
<strong>Discovery Set wird einmalig angerechnet</strong>
|
||||
<p>
|
||||
Nur das erste Discovery Set erzeugt CHF 48 Guthaben. Es wird
|
||||
@@ -266,7 +304,7 @@ function ProductDetailContent({ perfumeSlug }) {
|
||||
)}
|
||||
</div>
|
||||
|
||||
<Link to="/discovery-set" className="discovery-note-btn">
|
||||
<Link to="/discovery-set" className="discovery-note-btn" data-reveal="fade">
|
||||
Zum Set
|
||||
</Link>
|
||||
</div>
|
||||
@@ -437,15 +475,15 @@ function ProductDetailContent({ perfumeSlug }) {
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section className="detail-bottom-cta">
|
||||
<h2>Lieber erst testen?</h2>
|
||||
<p>
|
||||
<section className="detail-bottom-cta" data-reveal-group>
|
||||
<h2 data-reveal="fade">Lieber erst testen?</h2>
|
||||
<p data-reveal="fade">
|
||||
Bestelle ein 2ml Sample für CHF 12 oder das komplette Discovery Set
|
||||
mit allen 6 Düften für CHF 48. Beide werden beim späteren Full-Size-Kauf
|
||||
vollständig angerechnet.
|
||||
</p>
|
||||
|
||||
<div className="detail-bottom-actions">
|
||||
<div className="detail-bottom-actions" data-reveal="fade">
|
||||
<button
|
||||
type="button"
|
||||
onClick={() =>
|
||||
|
||||
@@ -1,17 +1,25 @@
|
||||
import { Link } from "react-router";
|
||||
import { useShop } from "../shop/useShop";
|
||||
import { useTheme } from "../theme/useTheme";
|
||||
import "../style/navbar.css";
|
||||
|
||||
function SharedNavbar({ variant = "light", active = "" }) {
|
||||
const { cart, openCart, openProfile, user } = useShop();
|
||||
const { isLight, toggleTheme } = useTheme();
|
||||
const cartLabel =
|
||||
cart.total_quantity > 0 ? `Cart ${cart.total_quantity}` : "Cart";
|
||||
const logoSrc =
|
||||
variant === "hero" ? "/atmos-logo-light.svg" : "/atmos-logo-dark.svg";
|
||||
|
||||
return (
|
||||
<nav className={`navbar navbar--${variant}`} aria-label="Hauptnavigation">
|
||||
<div className="nav-pill">
|
||||
<Link to="/" className={`nav-link ${active === "atmos" ? "active" : ""}`}>
|
||||
atmos
|
||||
<Link
|
||||
to="/"
|
||||
className={`nav-link nav-link--brand ${active === "atmos" ? "active" : ""}`}
|
||||
aria-label="Atmos Startseite"
|
||||
>
|
||||
<img src={logoSrc} alt="" className="nav-brand-logo" />
|
||||
</Link>
|
||||
<Link
|
||||
to="/discovery-set"
|
||||
@@ -25,6 +33,17 @@ function SharedNavbar({ variant = "light", active = "" }) {
|
||||
<button type="button" className="nav-link nav-button" onClick={openProfile}>
|
||||
{user ? "Profile" : "Profile"}
|
||||
</button>
|
||||
<button
|
||||
type="button"
|
||||
className={`nav-link nav-button nav-theme-switch ${isLight ? "is-light" : ""}`}
|
||||
onClick={toggleTheme}
|
||||
aria-label={isLight ? "Switch to dark mode" : "Switch to light mode"}
|
||||
aria-pressed={isLight}
|
||||
>
|
||||
<span className="nav-theme-switch__track" aria-hidden="true">
|
||||
<span className="nav-theme-switch__thumb" />
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
</nav>
|
||||
);
|
||||
|
||||
@@ -22,9 +22,9 @@
|
||||
height: 100vh;
|
||||
padding: 22px;
|
||||
overflow-y: auto;
|
||||
background: #f5f5f5;
|
||||
border-left: 1px solid #d9d9d9;
|
||||
color: #1f1f1f;
|
||||
background: var(--theme-surface);
|
||||
border-left: 1px solid var(--theme-border);
|
||||
color: var(--theme-text);
|
||||
transform: translateX(100%);
|
||||
transition: transform 0.24s ease;
|
||||
}
|
||||
@@ -44,7 +44,7 @@
|
||||
|
||||
.drawer-top {
|
||||
padding-bottom: 18px;
|
||||
border-bottom: 1px solid #d9d9d9;
|
||||
border-bottom: 1px solid var(--theme-border);
|
||||
margin-bottom: 18px;
|
||||
font-size: 12px;
|
||||
letter-spacing: 0.24em;
|
||||
@@ -54,9 +54,9 @@
|
||||
.cart-toast-close {
|
||||
width: 34px;
|
||||
height: 34px;
|
||||
border: 1px solid #d6d6d6;
|
||||
background: #f1f1f1;
|
||||
color: #1f1f1f;
|
||||
border: 1px solid var(--theme-border);
|
||||
background: var(--theme-surface-soft);
|
||||
color: var(--theme-text);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
@@ -74,8 +74,8 @@
|
||||
|
||||
.drawer-section {
|
||||
padding: 18px;
|
||||
background: #f1f1f1;
|
||||
border: 1px solid #dddddd;
|
||||
background: var(--theme-surface-soft);
|
||||
border: 1px solid var(--theme-border);
|
||||
}
|
||||
|
||||
.drawer-section h2,
|
||||
@@ -89,7 +89,7 @@
|
||||
margin-bottom: 12px;
|
||||
font-size: 10px;
|
||||
letter-spacing: 0.22em;
|
||||
color: #666;
|
||||
color: var(--theme-text-muted);
|
||||
}
|
||||
|
||||
.drawer-grid {
|
||||
@@ -113,17 +113,17 @@
|
||||
font-size: 11px;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
color: #666;
|
||||
color: var(--theme-text-muted);
|
||||
}
|
||||
|
||||
.shop-field input {
|
||||
width: 100%;
|
||||
min-height: 42px;
|
||||
border: 1px solid #d6d6d6;
|
||||
border: 1px solid var(--theme-border);
|
||||
border-radius: 0;
|
||||
background: #f8f8f8;
|
||||
background: var(--theme-surface-soft);
|
||||
padding: 10px 11px;
|
||||
color: #1f1f1f;
|
||||
color: var(--theme-text);
|
||||
font: inherit;
|
||||
letter-spacing: 0;
|
||||
text-transform: none;
|
||||
@@ -158,9 +158,9 @@
|
||||
|
||||
.drawer-secondary {
|
||||
min-height: 38px;
|
||||
border: 1px solid #d6d6d6;
|
||||
background: #f8f8f8;
|
||||
color: #1f1f1f;
|
||||
border: 1px solid var(--theme-border);
|
||||
background: var(--theme-surface-soft);
|
||||
color: var(--theme-text);
|
||||
padding: 0 13px;
|
||||
}
|
||||
|
||||
@@ -176,8 +176,8 @@
|
||||
.read-block,
|
||||
.status-box,
|
||||
.requirement-row {
|
||||
background: #f8f8f8;
|
||||
border: 1px solid #dddddd;
|
||||
background: var(--theme-surface-soft);
|
||||
border: 1px solid var(--theme-border);
|
||||
}
|
||||
|
||||
.cart-item {
|
||||
@@ -197,7 +197,7 @@
|
||||
.drawer-muted,
|
||||
.order-card p {
|
||||
margin: 0;
|
||||
color: #666;
|
||||
color: var(--theme-text-muted);
|
||||
font-size: 13px;
|
||||
line-height: 1.45;
|
||||
}
|
||||
@@ -206,8 +206,8 @@
|
||||
display: grid;
|
||||
grid-template-columns: 32px 32px 32px;
|
||||
align-items: center;
|
||||
border: 1px solid #d6d6d6;
|
||||
background: #f1f1f1;
|
||||
border: 1px solid var(--theme-border);
|
||||
background: var(--theme-surface-soft);
|
||||
}
|
||||
|
||||
.cart-controls button {
|
||||
@@ -223,8 +223,8 @@
|
||||
|
||||
.cart-remove {
|
||||
min-height: 34px;
|
||||
border: 1px solid #d6d6d6;
|
||||
background: #f8f8f8;
|
||||
border: 1px solid var(--theme-border);
|
||||
background: var(--theme-surface-soft);
|
||||
padding: 0 10px;
|
||||
}
|
||||
|
||||
@@ -233,8 +233,8 @@
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
min-height: 60px;
|
||||
border: 1px solid #d6d6d6;
|
||||
background: #f8f8f8;
|
||||
border: 1px solid var(--theme-border);
|
||||
background: var(--theme-surface-soft);
|
||||
padding: 12px;
|
||||
}
|
||||
|
||||
@@ -271,8 +271,8 @@
|
||||
.totals-box .discount-explainer {
|
||||
display: block;
|
||||
padding: 12px;
|
||||
border: 1px solid #dddddd;
|
||||
background: #f8f8f8;
|
||||
border: 1px solid var(--theme-border);
|
||||
background: var(--theme-surface-soft);
|
||||
}
|
||||
|
||||
.discount-explainer span {
|
||||
@@ -282,7 +282,7 @@
|
||||
|
||||
.discount-explainer p {
|
||||
margin: 0;
|
||||
color: #1f1f1f;
|
||||
color: var(--theme-text);
|
||||
font-size: 13px;
|
||||
line-height: 1.45;
|
||||
}
|
||||
@@ -293,16 +293,16 @@
|
||||
|
||||
.total-row {
|
||||
padding-top: 10px;
|
||||
border-top: 1px solid #d6d6d6;
|
||||
border-top: 1px solid var(--theme-border);
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.drawer-error {
|
||||
margin: 0;
|
||||
padding: 12px 14px;
|
||||
border: 1px solid #dddddd;
|
||||
background: #f8f8f8;
|
||||
color: #1f1f1f;
|
||||
border: 1px solid var(--theme-border);
|
||||
background: var(--theme-surface-soft);
|
||||
color: var(--theme-text);
|
||||
}
|
||||
|
||||
.drawer-error {
|
||||
@@ -332,7 +332,7 @@
|
||||
.read-block span,
|
||||
.requirement-row span,
|
||||
.totals-box span {
|
||||
color: #666;
|
||||
color: var(--theme-text-muted);
|
||||
font-size: 11px;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
@@ -349,16 +349,16 @@
|
||||
|
||||
.sample-credit-list span {
|
||||
padding: 10px;
|
||||
background: #f8f8f8;
|
||||
border: 1px solid #dddddd;
|
||||
background: var(--theme-surface-soft);
|
||||
border: 1px solid var(--theme-border);
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.pref-toggle {
|
||||
min-height: 58px;
|
||||
padding: 12px;
|
||||
border: 1px solid #d6d6d6;
|
||||
background: #f8f8f8;
|
||||
border: 1px solid var(--theme-border);
|
||||
background: var(--theme-surface-soft);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
@@ -373,11 +373,11 @@
|
||||
.subscription-list {
|
||||
margin-top: 16px;
|
||||
padding-top: 16px;
|
||||
border-top: 1px solid #d6d6d6;
|
||||
border-top: 1px solid var(--theme-border);
|
||||
}
|
||||
|
||||
.subscription-list-title {
|
||||
color: #666;
|
||||
color: var(--theme-text-muted);
|
||||
font-size: 10px;
|
||||
letter-spacing: 0.18em;
|
||||
text-transform: uppercase;
|
||||
@@ -389,8 +389,8 @@
|
||||
gap: 12px;
|
||||
align-items: center;
|
||||
padding: 12px;
|
||||
border: 1px solid #dddddd;
|
||||
background: #f8f8f8;
|
||||
border: 1px solid var(--theme-border);
|
||||
background: var(--theme-surface-soft);
|
||||
}
|
||||
|
||||
.subscription-row div {
|
||||
@@ -400,16 +400,16 @@
|
||||
}
|
||||
|
||||
.subscription-row span {
|
||||
color: #666;
|
||||
color: var(--theme-text-muted);
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.subscription-row button {
|
||||
min-height: 34px;
|
||||
border: 1px solid #d6d6d6;
|
||||
border: 1px solid var(--theme-border);
|
||||
border-radius: 0;
|
||||
background: #f1f1f1;
|
||||
color: #1f1f1f;
|
||||
background: var(--theme-surface-soft);
|
||||
color: var(--theme-text);
|
||||
padding: 0 12px;
|
||||
cursor: pointer;
|
||||
}
|
||||
@@ -444,15 +444,15 @@
|
||||
z-index: 100;
|
||||
width: min(360px, calc(100vw - 44px));
|
||||
padding: 18px;
|
||||
border: 1px solid #d6d6d6;
|
||||
background: #f5f5f5;
|
||||
color: #1f1f1f;
|
||||
border: 1px solid var(--theme-border);
|
||||
background: var(--theme-surface);
|
||||
color: var(--theme-text);
|
||||
box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
|
||||
}
|
||||
|
||||
.cart-toast p {
|
||||
margin: 8px 38px 14px 0;
|
||||
color: #666;
|
||||
color: var(--theme-text-muted);
|
||||
}
|
||||
|
||||
.cart-toast > button:last-child {
|
||||
@@ -466,9 +466,9 @@
|
||||
.cart-toast > button.cart-toast-close:last-child {
|
||||
width: 34px;
|
||||
min-height: 34px;
|
||||
border: 1px solid #d6d6d6;
|
||||
background: #f1f1f1;
|
||||
color: #1f1f1f;
|
||||
border: 1px solid var(--theme-border);
|
||||
background: var(--theme-surface-soft);
|
||||
color: var(--theme-text);
|
||||
}
|
||||
|
||||
.cart-toast-close {
|
||||
@@ -493,3 +493,91 @@
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* --- Design System Refinement Start --- */
|
||||
|
||||
.shop-drawer {
|
||||
width: min(560px, 100%);
|
||||
min-width: 0;
|
||||
padding: clamp(1rem, 3vw, 1.4rem);
|
||||
box-shadow: var(--theme-shadow);
|
||||
}
|
||||
|
||||
.drawer-top button,
|
||||
.cart-toast-close,
|
||||
.cart-controls button,
|
||||
.subscription-row button {
|
||||
min-width: 44px;
|
||||
min-height: 44px;
|
||||
}
|
||||
|
||||
.drawer-section,
|
||||
.cart-item,
|
||||
.order-card,
|
||||
.read-block,
|
||||
.status-box,
|
||||
.requirement-row,
|
||||
.drawer-error,
|
||||
.payment-card,
|
||||
.pref-toggle,
|
||||
.subscription-row,
|
||||
.totals-box .discount-explainer,
|
||||
.cart-toast,
|
||||
.shop-field input {
|
||||
border-radius: var(--radius-lg);
|
||||
}
|
||||
|
||||
.drawer-primary,
|
||||
.drawer-secondary,
|
||||
.cart-remove,
|
||||
.cart-controls,
|
||||
.cart-controls button,
|
||||
.cart-toast button,
|
||||
.subscription-row button {
|
||||
border-radius: 999px;
|
||||
}
|
||||
|
||||
.drawer-primary,
|
||||
.cart-toast > button:last-child {
|
||||
min-height: 48px;
|
||||
}
|
||||
|
||||
.drawer-primary,
|
||||
.drawer-secondary,
|
||||
.cart-remove,
|
||||
.payment-card,
|
||||
.pref-toggle,
|
||||
.subscription-row button {
|
||||
transition:
|
||||
transform var(--duration-med) var(--ease-out),
|
||||
border-color var(--duration-med) var(--ease-out),
|
||||
background-color var(--duration-med) var(--ease-out),
|
||||
box-shadow var(--duration-med) var(--ease-out);
|
||||
}
|
||||
|
||||
.drawer-primary:hover:not(:disabled),
|
||||
.drawer-secondary:hover,
|
||||
.cart-remove:hover,
|
||||
.payment-card:hover,
|
||||
.pref-toggle:hover,
|
||||
.subscription-row button:hover {
|
||||
transform: translateY(-1px);
|
||||
border-color: rgba(var(--theme-accent-rgb) / 0.55);
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.shop-drawer {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.cart-toast {
|
||||
right: var(--page-x);
|
||||
bottom: var(--page-x);
|
||||
width: calc(100vw - (var(--page-x) * 2));
|
||||
}
|
||||
}
|
||||
|
||||
/* --- Design System Refinement End --- */
|
||||
|
||||
|
||||
@@ -34,8 +34,8 @@
|
||||
z-index: 1199;
|
||||
display: grid;
|
||||
grid-template-rows: auto 1fr auto;
|
||||
background: #f5f5f5;
|
||||
border: 1px solid #d9d9d9;
|
||||
background: var(--theme-surface);
|
||||
border: 1px solid var(--theme-border);
|
||||
box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
|
||||
overflow: hidden;
|
||||
}
|
||||
@@ -46,7 +46,7 @@
|
||||
justify-content: space-between;
|
||||
gap: 16px;
|
||||
padding: 18px 18px 16px;
|
||||
border-bottom: 1px solid #dcdcdc;
|
||||
border-bottom: 1px solid var(--theme-border);
|
||||
background: #1f1f1f;
|
||||
}
|
||||
|
||||
@@ -87,7 +87,7 @@
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
background: #f5f5f5;
|
||||
background: var(--theme-surface);
|
||||
}
|
||||
|
||||
.chatbot-message {
|
||||
@@ -100,9 +100,9 @@
|
||||
|
||||
.chatbot-message--bot {
|
||||
align-self: flex-start;
|
||||
background: #ececec;
|
||||
color: #1f1f1f;
|
||||
border: 1px solid #dddddd;
|
||||
background: var(--theme-surface-soft);
|
||||
color: var(--theme-text);
|
||||
border: 1px solid var(--theme-border);
|
||||
}
|
||||
|
||||
.chatbot-message--user {
|
||||
@@ -112,22 +112,22 @@
|
||||
}
|
||||
|
||||
.chatbot-message--typing {
|
||||
color: #666;
|
||||
color: var(--theme-text-muted);
|
||||
}
|
||||
|
||||
.chatbot-quick-actions {
|
||||
padding: 14px 18px 16px;
|
||||
border-top: 1px solid #dcdcdc;
|
||||
border-top: 1px solid var(--theme-border);
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 10px;
|
||||
background: #fafafa;
|
||||
background: var(--theme-surface-soft);
|
||||
}
|
||||
|
||||
.chatbot-chip {
|
||||
border: 1px solid #d6d6d6;
|
||||
background: #fff;
|
||||
color: #1f1f1f;
|
||||
border: 1px solid var(--theme-border);
|
||||
background: var(--theme-paper);
|
||||
color: var(--theme-text);
|
||||
padding: 9px 12px;
|
||||
font-size: 13px;
|
||||
cursor: pointer;
|
||||
@@ -136,13 +136,13 @@
|
||||
|
||||
.chatbot-chip:hover {
|
||||
transform: translateY(-1px);
|
||||
border-color: #bcbcbc;
|
||||
border-color: var(--theme-border);
|
||||
}
|
||||
|
||||
.chatbot-footer {
|
||||
padding: 14px 18px 18px;
|
||||
border-top: 1px solid #dcdcdc;
|
||||
background: #fff;
|
||||
border-top: 1px solid var(--theme-border);
|
||||
background: var(--theme-paper);
|
||||
}
|
||||
|
||||
.chatbot-form {
|
||||
@@ -153,8 +153,8 @@
|
||||
|
||||
.chatbot-input {
|
||||
width: 100%;
|
||||
border: 1px solid #d3d3d3;
|
||||
background: #fff;
|
||||
border: 1px solid var(--theme-border);
|
||||
background: var(--theme-paper);
|
||||
padding: 12px 14px;
|
||||
font-size: 14px;
|
||||
outline: none;
|
||||
@@ -191,13 +191,13 @@
|
||||
}
|
||||
|
||||
.chatbot-link--muted {
|
||||
color: #777;
|
||||
color: var(--theme-text-muted);
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.chatbot-action-area {
|
||||
border-top: 1px solid #dcdcdc;
|
||||
background: #fafafa;
|
||||
border-top: 1px solid var(--theme-border);
|
||||
background: var(--theme-surface-soft);
|
||||
}
|
||||
|
||||
.chatbot-section {
|
||||
@@ -205,7 +205,7 @@
|
||||
}
|
||||
|
||||
.chatbot-section + .chatbot-section {
|
||||
border-top: 1px solid #e2e2e2;
|
||||
border-top: 1px solid var(--theme-border);
|
||||
}
|
||||
|
||||
.chatbot-section-label {
|
||||
@@ -213,7 +213,7 @@
|
||||
margin-bottom: 10px;
|
||||
font-size: 10px;
|
||||
letter-spacing: 0.22em;
|
||||
color: #666;
|
||||
color: var(--theme-text-muted);
|
||||
}
|
||||
|
||||
.chatbot-feedback-actions {
|
||||
@@ -223,9 +223,9 @@
|
||||
}
|
||||
|
||||
.chatbot-feedback-btn {
|
||||
border: 1px solid #d6d6d6;
|
||||
background: #fff;
|
||||
color: #1f1f1f;
|
||||
border: 1px solid var(--theme-border);
|
||||
background: var(--theme-paper);
|
||||
color: var(--theme-text);
|
||||
padding: 10px 14px;
|
||||
font-size: 13px;
|
||||
cursor: pointer;
|
||||
@@ -234,7 +234,7 @@
|
||||
|
||||
.chatbot-feedback-btn:hover {
|
||||
transform: translateY(-1px);
|
||||
border-color: #bcbcbc;
|
||||
border-color: var(--theme-border);
|
||||
}
|
||||
|
||||
.chatbot-feedback-btn--primary {
|
||||
@@ -272,4 +272,84 @@
|
||||
.chatbot-header-copy h3 {
|
||||
font-size: 20px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* --- Design System Refinement Start --- */
|
||||
|
||||
.chatbot-trigger {
|
||||
min-height: 48px;
|
||||
right: var(--page-x);
|
||||
bottom: var(--page-x);
|
||||
box-shadow: var(--theme-shadow-soft);
|
||||
}
|
||||
|
||||
.chatbot-trigger:hover,
|
||||
.chatbot-trigger:focus-visible {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: var(--theme-shadow);
|
||||
}
|
||||
|
||||
.chatbot-window {
|
||||
right: var(--page-x);
|
||||
bottom: calc(var(--page-x) + 4rem);
|
||||
border-radius: var(--radius-lg);
|
||||
box-shadow: var(--theme-shadow);
|
||||
}
|
||||
|
||||
.chatbot-close,
|
||||
.chatbot-send,
|
||||
.chatbot-chip,
|
||||
.chatbot-feedback-btn {
|
||||
min-height: 44px;
|
||||
}
|
||||
|
||||
.chatbot-close {
|
||||
min-width: 44px;
|
||||
}
|
||||
|
||||
.chatbot-message,
|
||||
.chatbot-chip,
|
||||
.chatbot-feedback-btn,
|
||||
.chatbot-input,
|
||||
.chatbot-send {
|
||||
border-radius: var(--radius-lg);
|
||||
}
|
||||
|
||||
.chatbot-send {
|
||||
border-radius: 999px;
|
||||
}
|
||||
|
||||
.chatbot-chip,
|
||||
.chatbot-feedback-btn,
|
||||
.chatbot-send {
|
||||
transition:
|
||||
transform var(--duration-med) var(--ease-out),
|
||||
border-color var(--duration-med) var(--ease-out),
|
||||
background-color var(--duration-med) var(--ease-out);
|
||||
}
|
||||
|
||||
.chatbot-chip:hover,
|
||||
.chatbot-feedback-btn:hover,
|
||||
.chatbot-send:hover {
|
||||
transform: translateY(-1px);
|
||||
border-color: rgba(var(--theme-accent-rgb) / 0.55);
|
||||
}
|
||||
|
||||
@media (max-width: 700px) {
|
||||
.chatbot-trigger {
|
||||
right: var(--page-x);
|
||||
bottom: var(--page-x);
|
||||
}
|
||||
|
||||
.chatbot-window {
|
||||
right: var(--page-x);
|
||||
bottom: calc(var(--page-x) + 4.1rem);
|
||||
width: calc(100vw - (var(--page-x) * 2));
|
||||
height: min(72svh, 620px);
|
||||
max-height: calc(100svh - 6rem);
|
||||
}
|
||||
}
|
||||
|
||||
/* --- Design System Refinement End --- */
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
import { Link } from "react-router";
|
||||
import IntroOverlay from "./IntroOverlay";
|
||||
import SharedNavbar from "../SharedNavbar";
|
||||
|
||||
function HeroSection({
|
||||
heroImageWrapRef,
|
||||
heroImageRef,
|
||||
setHeadlinePrimaryRef,
|
||||
setHeadlineSecondaryRef,
|
||||
setDescriptionRef,
|
||||
@@ -16,32 +16,26 @@ function HeroSection({
|
||||
<div className="hero-media" ref={heroImageWrapRef}>
|
||||
<img
|
||||
src="/atmos-hero-image.png"
|
||||
alt="Atmos Hero"
|
||||
alt="Atmos perfume bottle in a material-led campaign scene"
|
||||
className="hero-media__image"
|
||||
ref={heroImageRef}
|
||||
loading="eager"
|
||||
decoding="async"
|
||||
fetchPriority="high"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<Link to="/" className="hero-brand" aria-label="Atmos Startseite">
|
||||
<img
|
||||
src="/atmos-logo-light.svg"
|
||||
alt="atmos"
|
||||
className="hero-brand__logo"
|
||||
loading="eager"
|
||||
fetchPriority="high"
|
||||
/>
|
||||
</Link>
|
||||
|
||||
<SharedNavbar variant="hero" active="atmos" />
|
||||
|
||||
<div className="hero-content">
|
||||
<h1 className="hero-title">
|
||||
<span className="hero-title-line" ref={setHeadlinePrimaryRef}>
|
||||
{"D\u00DCFTE ALS"}
|
||||
<span className="hero-title-line">
|
||||
<span className="reveal-line" ref={setHeadlinePrimaryRef}>
|
||||
{"D\u00DCFTE ALS"}
|
||||
</span>
|
||||
</span>
|
||||
<span className="hero-title-line" ref={setHeadlineSecondaryRef}>
|
||||
AUSDRUCK
|
||||
<span className="hero-title-line">
|
||||
<span className="reveal-line" ref={setHeadlineSecondaryRef}>
|
||||
AUSDRUCK
|
||||
</span>
|
||||
</span>
|
||||
</h1>
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ const perfumes = [
|
||||
edition: "Batch 04/24",
|
||||
gallery: [
|
||||
"/kalter-beton-product-image.png",
|
||||
"/kalter-beton-product-image.png",
|
||||
"/kalter-beton-product-sample-image.png",
|
||||
"/kalter-beton-product-image.png",
|
||||
],
|
||||
reviews: {
|
||||
@@ -107,7 +107,7 @@ const perfumes = [
|
||||
edition: "Batch 02/24",
|
||||
gallery: [
|
||||
"/nasser-marmor-product-image.png",
|
||||
"/nasser-marmor-product-image.png",
|
||||
"/nasser-marmor-product-sample-image.png",
|
||||
"/nasser-marmor-product-image.png",
|
||||
],
|
||||
reviews: {
|
||||
@@ -187,7 +187,7 @@ const perfumes = [
|
||||
edition: "Batch 03/24",
|
||||
gallery: [
|
||||
"/blasse-seide-product-image.png",
|
||||
"/blasse-seide-product-image.png",
|
||||
"/blasse-seide-product-sample-image.png",
|
||||
"/blasse-seide-product-image.png",
|
||||
],
|
||||
reviews: {
|
||||
@@ -267,7 +267,7 @@ const perfumes = [
|
||||
edition: "Batch 01/24",
|
||||
gallery: [
|
||||
"/weisse-asche-product-image.png",
|
||||
"/weisse-asche-product-image.png",
|
||||
"/weisse-asche-product-sample-image.png",
|
||||
"/weisse-asche-product-image.png",
|
||||
],
|
||||
reviews: {
|
||||
@@ -347,7 +347,7 @@ const perfumes = [
|
||||
edition: "Batch 05/24",
|
||||
gallery: [
|
||||
"/verbranntes-chrom-product-image.png",
|
||||
"/verbranntes-chrom-product-image.png",
|
||||
"/verbranntes-chrom-product-sample-image.png",
|
||||
"/verbranntes-chrom-product-image.png",
|
||||
],
|
||||
reviews: {
|
||||
@@ -427,7 +427,7 @@ const perfumes = [
|
||||
edition: "Batch 06/24",
|
||||
gallery: [
|
||||
"/schwarzes-benzin-product-image.png",
|
||||
"/schwarzes-benzin-product-image.png",
|
||||
"/schwarzes-benzin-product-sample-image.png",
|
||||
"/schwarzes-benzin-product-image.png",
|
||||
],
|
||||
reviews: {
|
||||
|
||||
@@ -0,0 +1,168 @@
|
||||
import { useLayoutEffect } from "react";
|
||||
import { gsap } from "gsap";
|
||||
import { ScrollTrigger } from "gsap/ScrollTrigger";
|
||||
|
||||
let pluginsRegistered = false;
|
||||
|
||||
const registerGsap = () => {
|
||||
if (!pluginsRegistered) {
|
||||
gsap.registerPlugin(ScrollTrigger);
|
||||
pluginsRegistered = true;
|
||||
}
|
||||
};
|
||||
|
||||
const createRevealLines = (element) => {
|
||||
if (!element) {
|
||||
return [];
|
||||
}
|
||||
|
||||
if (element.dataset.revealPrepared === "true") {
|
||||
return Array.from(element.querySelectorAll(".reveal-line"));
|
||||
}
|
||||
|
||||
const originalHtml = element.innerHTML;
|
||||
const segments = originalHtml
|
||||
.split(/<br\s*\/?>/i)
|
||||
.map((segment) => segment.trim())
|
||||
.filter(Boolean);
|
||||
|
||||
if (segments.length === 0) {
|
||||
return [];
|
||||
}
|
||||
|
||||
element.dataset.revealPrepared = "true";
|
||||
element.dataset.revealOriginalHtml = originalHtml;
|
||||
element.innerHTML = segments
|
||||
.map(
|
||||
(segment) =>
|
||||
`<span class="reveal-line-mask"><span class="reveal-line">${segment}</span></span>`
|
||||
)
|
||||
.join("");
|
||||
|
||||
return Array.from(element.querySelectorAll(".reveal-line"));
|
||||
};
|
||||
|
||||
const restoreRevealLines = (element) => {
|
||||
if (!element || element.dataset.revealPrepared !== "true") {
|
||||
return;
|
||||
}
|
||||
|
||||
const originalHtml = element.dataset.revealOriginalHtml;
|
||||
|
||||
if (originalHtml) {
|
||||
element.innerHTML = originalHtml;
|
||||
}
|
||||
|
||||
delete element.dataset.revealPrepared;
|
||||
delete element.dataset.revealOriginalHtml;
|
||||
};
|
||||
|
||||
function useScrollTextReveal(scopeRef, dependencyKey = "") {
|
||||
useLayoutEffect(() => {
|
||||
const scope = scopeRef.current;
|
||||
|
||||
if (!scope || typeof window === "undefined") {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
if (window.matchMedia("(prefers-reduced-motion: reduce)").matches) {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
registerGsap();
|
||||
|
||||
const preparedElements = [];
|
||||
const ctx = gsap.context(() => {
|
||||
const groups = gsap.utils.toArray("[data-reveal-group]");
|
||||
|
||||
groups.forEach((group) => {
|
||||
const items = Array.from(group.querySelectorAll("[data-reveal]")).filter(
|
||||
(item) => item.closest("[data-reveal-group]") === group
|
||||
);
|
||||
|
||||
if (items.length === 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
items.forEach((item) => {
|
||||
if (item.dataset.reveal === "lines") {
|
||||
gsap.set(item, { autoAlpha: 0 });
|
||||
return;
|
||||
}
|
||||
|
||||
gsap.set(item, {
|
||||
y: 36,
|
||||
autoAlpha: 0,
|
||||
force3D: true,
|
||||
});
|
||||
});
|
||||
|
||||
ScrollTrigger.create({
|
||||
trigger: group,
|
||||
start: group.dataset.revealStart || "top 86%",
|
||||
once: true,
|
||||
onEnter: () => {
|
||||
const timeline = gsap.timeline();
|
||||
|
||||
items.forEach((item, index) => {
|
||||
const position = index === 0 ? 0 : "<0.16";
|
||||
|
||||
if (item.dataset.reveal === "lines") {
|
||||
const lines = createRevealLines(item);
|
||||
|
||||
if (lines.length === 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
preparedElements.push(item);
|
||||
gsap.set(item, { autoAlpha: 1 });
|
||||
gsap.set(lines, {
|
||||
yPercent: 115,
|
||||
rotate: 2.2,
|
||||
transformOrigin: "0% 100%",
|
||||
force3D: true,
|
||||
});
|
||||
|
||||
timeline.to(
|
||||
lines,
|
||||
{
|
||||
yPercent: 0,
|
||||
rotate: 0,
|
||||
duration: 1.18,
|
||||
stagger: 0.1,
|
||||
ease: "power4.out",
|
||||
clearProps: "transform",
|
||||
},
|
||||
position
|
||||
);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
timeline.to(
|
||||
item,
|
||||
{
|
||||
y: 0,
|
||||
autoAlpha: 1,
|
||||
duration: 1.02,
|
||||
ease: "power4.out",
|
||||
clearProps: "transform,opacity,visibility",
|
||||
},
|
||||
position
|
||||
);
|
||||
});
|
||||
},
|
||||
});
|
||||
});
|
||||
|
||||
ScrollTrigger.refresh();
|
||||
}, scope);
|
||||
|
||||
return () => {
|
||||
ctx.revert();
|
||||
preparedElements.forEach((element) => restoreRevealLines(element));
|
||||
};
|
||||
}, [scopeRef, dependencyKey]);
|
||||
}
|
||||
|
||||
export default useScrollTextReveal;
|
||||
@@ -1,7 +1,60 @@
|
||||
:root {
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
color: #1f1f1f;
|
||||
background: #efefef;
|
||||
font-family: "Questrial", Arial, Helvetica, sans-serif;
|
||||
--theme-black: #262626;
|
||||
--theme-white: #eaeaea;
|
||||
--theme-accent: #ff6a00;
|
||||
--theme-accent-rgb: 255 106 0;
|
||||
--theme-bg: #262626;
|
||||
--theme-surface: #2f2f2f;
|
||||
--theme-surface-soft: #363636;
|
||||
--theme-paper: #404040;
|
||||
--theme-text: #eaeaea;
|
||||
--theme-text-muted: #c8c8c8;
|
||||
--theme-border: #4a4a4a;
|
||||
--theme-border-strong: rgba(234, 234, 234, 0.26);
|
||||
--theme-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
|
||||
--theme-shadow-soft: 0 16px 42px rgba(0, 0, 0, 0.18);
|
||||
|
||||
--page-x: clamp(1rem, 4vw, 5rem);
|
||||
--section-y-xs: clamp(2rem, 5vw, 4.5rem);
|
||||
--section-y-sm: clamp(3rem, 7vw, 7rem);
|
||||
--section-y: clamp(4rem, 10vw, 10rem);
|
||||
--section-y-lg: clamp(5rem, 14vw, 14rem);
|
||||
|
||||
--container: min(calc(100% - (var(--page-x) * 2)), 1440px);
|
||||
--container-narrow: min(calc(100% - (var(--page-x) * 2)), 920px);
|
||||
--container-wide: min(calc(100% - (var(--page-x) * 2)), 1680px);
|
||||
--text-measure: 68ch;
|
||||
|
||||
--gap-2xs: clamp(0.35rem, 0.7vw, 0.65rem);
|
||||
--gap-xs: clamp(0.5rem, 1vw, 0.875rem);
|
||||
--gap-sm: clamp(0.75rem, 1.5vw, 1.25rem);
|
||||
--gap-md: clamp(1rem, 2vw, 2rem);
|
||||
--gap-lg: clamp(1.5rem, 4vw, 4rem);
|
||||
--gap-xl: clamp(2rem, 6vw, 6rem);
|
||||
|
||||
--radius-xs: 0;
|
||||
--radius-sm: 0;
|
||||
--radius-md: 0;
|
||||
--radius-lg: 0;
|
||||
--radius-xl: 0;
|
||||
|
||||
--text-xs: clamp(0.75rem, 0.72rem + 0.15vw, 0.875rem);
|
||||
--text-sm: clamp(0.875rem, 0.83rem + 0.2vw, 1rem);
|
||||
--text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
|
||||
--text-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.375rem);
|
||||
--text-xl: clamp(1.35rem, 1.15rem + 0.9vw, 2rem);
|
||||
--text-2xl: clamp(1.75rem, 1.25rem + 2vw, 3.5rem);
|
||||
--text-display: clamp(3.05rem, 10.5vw, 10.8rem);
|
||||
|
||||
--ease-out: cubic-bezier(0.22, 1, 0.36, 1);
|
||||
--ease-snap: cubic-bezier(0.16, 1, 0.3, 1);
|
||||
--duration-fast: 160ms;
|
||||
--duration-med: 260ms;
|
||||
--duration-slow: 720ms;
|
||||
|
||||
color: var(--theme-text);
|
||||
background: var(--theme-bg);
|
||||
line-height: 1.5;
|
||||
font-weight: 400;
|
||||
|
||||
@@ -21,7 +74,23 @@ html {
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
background: #efefef;
|
||||
background: var(--theme-bg);
|
||||
color: var(--theme-text);
|
||||
font-family: inherit;
|
||||
transition: background-color 0.25s ease, color 0.25s ease;
|
||||
}
|
||||
|
||||
body.theme-light {
|
||||
--theme-bg: #eaeaea;
|
||||
--theme-surface: #f5f5f5;
|
||||
--theme-surface-soft: #f0f0f0;
|
||||
--theme-paper: #ffffff;
|
||||
--theme-text: #262626;
|
||||
--theme-text-muted: #5f5f5f;
|
||||
--theme-border: #d6d6d6;
|
||||
--theme-border-strong: rgba(38, 38, 38, 0.22);
|
||||
--theme-shadow: 0 24px 70px rgba(38, 38, 38, 0.13);
|
||||
--theme-shadow-soft: 0 16px 42px rgba(38, 38, 38, 0.1);
|
||||
}
|
||||
|
||||
a {
|
||||
@@ -30,4 +99,67 @@ a {
|
||||
|
||||
button {
|
||||
font: inherit;
|
||||
}
|
||||
}
|
||||
|
||||
html {
|
||||
overflow-x: hidden;
|
||||
overflow-x: clip;
|
||||
}
|
||||
|
||||
body {
|
||||
overflow-x: hidden;
|
||||
overflow-x: clip;
|
||||
}
|
||||
|
||||
img,
|
||||
picture,
|
||||
video,
|
||||
canvas,
|
||||
svg {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
img,
|
||||
video {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
button,
|
||||
a,
|
||||
input,
|
||||
textarea,
|
||||
select {
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
}
|
||||
|
||||
button,
|
||||
[role="button"],
|
||||
a {
|
||||
touch-action: manipulation;
|
||||
}
|
||||
|
||||
:focus-visible {
|
||||
outline: 2px solid var(--theme-accent);
|
||||
outline-offset: 4px;
|
||||
}
|
||||
|
||||
::selection {
|
||||
background: rgba(var(--theme-accent-rgb) / 0.35);
|
||||
color: var(--theme-white);
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
html {
|
||||
scroll-behavior: auto;
|
||||
}
|
||||
|
||||
*,
|
||||
*::before,
|
||||
*::after {
|
||||
animation-duration: 0.01ms;
|
||||
animation-iteration-count: 1;
|
||||
scroll-behavior: auto;
|
||||
transition-duration: 0.01ms;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,6 +3,7 @@ import ReactDOM from "react-dom/client";
|
||||
import { BrowserRouter } from "react-router";
|
||||
import App from "./App";
|
||||
import { ShopProvider } from "./shop/ShopContext";
|
||||
import "./index.css";
|
||||
import "./App.css";
|
||||
|
||||
ReactDOM.createRoot(document.getElementById("root")).render(
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
.about-page {
|
||||
min-height: 100vh;
|
||||
color: #1f1f1f;
|
||||
color: var(--theme-text);
|
||||
padding: 26px 38px 38px;
|
||||
background:
|
||||
linear-gradient(to right, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.1)),
|
||||
@@ -8,8 +8,8 @@
|
||||
}
|
||||
|
||||
.about-shell {
|
||||
background: #f5f5f5;
|
||||
border: 1px solid #d9d9d9;
|
||||
background: var(--theme-surface);
|
||||
border: 1px solid var(--theme-border);
|
||||
padding: 38px;
|
||||
}
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
display: block;
|
||||
font-size: 10px;
|
||||
letter-spacing: 0.22em;
|
||||
color: #666;
|
||||
color: var(--theme-text-muted);
|
||||
}
|
||||
|
||||
.about-hero {
|
||||
@@ -30,7 +30,7 @@
|
||||
gap: 28px;
|
||||
align-items: end;
|
||||
padding-bottom: 36px;
|
||||
border-bottom: 1px solid #dfdfdf;
|
||||
border-bottom: 1px solid var(--theme-border);
|
||||
}
|
||||
|
||||
.about-hero-copy h1 {
|
||||
@@ -38,8 +38,8 @@
|
||||
font-size: 68px;
|
||||
line-height: 0.92;
|
||||
font-weight: 300;
|
||||
letter-spacing: -0.05em;
|
||||
color: #131313;
|
||||
letter-spacing: 0;
|
||||
color: var(--theme-text);
|
||||
}
|
||||
|
||||
.about-intro {
|
||||
@@ -47,7 +47,7 @@
|
||||
margin: 0;
|
||||
font-size: 18px;
|
||||
line-height: 1.65;
|
||||
color: #4f4f4f;
|
||||
color: var(--theme-text-muted);
|
||||
}
|
||||
|
||||
.about-hero-panel {
|
||||
@@ -64,7 +64,7 @@
|
||||
margin: 10px 0 0;
|
||||
font-size: 16px;
|
||||
line-height: 1.6;
|
||||
color: #1f1f1f;
|
||||
color: var(--theme-text);
|
||||
}
|
||||
|
||||
.about-panel-meta {
|
||||
@@ -81,7 +81,7 @@
|
||||
margin: 8px 0 0;
|
||||
font-size: 14px;
|
||||
line-height: 1.55;
|
||||
color: #1f1f1f;
|
||||
color: var(--theme-text);
|
||||
}
|
||||
|
||||
.about-section {
|
||||
@@ -102,8 +102,8 @@
|
||||
font-size: 42px;
|
||||
line-height: 0.98;
|
||||
font-weight: 300;
|
||||
letter-spacing: -0.04em;
|
||||
color: #131313;
|
||||
letter-spacing: 0;
|
||||
color: var(--theme-text);
|
||||
}
|
||||
|
||||
.about-section-copy {
|
||||
@@ -118,7 +118,7 @@
|
||||
margin: 0;
|
||||
font-size: 16px;
|
||||
line-height: 1.7;
|
||||
color: #4f4f4f;
|
||||
color: var(--theme-text-muted);
|
||||
}
|
||||
|
||||
.about-quote-block {
|
||||
@@ -133,7 +133,7 @@
|
||||
font-size: 28px;
|
||||
line-height: 1.3;
|
||||
font-weight: 300;
|
||||
letter-spacing: -0.03em;
|
||||
letter-spacing: 0;
|
||||
color: #fff;
|
||||
max-width: 900px;
|
||||
}
|
||||
@@ -147,8 +147,8 @@
|
||||
|
||||
.about-card {
|
||||
padding: 24px;
|
||||
background: #efefef;
|
||||
border: 1px solid #d9d9d9;
|
||||
background: var(--theme-bg);
|
||||
border: 1px solid var(--theme-border);
|
||||
min-height: 260px;
|
||||
}
|
||||
|
||||
@@ -157,14 +157,14 @@
|
||||
font-size: 24px;
|
||||
line-height: 1.05;
|
||||
font-weight: 400;
|
||||
color: #131313;
|
||||
color: var(--theme-text);
|
||||
}
|
||||
|
||||
.about-card p {
|
||||
margin: 0;
|
||||
font-size: 15px;
|
||||
line-height: 1.65;
|
||||
color: #4f4f4f;
|
||||
color: var(--theme-text-muted);
|
||||
}
|
||||
|
||||
.about-origin-section {
|
||||
@@ -173,21 +173,21 @@
|
||||
gap: 28px;
|
||||
margin-top: 38px;
|
||||
padding-top: 38px;
|
||||
border-top: 1px solid #dfdfdf;
|
||||
border-top: 1px solid var(--theme-border);
|
||||
}
|
||||
|
||||
.about-origin-box {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 18px;
|
||||
background: #efefef;
|
||||
border: 1px solid #d9d9d9;
|
||||
background: var(--theme-bg);
|
||||
border: 1px solid var(--theme-border);
|
||||
padding: 24px;
|
||||
}
|
||||
|
||||
.about-origin-box > div {
|
||||
padding-bottom: 16px;
|
||||
border-bottom: 1px solid #d9d9d9;
|
||||
border-bottom: 1px solid var(--theme-border);
|
||||
}
|
||||
|
||||
.about-origin-box > div:last-child {
|
||||
@@ -242,7 +242,7 @@
|
||||
}
|
||||
|
||||
.about-btn--primary {
|
||||
background: #fff;
|
||||
background: var(--theme-paper);
|
||||
color: #ff6a00;
|
||||
}
|
||||
|
||||
@@ -261,21 +261,21 @@
|
||||
|
||||
.about-proof-item {
|
||||
padding: 18px;
|
||||
border: 1px solid #d9d9d9;
|
||||
background: #fafafa;
|
||||
border: 1px solid var(--theme-border);
|
||||
background: var(--theme-surface-soft);
|
||||
}
|
||||
|
||||
.about-proof-item p {
|
||||
margin: 10px 0 0;
|
||||
font-size: 14px;
|
||||
line-height: 1.55;
|
||||
color: #3f3f3f;
|
||||
color: var(--theme-text-muted);
|
||||
}
|
||||
|
||||
.about-process-section {
|
||||
margin-top: 38px;
|
||||
padding-top: 38px;
|
||||
border-top: 1px solid #dfdfdf;
|
||||
border-top: 1px solid var(--theme-border);
|
||||
}
|
||||
|
||||
.about-credentials-grid {
|
||||
@@ -301,14 +301,14 @@
|
||||
font-size: 24px;
|
||||
line-height: 1.08;
|
||||
font-weight: 400;
|
||||
color: #131313;
|
||||
color: var(--theme-text);
|
||||
}
|
||||
|
||||
.about-credential-card p {
|
||||
margin: 0;
|
||||
font-size: 15px;
|
||||
line-height: 1.65;
|
||||
color: #4f4f4f;
|
||||
color: var(--theme-text-muted);
|
||||
}
|
||||
|
||||
.about-method-section {
|
||||
@@ -317,8 +317,8 @@
|
||||
gap: 28px;
|
||||
margin-top: 38px;
|
||||
padding: 28px;
|
||||
background: #efefef;
|
||||
border: 1px solid #d9d9d9;
|
||||
background: var(--theme-bg);
|
||||
border: 1px solid var(--theme-border);
|
||||
}
|
||||
|
||||
.about-method-copy h2 {
|
||||
@@ -326,15 +326,15 @@
|
||||
font-size: 40px;
|
||||
line-height: 0.98;
|
||||
font-weight: 300;
|
||||
letter-spacing: -0.04em;
|
||||
color: #131313;
|
||||
letter-spacing: 0;
|
||||
color: var(--theme-text);
|
||||
}
|
||||
|
||||
.about-method-copy p {
|
||||
margin: 0;
|
||||
font-size: 16px;
|
||||
line-height: 1.7;
|
||||
color: #4f4f4f;
|
||||
color: var(--theme-text-muted);
|
||||
}
|
||||
|
||||
.about-method-points {
|
||||
@@ -345,7 +345,7 @@
|
||||
|
||||
.about-method-points > div {
|
||||
padding-bottom: 14px;
|
||||
border-bottom: 1px solid #d6d6d6;
|
||||
border-bottom: 1px solid var(--theme-border);
|
||||
}
|
||||
|
||||
.about-method-points > div:last-child {
|
||||
@@ -357,14 +357,14 @@
|
||||
display: block;
|
||||
font-size: 10px;
|
||||
letter-spacing: 0.22em;
|
||||
color: #666;
|
||||
color: var(--theme-text-muted);
|
||||
}
|
||||
|
||||
.about-method-points p {
|
||||
margin: 8px 0 0;
|
||||
font-size: 14px;
|
||||
line-height: 1.55;
|
||||
color: #1f1f1f;
|
||||
color: var(--theme-text);
|
||||
}
|
||||
|
||||
.about-trust-note {
|
||||
@@ -382,7 +382,7 @@
|
||||
margin: 10px 0 0;
|
||||
font-size: 15px;
|
||||
line-height: 1.65;
|
||||
color: #1f1f1f;
|
||||
color: var(--theme-text);
|
||||
}
|
||||
|
||||
@media (max-width: 1100px) {
|
||||
@@ -452,4 +452,217 @@
|
||||
.about-bottom-cta {
|
||||
padding: 26px 20px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* --- Design System Refinement Start --- */
|
||||
|
||||
.about-page {
|
||||
padding: clamp(1rem, 3vw, 2.4rem) var(--page-x) clamp(2rem, 5vw, 4rem);
|
||||
background:
|
||||
radial-gradient(circle at 88% 9%, rgba(var(--theme-accent-rgb) / 0.12), transparent 28rem),
|
||||
linear-gradient(135deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.08)),
|
||||
var(--theme-bg);
|
||||
}
|
||||
|
||||
.about-shell {
|
||||
width: var(--container-wide);
|
||||
margin: 0 auto;
|
||||
padding: clamp(1.25rem, 3vw, 2.8rem);
|
||||
border-radius: var(--radius-lg);
|
||||
box-shadow: var(--theme-shadow);
|
||||
}
|
||||
|
||||
.about-kicker,
|
||||
.about-label,
|
||||
.about-panel-label,
|
||||
.about-origin-box span,
|
||||
.about-panel-meta span {
|
||||
font-size: var(--text-xs);
|
||||
}
|
||||
|
||||
.about-hero {
|
||||
grid-template-columns: minmax(0, 1.45fr) minmax(18rem, 0.72fr);
|
||||
gap: var(--gap-lg);
|
||||
padding-bottom: var(--section-y-xs);
|
||||
}
|
||||
|
||||
.about-hero-copy h1 {
|
||||
margin: clamp(0.85rem, 2vw, 1.2rem) 0 clamp(1rem, 2vw, 1.35rem);
|
||||
font-size: clamp(3rem, 7.4vw, 8.8rem);
|
||||
line-height: 0.9;
|
||||
letter-spacing: 0;
|
||||
text-wrap: balance;
|
||||
}
|
||||
|
||||
.about-intro {
|
||||
max-width: var(--text-measure);
|
||||
font-size: var(--text-lg);
|
||||
}
|
||||
|
||||
.about-hero-panel,
|
||||
.about-card,
|
||||
.about-origin-box,
|
||||
.about-bottom-cta,
|
||||
.about-proof-item,
|
||||
.about-credential-card,
|
||||
.about-method-section,
|
||||
.about-trust-note,
|
||||
.about-quote-block {
|
||||
border-radius: var(--radius-lg);
|
||||
}
|
||||
|
||||
.about-hero-panel {
|
||||
padding: clamp(1.25rem, 3vw, 2rem);
|
||||
}
|
||||
|
||||
.about-section {
|
||||
padding-top: var(--section-y-xs);
|
||||
}
|
||||
|
||||
.about-section--split,
|
||||
.about-origin-section,
|
||||
.about-method-section {
|
||||
gap: var(--gap-lg);
|
||||
}
|
||||
|
||||
.about-section-heading h2,
|
||||
.about-origin-copy h2,
|
||||
.about-bottom-copy h2,
|
||||
.about-method-copy h2 {
|
||||
font-size: clamp(2.15rem, 5.2vw, 6rem);
|
||||
line-height: 0.94;
|
||||
letter-spacing: 0;
|
||||
text-wrap: balance;
|
||||
}
|
||||
|
||||
.about-section-copy,
|
||||
.about-method-points {
|
||||
gap: var(--gap-sm);
|
||||
}
|
||||
|
||||
.about-section-copy p,
|
||||
.about-origin-copy p,
|
||||
.about-bottom-copy p,
|
||||
.about-method-copy p,
|
||||
.about-credential-card p,
|
||||
.about-card p,
|
||||
.about-proof-item p,
|
||||
.about-trust-note p {
|
||||
font-size: var(--text-base);
|
||||
}
|
||||
|
||||
.about-proof-strip,
|
||||
.about-grid-section,
|
||||
.about-credentials-grid {
|
||||
gap: var(--gap-sm);
|
||||
margin-top: var(--section-y-xs);
|
||||
}
|
||||
|
||||
.about-proof-strip {
|
||||
grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
|
||||
}
|
||||
|
||||
.about-grid-section {
|
||||
grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
|
||||
}
|
||||
|
||||
.about-credentials-grid {
|
||||
grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
|
||||
}
|
||||
|
||||
.about-card,
|
||||
.about-proof-item,
|
||||
.about-credential-card {
|
||||
transition:
|
||||
transform var(--duration-med) var(--ease-out),
|
||||
border-color var(--duration-med) var(--ease-out),
|
||||
box-shadow var(--duration-med) var(--ease-out);
|
||||
}
|
||||
|
||||
.about-card:hover,
|
||||
.about-proof-item:hover,
|
||||
.about-credential-card:hover {
|
||||
transform: translateY(-4px);
|
||||
border-color: rgba(var(--theme-accent-rgb) / 0.42);
|
||||
box-shadow: var(--theme-shadow-soft);
|
||||
}
|
||||
|
||||
.about-card h3,
|
||||
.about-credential-card h3 {
|
||||
font-size: var(--text-xl);
|
||||
}
|
||||
|
||||
.about-quote-block {
|
||||
margin-top: var(--section-y-xs);
|
||||
padding: clamp(1.4rem, 4vw, 3rem);
|
||||
background:
|
||||
radial-gradient(circle at 100% 0%, rgba(var(--theme-accent-rgb) / 0.18), transparent 18rem),
|
||||
#171717;
|
||||
}
|
||||
|
||||
.about-quote-block p {
|
||||
font-size: clamp(1.7rem, 4vw, 4.2rem);
|
||||
line-height: 1.08;
|
||||
letter-spacing: 0;
|
||||
}
|
||||
|
||||
.about-origin-section,
|
||||
.about-process-section,
|
||||
.about-faq-section {
|
||||
margin-top: var(--section-y-xs);
|
||||
padding-top: var(--section-y-xs);
|
||||
}
|
||||
|
||||
.about-bottom-cta {
|
||||
margin-top: var(--section-y-xs);
|
||||
padding: clamp(1.5rem, 4vw, 3.5rem);
|
||||
background:
|
||||
radial-gradient(circle at 92% 0%, rgba(255, 255, 255, 0.22), transparent 20rem),
|
||||
var(--theme-accent);
|
||||
}
|
||||
|
||||
.about-btn {
|
||||
min-height: 48px;
|
||||
}
|
||||
|
||||
.about-btn:hover,
|
||||
.about-btn:focus-visible {
|
||||
box-shadow: var(--theme-shadow-soft);
|
||||
}
|
||||
|
||||
@media (max-width: 1100px) {
|
||||
.about-hero,
|
||||
.about-section--split,
|
||||
.about-origin-section,
|
||||
.about-bottom-cta,
|
||||
.about-method-section {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 700px) {
|
||||
.about-page {
|
||||
padding-inline: var(--page-x);
|
||||
}
|
||||
|
||||
.about-shell {
|
||||
width: var(--container-wide);
|
||||
padding-inline: clamp(0.9rem, 4vw, 1.1rem);
|
||||
}
|
||||
|
||||
.about-hero-copy h1 {
|
||||
font-size: clamp(2.55rem, 13vw, 4.4rem);
|
||||
}
|
||||
|
||||
.about-bottom-actions {
|
||||
display: grid;
|
||||
}
|
||||
|
||||
.about-btn {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
/* --- Design System Refinement End --- */
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import { Link } from "react-router";
|
||||
import SharedNavbar from "../components/SharedNavbar";
|
||||
import "./AboutPage.css";
|
||||
|
||||
@@ -7,10 +8,12 @@ function AboutPage() {
|
||||
<SharedNavbar variant="light" />
|
||||
|
||||
<main className="about-shell">
|
||||
<section className="about-hero">
|
||||
<section className="about-hero" data-reveal-group>
|
||||
<div className="about-hero-copy">
|
||||
<span className="about-kicker">ABOUT atmos</span>
|
||||
<h1>
|
||||
<span className="about-kicker" data-reveal="fade">
|
||||
ABOUT atmos
|
||||
</span>
|
||||
<h1 data-reveal="lines">
|
||||
WIR DEKODIEREN
|
||||
<br />
|
||||
ATMOSPHÄREN
|
||||
@@ -19,7 +22,7 @@ function AboutPage() {
|
||||
<br />
|
||||
SIE IN DÜFTE
|
||||
</h1>
|
||||
<p className="about-intro">
|
||||
<p className="about-intro" data-reveal="fade">
|
||||
atmos entwickelt Nischendüfte, die nicht bloss gut riechen sollen,
|
||||
sondern eine Atmosphäre präzise übersetzen: Material, Raum, Kälte,
|
||||
Licht, Oberfläche, Spannung. Jeder Duft ist eine verdichtete
|
||||
@@ -27,7 +30,7 @@ function AboutPage() {
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div className="about-hero-panel">
|
||||
<div className="about-hero-panel" data-reveal="fade">
|
||||
<span className="about-panel-label">POSITIONIERUNG</span>
|
||||
<p>
|
||||
Nischig. Hochwertig. Edel. Luxuriös. Reduziert in der Form,
|
||||
@@ -51,13 +54,15 @@ function AboutPage() {
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section className="about-section about-section--split">
|
||||
<section className="about-section about-section--split" data-reveal-group>
|
||||
<div className="about-section-heading">
|
||||
<span className="about-label">UNSER VERSTÄNDNIS</span>
|
||||
<h2>NICHT DEKORATION. SONDERN HALTUNG.</h2>
|
||||
<span className="about-label" data-reveal="fade">
|
||||
UNSER VERSTÄNDNIS
|
||||
</span>
|
||||
<h2 data-reveal="lines">NICHT DEKORATION. SONDERN HALTUNG.</h2>
|
||||
</div>
|
||||
|
||||
<div className="about-section-copy">
|
||||
<div className="about-section-copy" data-reveal="fade">
|
||||
<p>
|
||||
atmos versteht Parfum nicht als beiläufiges Accessoire, sondern als
|
||||
Form von Ausdruck. Unsere Düfte entstehen nicht aus Trends, sondern
|
||||
@@ -75,34 +80,34 @@ function AboutPage() {
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section className="about-proof-strip">
|
||||
<div className="about-proof-item">
|
||||
<section className="about-proof-strip" data-reveal-group data-reveal-start="top 90%">
|
||||
<div className="about-proof-item" data-reveal="fade">
|
||||
<span className="about-label">ATELIER</span>
|
||||
<p>Entwicklung aus einem kuratierten Duft- und Materialkontext</p>
|
||||
</div>
|
||||
<div className="about-proof-item">
|
||||
<div className="about-proof-item" data-reveal="fade">
|
||||
<span className="about-label">KLEINSERIEN</span>
|
||||
<p>Chargenbasiert gedacht statt massenmarktfähig optimiert</p>
|
||||
</div>
|
||||
<div className="about-proof-item">
|
||||
<div className="about-proof-item" data-reveal="fade">
|
||||
<span className="about-label">KOMPOSITION</span>
|
||||
<p>Materiallogik vor Trendformel und Lautstärke</p>
|
||||
</div>
|
||||
<div className="about-proof-item">
|
||||
<div className="about-proof-item" data-reveal="fade">
|
||||
<span className="about-label">HERKUNFT</span>
|
||||
<p>Creative Direction und Qualitätsanspruch aus der Schweiz</p>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section className="about-quote-block">
|
||||
<p>
|
||||
<section className="about-quote-block" data-reveal-group>
|
||||
<p data-reveal="fade">
|
||||
„Jeder Duft beginnt bei uns nicht mit einer Note, sondern mit einem
|
||||
Raumgefühl.“
|
||||
</p>
|
||||
</section>
|
||||
|
||||
<section className="about-grid-section">
|
||||
<div className="about-card">
|
||||
<section className="about-grid-section" data-reveal-group data-reveal-start="top 84%">
|
||||
<div className="about-card" data-reveal="fade">
|
||||
<span className="about-label">01 / DEKODIEREN</span>
|
||||
<h3>Atmosphäre lesen</h3>
|
||||
<p>
|
||||
@@ -112,7 +117,7 @@ function AboutPage() {
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div className="about-card">
|
||||
<div className="about-card" data-reveal="fade">
|
||||
<span className="about-label">02 / VERDICHTEN</span>
|
||||
<h3>In Duft übersetzen</h3>
|
||||
<p>
|
||||
@@ -122,7 +127,7 @@ function AboutPage() {
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div className="about-card">
|
||||
<div className="about-card" data-reveal="fade">
|
||||
<span className="about-label">03 / REDUZIEREN</span>
|
||||
<h3>Wirkung schärfen</h3>
|
||||
<p>
|
||||
@@ -133,13 +138,20 @@ function AboutPage() {
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section className="about-section about-section--split about-process-section">
|
||||
<section
|
||||
className="about-section about-section--split about-process-section"
|
||||
data-reveal-group
|
||||
>
|
||||
<div className="about-section-heading">
|
||||
<span className="about-label">PROZESS & KOMPETENZ</span>
|
||||
<h2>WIE AUS EINER IDEE EINE BELASTBARE KOMPOSITION WIRD.</h2>
|
||||
<span className="about-label" data-reveal="fade">
|
||||
PROZESS & KOMPETENZ
|
||||
</span>
|
||||
<h2 data-reveal="lines">
|
||||
WIE AUS EINER IDEE EINE BELASTBARE KOMPOSITION WIRD.
|
||||
</h2>
|
||||
</div>
|
||||
|
||||
<div className="about-section-copy">
|
||||
<div className="about-section-copy" data-reveal="fade">
|
||||
<p>
|
||||
atmos arbeitet nicht mit einem losgelösten Storytelling, das im
|
||||
Nachhinein auf einen Duft gelegt wird. Jede Komposition beginnt mit
|
||||
@@ -156,8 +168,12 @@ function AboutPage() {
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section className="about-credentials-grid">
|
||||
<article className="about-credential-card">
|
||||
<section
|
||||
className="about-credentials-grid"
|
||||
data-reveal-group
|
||||
data-reveal-start="top 84%"
|
||||
>
|
||||
<article className="about-credential-card" data-reveal="fade">
|
||||
<span className="about-label">ATELIER / ENTWICKLUNG</span>
|
||||
<h3>Komposition aus einem klaren Duftverständnis</h3>
|
||||
<p>
|
||||
@@ -167,7 +183,7 @@ function AboutPage() {
|
||||
</p>
|
||||
</article>
|
||||
|
||||
<article className="about-credential-card">
|
||||
<article className="about-credential-card" data-reveal="fade">
|
||||
<span className="about-label">MATERIALLOGIK</span>
|
||||
<h3>Noten folgen einer Idee, nicht bloss einer Wirkung</h3>
|
||||
<p>
|
||||
@@ -177,7 +193,7 @@ function AboutPage() {
|
||||
</p>
|
||||
</article>
|
||||
|
||||
<article className="about-credential-card">
|
||||
<article className="about-credential-card" data-reveal="fade">
|
||||
<span className="about-label">CHARGENPRINZIP</span>
|
||||
<h3>Kleinserie statt gesichtsloser Massenästhetik</h3>
|
||||
<p>
|
||||
@@ -187,7 +203,7 @@ function AboutPage() {
|
||||
</p>
|
||||
</article>
|
||||
|
||||
<article className="about-credential-card">
|
||||
<article className="about-credential-card" data-reveal="fade">
|
||||
<span className="about-label">QUALITÄTSPRÜFUNG</span>
|
||||
<h3>Komposition, Haltbarkeit und Verlauf werden bewusst geprüft</h3>
|
||||
<p>
|
||||
@@ -198,11 +214,15 @@ function AboutPage() {
|
||||
</article>
|
||||
</section>
|
||||
|
||||
<section className="about-method-section">
|
||||
<section className="about-method-section" data-reveal-group>
|
||||
<div className="about-method-copy">
|
||||
<span className="about-label">NACHWEISBARE DUFTLOGIK</span>
|
||||
<h2>FÜR MENSCHEN, DIE HYPE ERKENNEN UND SUBSTANZ SUCHEN.</h2>
|
||||
<p>
|
||||
<span className="about-label" data-reveal="fade">
|
||||
NACHWEISBARE DUFTLOGIK
|
||||
</span>
|
||||
<h2 data-reveal="lines">
|
||||
FÜR MENSCHEN, DIE HYPE ERKENNEN UND SUBSTANZ SUCHEN.
|
||||
</h2>
|
||||
<p data-reveal="fade">
|
||||
Wer in der Szene unterwegs ist, erkennt schnell, wenn ein Duft vor
|
||||
allem über Bildsprache verkauft wird. Genau deshalb machen wir unsere
|
||||
Denkweise sichtbar: über Struktur, Materialbezug, Edition, Trageverlauf
|
||||
@@ -210,7 +230,7 @@ function AboutPage() {
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div className="about-method-points">
|
||||
<div className="about-method-points" data-reveal="fade">
|
||||
<div>
|
||||
<span>DUFTSTRUKTUR</span>
|
||||
<p>Top, Heart und Base werden als Verlauf und nicht nur als Liste gedacht.</p>
|
||||
@@ -230,23 +250,25 @@ function AboutPage() {
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section className="about-section about-origin-section">
|
||||
<section className="about-section about-origin-section" data-reveal-group>
|
||||
<div className="about-origin-copy">
|
||||
<span className="about-label">MADE IN SWITZERLAND</span>
|
||||
<h2>PRÄZISION IN FORM, DUFT UND AUFTRITT.</h2>
|
||||
<p>
|
||||
<span className="about-label" data-reveal="fade">
|
||||
MADE IN SWITZERLAND
|
||||
</span>
|
||||
<h2 data-reveal="lines">PRÄZISION IN FORM, DUFT UND AUFTRITT.</h2>
|
||||
<p data-reveal="fade">
|
||||
atmos ist in der Schweiz verankert. Dieser Ursprung zeigt sich nicht
|
||||
nur in der Herstellung, sondern auch in unserer Haltung zur Qualität:
|
||||
kontrolliert, bewusst, präzise und kompromisslos in der Ausarbeitung.
|
||||
</p>
|
||||
<p>
|
||||
<p data-reveal="fade">
|
||||
Unsere Düfte bewegen sich zwischen Luxus und Konzept. Sie sollen
|
||||
hochwertig wirken, ohne laut zu werden. Edel, ohne klassisch zu sein.
|
||||
Und luxuriös, ohne sich über Überfluss zu definieren.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div className="about-origin-box">
|
||||
<div className="about-origin-box" data-reveal="fade">
|
||||
<div>
|
||||
<span>QUALITÄTSVERSPRECHEN</span>
|
||||
<p>Kuratiert, präzise und mit Fokus auf charakterstarke Kompositionen.</p>
|
||||
@@ -262,29 +284,35 @@ function AboutPage() {
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section className="about-trust-note">
|
||||
<span className="about-label">QUALITÄTSVERSTÄNDNIS</span>
|
||||
<p>
|
||||
Bei atmos steht nicht die schnelle Aufmerksamkeit im Vordergrund, sondern die
|
||||
Qualität der Komposition. Unsere Düfte entstehen aus klaren Materialideen,
|
||||
kontrollierter Entwicklung und einem kuratierten Anspruch an Verlauf,
|
||||
Balance, Haltbarkeit und Charakter. Jede Edition soll nicht nur auffallen,
|
||||
sondern bestehen – durch Präzision, Eigenständigkeit und eine spürbare
|
||||
kompositorische Disziplin.
|
||||
</p>
|
||||
</section>
|
||||
<section className="about-trust-note" data-reveal-group>
|
||||
<span className="about-label" data-reveal="fade">
|
||||
QUALITÄTSVERSTÄNDNIS
|
||||
</span>
|
||||
<p data-reveal="fade">
|
||||
Bei atmos steht nicht die schnelle Aufmerksamkeit im Vordergrund, sondern die
|
||||
Qualität der Komposition. Unsere Düfte entstehen aus klaren Materialideen,
|
||||
kontrollierter Entwicklung und einem kuratierten Anspruch an Verlauf,
|
||||
Balance, Haltbarkeit und Charakter. Jede Edition soll nicht nur auffallen,
|
||||
sondern bestehen – durch Präzision, Eigenständigkeit und eine spürbare
|
||||
kompositorische Disziplin.
|
||||
</p>
|
||||
</section>
|
||||
|
||||
<section className="about-bottom-cta">
|
||||
<section className="about-bottom-cta" data-reveal-group>
|
||||
<div className="about-bottom-copy">
|
||||
<span className="about-label">atmos</span>
|
||||
<h2>FÜR MENSCHEN, DIE NICHT NUR EINEN DUFT SUCHEN, SONDERN EINE HALTUNG.</h2>
|
||||
<p>
|
||||
<span className="about-label" data-reveal="fade">
|
||||
atmos
|
||||
</span>
|
||||
<h2 data-reveal="lines">
|
||||
FÜR MENSCHEN, DIE NICHT NUR EINEN DUFT SUCHEN, SONDERN EINE HALTUNG.
|
||||
</h2>
|
||||
<p data-reveal="fade">
|
||||
Entdecke Düfte, die Atmosphäre nicht illustrieren, sondern in eine
|
||||
tragbare Form übersetzen.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div className="about-bottom-actions">
|
||||
<div className="about-bottom-actions" data-reveal="fade">
|
||||
<Link to="/" className="about-btn about-btn--primary">
|
||||
Zur Startseite
|
||||
</Link>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
.datenschutz-page {
|
||||
min-height: 100vh;
|
||||
color: #1f1f1f;
|
||||
color: var(--theme-text);
|
||||
padding: 26px 38px 38px;
|
||||
background:
|
||||
linear-gradient(to right, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.1)),
|
||||
@@ -8,8 +8,8 @@
|
||||
}
|
||||
|
||||
.datenschutz-shell {
|
||||
background: #f5f5f5;
|
||||
border: 1px solid #d9d9d9;
|
||||
background: var(--theme-surface);
|
||||
border: 1px solid var(--theme-border);
|
||||
padding: 38px;
|
||||
}
|
||||
|
||||
@@ -18,12 +18,12 @@
|
||||
display: block;
|
||||
font-size: 10px;
|
||||
letter-spacing: 0.22em;
|
||||
color: #666;
|
||||
color: var(--theme-text-muted);
|
||||
}
|
||||
|
||||
.datenschutz-hero {
|
||||
padding-bottom: 32px;
|
||||
border-bottom: 1px solid #dfdfdf;
|
||||
border-bottom: 1px solid var(--theme-border);
|
||||
}
|
||||
|
||||
.datenschutz-hero h1 {
|
||||
@@ -31,8 +31,8 @@
|
||||
font-size: 64px;
|
||||
line-height: 0.92;
|
||||
font-weight: 300;
|
||||
letter-spacing: -0.05em;
|
||||
color: #131313;
|
||||
letter-spacing: 0;
|
||||
color: var(--theme-text);
|
||||
}
|
||||
|
||||
.datenschutz-intro {
|
||||
@@ -40,7 +40,7 @@
|
||||
margin: 0;
|
||||
font-size: 17px;
|
||||
line-height: 1.7;
|
||||
color: #4f4f4f;
|
||||
color: var(--theme-text-muted);
|
||||
}
|
||||
|
||||
.datenschutz-section {
|
||||
@@ -50,7 +50,7 @@
|
||||
align-items: start;
|
||||
margin-top: 38px;
|
||||
padding-top: 38px;
|
||||
border-top: 1px solid #dfdfdf;
|
||||
border-top: 1px solid var(--theme-border);
|
||||
}
|
||||
|
||||
.datenschutz-section-heading h2 {
|
||||
@@ -58,15 +58,15 @@
|
||||
font-size: 38px;
|
||||
line-height: 0.98;
|
||||
font-weight: 300;
|
||||
letter-spacing: -0.04em;
|
||||
color: #131313;
|
||||
letter-spacing: 0;
|
||||
color: var(--theme-text);
|
||||
}
|
||||
|
||||
.datenschutz-section-copy p {
|
||||
margin: 0 0 16px;
|
||||
font-size: 16px;
|
||||
line-height: 1.75;
|
||||
color: #4f4f4f;
|
||||
color: var(--theme-text-muted);
|
||||
}
|
||||
|
||||
.datenschutz-list {
|
||||
@@ -79,7 +79,7 @@
|
||||
.datenschutz-list li {
|
||||
font-size: 16px;
|
||||
line-height: 1.7;
|
||||
color: #4f4f4f;
|
||||
color: var(--theme-text-muted);
|
||||
}
|
||||
|
||||
.datenschutz-note-box {
|
||||
@@ -96,7 +96,7 @@
|
||||
margin: 0;
|
||||
font-size: 15px;
|
||||
line-height: 1.65;
|
||||
color: #1f1f1f;
|
||||
color: var(--theme-text);
|
||||
}
|
||||
|
||||
@media (max-width: 1100px) {
|
||||
@@ -131,4 +131,80 @@
|
||||
.datenschutz-list li {
|
||||
font-size: 15px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* --- Design System Refinement Start --- */
|
||||
|
||||
.datenschutz-page {
|
||||
padding: clamp(1rem, 3vw, 2.4rem) var(--page-x) clamp(2rem, 5vw, 4rem);
|
||||
background:
|
||||
radial-gradient(circle at 88% 9%, rgba(var(--theme-accent-rgb) / 0.12), transparent 28rem),
|
||||
linear-gradient(135deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.08)),
|
||||
var(--theme-bg);
|
||||
}
|
||||
|
||||
.datenschutz-shell {
|
||||
width: var(--container-narrow);
|
||||
margin: 0 auto;
|
||||
padding: clamp(1.25rem, 3vw, 2.8rem);
|
||||
border-radius: var(--radius-lg);
|
||||
box-shadow: var(--theme-shadow);
|
||||
}
|
||||
|
||||
.datenschutz-kicker,
|
||||
.datenschutz-label {
|
||||
font-size: var(--text-xs);
|
||||
}
|
||||
|
||||
.datenschutz-hero {
|
||||
padding-bottom: var(--section-y-xs);
|
||||
}
|
||||
|
||||
.datenschutz-hero h1 {
|
||||
font-size: clamp(3rem, 8vw, 7.2rem);
|
||||
line-height: 0.9;
|
||||
letter-spacing: 0;
|
||||
}
|
||||
|
||||
.datenschutz-intro {
|
||||
max-width: var(--text-measure);
|
||||
font-size: var(--text-lg);
|
||||
}
|
||||
|
||||
.datenschutz-section {
|
||||
gap: var(--gap-lg);
|
||||
margin-top: var(--section-y-xs);
|
||||
padding-top: var(--section-y-xs);
|
||||
}
|
||||
|
||||
.datenschutz-section-heading h2 {
|
||||
font-size: clamp(2rem, 4.2vw, 4.5rem);
|
||||
line-height: 0.96;
|
||||
letter-spacing: 0;
|
||||
text-wrap: balance;
|
||||
}
|
||||
|
||||
.datenschutz-section-copy p,
|
||||
.datenschutz-list li,
|
||||
.datenschutz-note-box p {
|
||||
font-size: var(--text-base);
|
||||
}
|
||||
|
||||
.datenschutz-note-box {
|
||||
border-radius: var(--radius-lg);
|
||||
}
|
||||
|
||||
@media (max-width: 700px) {
|
||||
.datenschutz-page {
|
||||
padding-inline: var(--page-x);
|
||||
}
|
||||
|
||||
.datenschutz-shell {
|
||||
width: var(--container-wide);
|
||||
padding-inline: clamp(0.9rem, 4vw, 1.1rem);
|
||||
}
|
||||
}
|
||||
|
||||
/* --- Design System Refinement End --- */
|
||||
|
||||
@@ -7,10 +7,10 @@ function DatenschutzPage() {
|
||||
<SharedNavbar variant="light" />
|
||||
|
||||
<main className="datenschutz-shell">
|
||||
<section className="datenschutz-hero">
|
||||
<span className="datenschutz-kicker">RECHTLICHE ANGABEN</span>
|
||||
<h1>DATENSCHUTZ</h1>
|
||||
<p className="datenschutz-intro">
|
||||
<section className="datenschutz-hero" data-reveal-group>
|
||||
<span className="datenschutz-kicker" data-reveal="fade">RECHTLICHE ANGABEN</span>
|
||||
<h1 data-reveal="lines">DATENSCHUTZ</h1>
|
||||
<p className="datenschutz-intro" data-reveal="fade">
|
||||
Der Schutz persönlicher Daten hat für atmos einen hohen Stellenwert.
|
||||
Nachfolgend informieren wir darüber, welche personenbezogenen Daten bei
|
||||
der Nutzung dieser Website erhoben, verarbeitet und gespeichert werden,
|
||||
@@ -19,13 +19,13 @@ function DatenschutzPage() {
|
||||
</p>
|
||||
</section>
|
||||
|
||||
<section className="datenschutz-section">
|
||||
<section className="datenschutz-section" data-reveal-group>
|
||||
<div className="datenschutz-section-heading">
|
||||
<span className="datenschutz-label">VERANTWORTLICHE STELLE</span>
|
||||
<h2>WER FÜR DIE DATENVERARBEITUNG VERANTWORTLICH IST</h2>
|
||||
<span className="datenschutz-label" data-reveal="fade">VERANTWORTLICHE STELLE</span>
|
||||
<h2 data-reveal="lines">WER FÜR DIE DATENVERARBEITUNG VERANTWORTLICH IST</h2>
|
||||
</div>
|
||||
|
||||
<div className="datenschutz-section-copy">
|
||||
<div className="datenschutz-section-copy" data-reveal="fade">
|
||||
<p>
|
||||
Verantwortlich für die Datenverarbeitung im Zusammenhang mit dieser
|
||||
Website ist:
|
||||
@@ -47,13 +47,13 @@ function DatenschutzPage() {
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section className="datenschutz-section">
|
||||
<section className="datenschutz-section" data-reveal-group>
|
||||
<div className="datenschutz-section-heading">
|
||||
<span className="datenschutz-label">ALLGEMEINES</span>
|
||||
<h2>WELCHE DATEN ERHOBEN WERDEN</h2>
|
||||
<span className="datenschutz-label" data-reveal="fade">ALLGEMEINES</span>
|
||||
<h2 data-reveal="lines">WELCHE DATEN ERHOBEN WERDEN</h2>
|
||||
</div>
|
||||
|
||||
<div className="datenschutz-section-copy">
|
||||
<div className="datenschutz-section-copy" data-reveal="fade">
|
||||
<p>
|
||||
Beim Besuch dieser Website können automatisch technische Daten
|
||||
erfasst werden. Dazu gehören insbesondere IP-Adresse, Datum und
|
||||
@@ -70,13 +70,13 @@ function DatenschutzPage() {
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section className="datenschutz-section">
|
||||
<section className="datenschutz-section" data-reveal-group>
|
||||
<div className="datenschutz-section-heading">
|
||||
<span className="datenschutz-label">ZWECK</span>
|
||||
<h2>WOFÜR DIE DATEN VERWENDET WERDEN</h2>
|
||||
<span className="datenschutz-label" data-reveal="fade">ZWECK</span>
|
||||
<h2 data-reveal="lines">WOFÜR DIE DATEN VERWENDET WERDEN</h2>
|
||||
</div>
|
||||
|
||||
<div className="datenschutz-section-copy">
|
||||
<div className="datenschutz-section-copy" data-reveal="fade">
|
||||
<p>Die Verarbeitung personenbezogener Daten erfolgt insbesondere:</p>
|
||||
<ul className="datenschutz-list">
|
||||
<li>zur Bereitstellung und technischen Optimierung der Website,</li>
|
||||
@@ -89,13 +89,13 @@ function DatenschutzPage() {
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section className="datenschutz-section">
|
||||
<section className="datenschutz-section" data-reveal-group>
|
||||
<div className="datenschutz-section-heading">
|
||||
<span className="datenschutz-label">COOKIES & TRACKING</span>
|
||||
<h2>COOKIES UND ÄHNLICHE TECHNOLOGIEN</h2>
|
||||
<span className="datenschutz-label" data-reveal="fade">COOKIES & TRACKING</span>
|
||||
<h2 data-reveal="lines">COOKIES UND ÄHNLICHE TECHNOLOGIEN</h2>
|
||||
</div>
|
||||
|
||||
<div className="datenschutz-section-copy">
|
||||
<div className="datenschutz-section-copy" data-reveal="fade">
|
||||
<p>
|
||||
Diese Website kann Cookies oder ähnliche Technologien verwenden, um
|
||||
Funktionen bereitzustellen, die Nutzung zu analysieren und das
|
||||
@@ -112,13 +112,13 @@ function DatenschutzPage() {
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section className="datenschutz-section">
|
||||
<section className="datenschutz-section" data-reveal-group>
|
||||
<div className="datenschutz-section-heading">
|
||||
<span className="datenschutz-label">WEITERGABE</span>
|
||||
<h2>WEITERGABE AN DRITTE</h2>
|
||||
<span className="datenschutz-label" data-reveal="fade">WEITERGABE</span>
|
||||
<h2 data-reveal="lines">WEITERGABE AN DRITTE</h2>
|
||||
</div>
|
||||
|
||||
<div className="datenschutz-section-copy">
|
||||
<div className="datenschutz-section-copy" data-reveal="fade">
|
||||
<p>
|
||||
Eine Weitergabe personenbezogener Daten an Dritte erfolgt nur, soweit
|
||||
dies zur Vertragserfüllung notwendig ist, eine gesetzliche
|
||||
@@ -134,13 +134,13 @@ function DatenschutzPage() {
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section className="datenschutz-section">
|
||||
<section className="datenschutz-section" data-reveal-group>
|
||||
<div className="datenschutz-section-heading">
|
||||
<span className="datenschutz-label">SPEICHERDAUER</span>
|
||||
<h2>WIE LANGE DATEN GESPEICHERT WERDEN</h2>
|
||||
<span className="datenschutz-label" data-reveal="fade">SPEICHERDAUER</span>
|
||||
<h2 data-reveal="lines">WIE LANGE DATEN GESPEICHERT WERDEN</h2>
|
||||
</div>
|
||||
|
||||
<div className="datenschutz-section-copy">
|
||||
<div className="datenschutz-section-copy" data-reveal="fade">
|
||||
<p>
|
||||
Personenbezogene Daten werden nur so lange gespeichert, wie dies für
|
||||
die jeweiligen Zwecke erforderlich ist oder gesetzliche
|
||||
@@ -151,13 +151,13 @@ function DatenschutzPage() {
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section className="datenschutz-section">
|
||||
<section className="datenschutz-section" data-reveal-group>
|
||||
<div className="datenschutz-section-heading">
|
||||
<span className="datenschutz-label">RECHTE</span>
|
||||
<h2>RECHTE DER BETROFFENEN PERSONEN</h2>
|
||||
<span className="datenschutz-label" data-reveal="fade">RECHTE</span>
|
||||
<h2 data-reveal="lines">RECHTE DER BETROFFENEN PERSONEN</h2>
|
||||
</div>
|
||||
|
||||
<div className="datenschutz-section-copy">
|
||||
<div className="datenschutz-section-copy" data-reveal="fade">
|
||||
<p>
|
||||
Betroffene Personen haben im Rahmen des anwendbaren Datenschutzrechts
|
||||
insbesondere das Recht auf Auskunft, Berichtigung, Löschung,
|
||||
@@ -171,13 +171,13 @@ function DatenschutzPage() {
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section className="datenschutz-section">
|
||||
<section className="datenschutz-section" data-reveal-group>
|
||||
<div className="datenschutz-section-heading">
|
||||
<span className="datenschutz-label">SICHERHEIT</span>
|
||||
<h2>TECHNISCHE UND ORGANISATORISCHE MASSNAHMEN</h2>
|
||||
<span className="datenschutz-label" data-reveal="fade">SICHERHEIT</span>
|
||||
<h2 data-reveal="lines">TECHNISCHE UND ORGANISATORISCHE MASSNAHMEN</h2>
|
||||
</div>
|
||||
|
||||
<div className="datenschutz-section-copy">
|
||||
<div className="datenschutz-section-copy" data-reveal="fade">
|
||||
<p>
|
||||
Wir treffen angemessene technische und organisatorische
|
||||
Sicherheitsmassnahmen, um personenbezogene Daten vor unbefugtem
|
||||
@@ -190,13 +190,13 @@ function DatenschutzPage() {
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section className="datenschutz-section">
|
||||
<section className="datenschutz-section" data-reveal-group>
|
||||
<div className="datenschutz-section-heading">
|
||||
<span className="datenschutz-label">AKTUALISIERUNG</span>
|
||||
<h2>ÄNDERUNGEN DIESER DATENSCHUTZERKLÄRUNG</h2>
|
||||
<span className="datenschutz-label" data-reveal="fade">AKTUALISIERUNG</span>
|
||||
<h2 data-reveal="lines">ÄNDERUNGEN DIESER DATENSCHUTZERKLÄRUNG</h2>
|
||||
</div>
|
||||
|
||||
<div className="datenschutz-note-box">
|
||||
<div className="datenschutz-note-box" data-reveal="fade">
|
||||
<p>
|
||||
atmos behält sich vor, diese Datenschutzerklärung bei Bedarf
|
||||
anzupassen, insbesondere wenn sich rechtliche Vorgaben, technische
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
.discovery-page {
|
||||
min-height: 100vh;
|
||||
color: #1f1f1f;
|
||||
color: var(--theme-text);
|
||||
padding: 26px 38px 38px;
|
||||
background:
|
||||
linear-gradient(to right, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.1)),
|
||||
@@ -8,8 +8,8 @@
|
||||
}
|
||||
|
||||
.discovery-shell {
|
||||
background: #f5f5f5;
|
||||
border: 1px solid #d9d9d9;
|
||||
background: var(--theme-surface);
|
||||
border: 1px solid var(--theme-border);
|
||||
padding: 0 38px 38px;
|
||||
}
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
padding: 0;
|
||||
font-size: 13px;
|
||||
cursor: pointer;
|
||||
color: #1f1f1f;
|
||||
color: var(--theme-text);
|
||||
letter-spacing: 0.01em;
|
||||
transition: opacity 0.2s ease, transform 0.2s ease;
|
||||
}
|
||||
@@ -47,7 +47,7 @@
|
||||
display: block;
|
||||
font-size: 10px;
|
||||
letter-spacing: 0.22em;
|
||||
color: #666;
|
||||
color: var(--theme-text-muted);
|
||||
}
|
||||
|
||||
.discovery-hero {
|
||||
@@ -63,8 +63,8 @@
|
||||
font-size: 62px;
|
||||
line-height: 0.94;
|
||||
font-weight: 300;
|
||||
letter-spacing: -0.05em;
|
||||
color: #131313;
|
||||
letter-spacing: 0;
|
||||
color: var(--theme-text);
|
||||
}
|
||||
|
||||
.discovery-intro {
|
||||
@@ -72,7 +72,7 @@
|
||||
margin: 0;
|
||||
font-size: 18px;
|
||||
line-height: 1.55;
|
||||
color: #3f3f3f;
|
||||
color: var(--theme-text-muted);
|
||||
}
|
||||
|
||||
.discovery-benefits {
|
||||
@@ -92,7 +92,7 @@
|
||||
.discovery-benefit-icon {
|
||||
font-size: 24px;
|
||||
line-height: 1;
|
||||
color: #1f1f1f;
|
||||
color: var(--theme-text);
|
||||
}
|
||||
|
||||
.discovery-benefit strong {
|
||||
@@ -100,14 +100,14 @@
|
||||
margin-bottom: 4px;
|
||||
font-size: 18px;
|
||||
font-weight: 400;
|
||||
color: #131313;
|
||||
color: var(--theme-text);
|
||||
}
|
||||
|
||||
.discovery-benefit p {
|
||||
margin: 0;
|
||||
font-size: 14px;
|
||||
line-height: 1.55;
|
||||
color: #5a5a5a;
|
||||
color: var(--theme-text-muted);
|
||||
}
|
||||
|
||||
.discovery-hero-actions {
|
||||
@@ -137,7 +137,7 @@
|
||||
margin: 12px 0 0;
|
||||
text-align: center;
|
||||
font-size: 13px;
|
||||
color: #555;
|
||||
color: var(--theme-text-muted);
|
||||
}
|
||||
|
||||
.discovery-mood-grid {
|
||||
@@ -149,7 +149,7 @@
|
||||
.discovery-mood-tile {
|
||||
aspect-ratio: 1 / 1;
|
||||
overflow: hidden;
|
||||
background: #eaeaea;
|
||||
background: var(--theme-surface-soft);
|
||||
}
|
||||
|
||||
.discovery-mood-tile img {
|
||||
@@ -174,8 +174,8 @@
|
||||
font-size: 42px;
|
||||
line-height: 0.98;
|
||||
font-weight: 300;
|
||||
letter-spacing: -0.04em;
|
||||
color: #131313;
|
||||
letter-spacing: 0;
|
||||
color: var(--theme-text);
|
||||
}
|
||||
|
||||
.discovery-section-heading p {
|
||||
@@ -183,7 +183,7 @@
|
||||
margin: 18px 0 0;
|
||||
font-size: 16px;
|
||||
line-height: 1.65;
|
||||
color: #4f4f4f;
|
||||
color: var(--theme-text-muted);
|
||||
}
|
||||
|
||||
.discovery-section-heading--center {
|
||||
@@ -211,7 +211,7 @@
|
||||
.discovery-product-image {
|
||||
aspect-ratio: 1 / 1;
|
||||
overflow: hidden;
|
||||
background: #ececec;
|
||||
background: var(--theme-surface-soft);
|
||||
}
|
||||
|
||||
.discovery-product-image img {
|
||||
@@ -225,14 +225,14 @@
|
||||
margin: 0 0 6px;
|
||||
font-size: 20px;
|
||||
font-weight: 400;
|
||||
color: #131313;
|
||||
color: var(--theme-text);
|
||||
}
|
||||
|
||||
.discovery-product-copy p {
|
||||
margin: 0;
|
||||
font-size: 15px;
|
||||
line-height: 1.5;
|
||||
color: #4f4f4f;
|
||||
color: var(--theme-text-muted);
|
||||
}
|
||||
|
||||
.discovery-product-tags {
|
||||
@@ -247,9 +247,9 @@
|
||||
align-items: center;
|
||||
min-height: 32px;
|
||||
padding: 7px 12px;
|
||||
background: #e4e4e4;
|
||||
background: var(--theme-surface-soft);
|
||||
font-size: 12px;
|
||||
color: #1f1f1f;
|
||||
color: var(--theme-text);
|
||||
}
|
||||
|
||||
/* Steps */
|
||||
@@ -268,7 +268,7 @@
|
||||
font-size: 48px;
|
||||
line-height: 0.98;
|
||||
font-weight: 300;
|
||||
letter-spacing: -0.04em;
|
||||
letter-spacing: 0;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
@@ -290,8 +290,8 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: #f1f1f1;
|
||||
color: #111;
|
||||
background: var(--theme-surface-soft);
|
||||
color: var(--theme-text);
|
||||
font-size: 24px;
|
||||
font-weight: 300;
|
||||
}
|
||||
@@ -320,8 +320,8 @@
|
||||
|
||||
.discovery-comparison-card {
|
||||
padding: 28px;
|
||||
border: 1px solid #d9d9d9;
|
||||
background: #efefef;
|
||||
border: 1px solid var(--theme-border);
|
||||
background: var(--theme-bg);
|
||||
}
|
||||
|
||||
.discovery-comparison-card--highlight {
|
||||
@@ -343,21 +343,21 @@
|
||||
.discovery-comparison-icon {
|
||||
font-size: 28px;
|
||||
line-height: 1;
|
||||
color: #1f1f1f;
|
||||
color: var(--theme-text);
|
||||
}
|
||||
|
||||
.discovery-comparison-head h3 {
|
||||
margin: 0;
|
||||
font-size: 28px;
|
||||
font-weight: 400;
|
||||
color: #131313;
|
||||
color: var(--theme-text);
|
||||
}
|
||||
|
||||
.discovery-comparison-card p {
|
||||
margin: 0;
|
||||
font-size: 16px;
|
||||
line-height: 1.65;
|
||||
color: #4f4f4f;
|
||||
color: var(--theme-text-muted);
|
||||
}
|
||||
|
||||
.discovery-bottom-cta {
|
||||
@@ -446,4 +446,337 @@
|
||||
.discovery-comparison-head h3 {
|
||||
font-size: 22px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* --- Design System Refinement Start --- */
|
||||
|
||||
.discovery-page {
|
||||
padding: clamp(1rem, 3vw, 2.4rem) var(--page-x) clamp(2rem, 5vw, 4rem);
|
||||
background:
|
||||
radial-gradient(circle at 85% 6%, rgba(var(--theme-accent-rgb) / 0.12), transparent 28rem),
|
||||
linear-gradient(135deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.08)),
|
||||
var(--theme-bg);
|
||||
}
|
||||
|
||||
.discovery-shell {
|
||||
width: var(--container-wide);
|
||||
margin: 0 auto;
|
||||
padding: 0 clamp(1rem, 3vw, 2.6rem) clamp(2rem, 5vw, 4.4rem);
|
||||
border: 1px solid var(--theme-border);
|
||||
border-radius: var(--radius-lg);
|
||||
background: var(--theme-surface);
|
||||
box-shadow: var(--theme-shadow);
|
||||
}
|
||||
|
||||
.discovery-topbar {
|
||||
padding: clamp(1rem, 2.2vw, 1.5rem) 0 clamp(0.8rem, 1.6vw, 1.1rem);
|
||||
}
|
||||
|
||||
.discovery-back-link,
|
||||
.discovery-primary-btn {
|
||||
min-height: 44px;
|
||||
}
|
||||
|
||||
.discovery-hero {
|
||||
grid-template-columns: repeat(12, minmax(0, 1fr));
|
||||
gap: var(--gap-lg);
|
||||
padding: clamp(1rem, 3vw, 2rem) 0 var(--section-y-xs);
|
||||
}
|
||||
|
||||
.discovery-hero-copy {
|
||||
grid-column: 1 / span 7;
|
||||
}
|
||||
|
||||
.discovery-mood-grid {
|
||||
grid-column: 8 / -1;
|
||||
align-self: stretch;
|
||||
grid-template-columns: repeat(6, minmax(0, 1fr));
|
||||
grid-auto-rows: minmax(7rem, 1fr);
|
||||
gap: var(--gap-xs);
|
||||
}
|
||||
|
||||
.discovery-mood-tile {
|
||||
grid-column: span 3;
|
||||
border-radius: var(--radius-lg);
|
||||
border: 1px solid var(--theme-border);
|
||||
box-shadow: var(--theme-shadow-soft);
|
||||
}
|
||||
|
||||
.discovery-mood-tile:nth-child(1) {
|
||||
grid-column: span 6;
|
||||
aspect-ratio: 16 / 10;
|
||||
}
|
||||
|
||||
.discovery-mood-tile:nth-child(4),
|
||||
.discovery-mood-tile:nth-child(5) {
|
||||
grid-column: span 2;
|
||||
}
|
||||
|
||||
.discovery-mood-tile:nth-child(6) {
|
||||
grid-column: span 2;
|
||||
}
|
||||
|
||||
.discovery-mood-tile img {
|
||||
height: 100%;
|
||||
transition: transform var(--duration-slow) var(--ease-out);
|
||||
}
|
||||
|
||||
.discovery-mood-tile:hover img {
|
||||
transform: scale(1.035);
|
||||
}
|
||||
|
||||
.discovery-kicker,
|
||||
.discovery-label {
|
||||
font-size: var(--text-xs);
|
||||
}
|
||||
|
||||
.discovery-hero-copy h1 {
|
||||
margin: clamp(0.85rem, 1.8vw, 1.2rem) 0 clamp(1.2rem, 2.5vw, 1.8rem);
|
||||
font-size: clamp(3rem, 7vw, 8.6rem);
|
||||
line-height: 0.9;
|
||||
letter-spacing: 0;
|
||||
text-wrap: balance;
|
||||
}
|
||||
|
||||
.discovery-intro {
|
||||
max-width: var(--text-measure);
|
||||
font-size: var(--text-lg);
|
||||
}
|
||||
|
||||
.discovery-benefits {
|
||||
gap: var(--gap-sm);
|
||||
margin-top: clamp(2rem, 4vw, 3.4rem);
|
||||
}
|
||||
|
||||
.discovery-benefit {
|
||||
grid-template-columns: 2.2rem 1fr;
|
||||
gap: var(--gap-sm);
|
||||
padding-top: var(--gap-sm);
|
||||
border-top: 1px solid var(--theme-border);
|
||||
}
|
||||
|
||||
.discovery-benefit-icon {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 2rem;
|
||||
height: 2rem;
|
||||
border: 1px solid rgba(var(--theme-accent-rgb) / 0.45);
|
||||
border-radius: 999px;
|
||||
color: var(--theme-accent);
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.discovery-benefit strong {
|
||||
font-size: var(--text-base);
|
||||
}
|
||||
|
||||
.discovery-benefit p,
|
||||
.discovery-product-copy p,
|
||||
.discovery-step-card p,
|
||||
.discovery-comparison-card p {
|
||||
font-size: var(--text-sm);
|
||||
}
|
||||
|
||||
.discovery-hero-actions {
|
||||
max-width: 36rem;
|
||||
margin-top: clamp(1.8rem, 3.8vw, 3rem);
|
||||
}
|
||||
|
||||
.discovery-primary-btn {
|
||||
border-radius: 999px;
|
||||
background: #111;
|
||||
letter-spacing: 0.1em;
|
||||
}
|
||||
|
||||
.discovery-primary-btn:hover,
|
||||
.discovery-primary-btn:focus-visible {
|
||||
box-shadow: var(--theme-shadow-soft);
|
||||
}
|
||||
|
||||
.discovery-included,
|
||||
.discovery-comparison-section,
|
||||
.discovery-steps-section {
|
||||
padding-top: var(--section-y-sm);
|
||||
}
|
||||
|
||||
.discovery-section-heading {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
|
||||
gap: var(--gap-lg);
|
||||
align-items: end;
|
||||
margin-bottom: clamp(1.8rem, 4vw, 3.8rem);
|
||||
}
|
||||
|
||||
.discovery-section-heading h2 {
|
||||
margin: 0;
|
||||
font-size: clamp(2.2rem, 5.5vw, 6.2rem);
|
||||
line-height: 0.94;
|
||||
letter-spacing: 0;
|
||||
text-wrap: balance;
|
||||
}
|
||||
|
||||
.discovery-section-heading p {
|
||||
max-width: var(--text-measure);
|
||||
margin-top: var(--gap-sm);
|
||||
font-size: var(--text-base);
|
||||
}
|
||||
|
||||
.discovery-section-heading--center {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.discovery-products-grid {
|
||||
grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
|
||||
gap: var(--gap-md);
|
||||
}
|
||||
|
||||
.discovery-product-card {
|
||||
gap: var(--gap-sm);
|
||||
padding: clamp(0.8rem, 1.4vw, 1rem);
|
||||
border: 1px solid var(--theme-border);
|
||||
border-radius: var(--radius-lg);
|
||||
background: var(--theme-bg);
|
||||
transition:
|
||||
transform var(--duration-med) var(--ease-out),
|
||||
border-color var(--duration-med) var(--ease-out),
|
||||
box-shadow var(--duration-med) var(--ease-out);
|
||||
}
|
||||
|
||||
.discovery-product-card:hover {
|
||||
transform: translateY(-4px);
|
||||
border-color: rgba(var(--theme-accent-rgb) / 0.45);
|
||||
box-shadow: var(--theme-shadow-soft);
|
||||
}
|
||||
|
||||
.discovery-product-image {
|
||||
border-radius: var(--radius-md);
|
||||
}
|
||||
|
||||
.discovery-product-image img {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.discovery-product-copy h3 {
|
||||
font-size: var(--text-lg);
|
||||
}
|
||||
|
||||
.discovery-product-tags span {
|
||||
min-height: 34px;
|
||||
border-radius: 999px;
|
||||
background: var(--theme-surface-soft);
|
||||
}
|
||||
|
||||
.discovery-steps-shell {
|
||||
padding: clamp(1.5rem, 5vw, 4rem);
|
||||
border-radius: var(--radius-lg);
|
||||
background:
|
||||
radial-gradient(circle at 20% 0%, rgba(var(--theme-accent-rgb) / 0.2), transparent 24rem),
|
||||
#111;
|
||||
}
|
||||
|
||||
.discovery-steps-shell h2 {
|
||||
font-size: clamp(2.35rem, 5.5vw, 6rem);
|
||||
letter-spacing: 0;
|
||||
}
|
||||
|
||||
.discovery-steps-grid {
|
||||
gap: var(--gap-md);
|
||||
}
|
||||
|
||||
.discovery-step-card {
|
||||
padding: clamp(1rem, 2vw, 1.4rem);
|
||||
border: 1px solid rgba(255, 255, 255, 0.14);
|
||||
border-radius: var(--radius-lg);
|
||||
background: rgba(255, 255, 255, 0.045);
|
||||
}
|
||||
|
||||
.discovery-step-number {
|
||||
border-radius: 999px;
|
||||
background: var(--theme-accent);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.discovery-comparison-grid {
|
||||
gap: var(--gap-md);
|
||||
}
|
||||
|
||||
.discovery-comparison-card {
|
||||
padding: clamp(1.25rem, 3vw, 2.2rem);
|
||||
border-radius: var(--radius-lg);
|
||||
}
|
||||
|
||||
.discovery-comparison-head h3 {
|
||||
font-size: var(--text-xl);
|
||||
}
|
||||
|
||||
.discovery-bottom-cta {
|
||||
max-width: 48rem;
|
||||
margin-top: var(--gap-lg);
|
||||
}
|
||||
|
||||
@media (max-width: 1200px) {
|
||||
.discovery-hero {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.discovery-hero-copy,
|
||||
.discovery-mood-grid {
|
||||
grid-column: 1;
|
||||
}
|
||||
|
||||
.discovery-mood-grid {
|
||||
max-width: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 820px) {
|
||||
.discovery-page {
|
||||
padding-inline: var(--page-x);
|
||||
}
|
||||
|
||||
.discovery-shell {
|
||||
width: var(--container-wide);
|
||||
padding-inline: clamp(0.9rem, 4vw, 1.1rem);
|
||||
}
|
||||
|
||||
.discovery-section-heading {
|
||||
grid-template-columns: 1fr;
|
||||
gap: var(--gap-sm);
|
||||
}
|
||||
|
||||
.discovery-mood-grid {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
grid-auto-rows: auto;
|
||||
}
|
||||
|
||||
.discovery-mood-tile,
|
||||
.discovery-mood-tile:nth-child(1),
|
||||
.discovery-mood-tile:nth-child(4),
|
||||
.discovery-mood-tile:nth-child(5),
|
||||
.discovery-mood-tile:nth-child(6) {
|
||||
grid-column: auto;
|
||||
aspect-ratio: 1 / 1;
|
||||
}
|
||||
|
||||
.discovery-products-grid,
|
||||
.discovery-steps-grid,
|
||||
.discovery-comparison-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 430px) {
|
||||
.discovery-mood-grid {
|
||||
gap: 0.6rem;
|
||||
}
|
||||
|
||||
.discovery-primary-btn {
|
||||
padding-inline: 1rem;
|
||||
font-size: 0.78rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* --- Design System Refinement End --- */
|
||||
|
||||
@@ -31,10 +31,12 @@ function DiscoverySetPage() {
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<section className="discovery-hero">
|
||||
<section className="discovery-hero" data-reveal-group>
|
||||
<div className="discovery-hero-copy">
|
||||
<span className="discovery-kicker">DISCOVERY SET</span>
|
||||
<h1>
|
||||
<span className="discovery-kicker" data-reveal="fade">
|
||||
DISCOVERY SET
|
||||
</span>
|
||||
<h1 data-reveal="lines">
|
||||
DER SICHERSTE EINSTIEG
|
||||
<br />
|
||||
IN DIE WELT DER NISCHEN-
|
||||
@@ -42,12 +44,12 @@ function DiscoverySetPage() {
|
||||
DÜFTE
|
||||
</h1>
|
||||
|
||||
<p className="discovery-intro">
|
||||
<p className="discovery-intro" data-reveal="fade">
|
||||
6 Düfte × 2ml. Jeden Duft eine Woche tragen. Verstehen, was
|
||||
wirklich funktioniert. Ohne Risiko.
|
||||
</p>
|
||||
|
||||
<div className="discovery-benefits">
|
||||
<div className="discovery-benefits" data-reveal="fade">
|
||||
<div className="discovery-benefit">
|
||||
<span className="discovery-benefit-icon">✓</span>
|
||||
<div>
|
||||
@@ -93,7 +95,7 @@ function DiscoverySetPage() {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="discovery-hero-actions">
|
||||
<div className="discovery-hero-actions" data-reveal="fade">
|
||||
<button type="button" className="discovery-primary-btn" onClick={buyDiscoverySet}>
|
||||
DISCOVERY SET BESTELLEN – CHF 48.–
|
||||
</button>
|
||||
@@ -104,23 +106,35 @@ function DiscoverySetPage() {
|
||||
<div className="discovery-mood-grid">
|
||||
{moodImages.map((image, index) => (
|
||||
<div className="discovery-mood-tile" key={index}>
|
||||
<img src={image} alt={`Discovery Mood ${index + 1}`} />
|
||||
<img
|
||||
src={image}
|
||||
alt={`Discovery Mood ${index + 1}`}
|
||||
loading={index === 0 ? "eager" : "lazy"}
|
||||
decoding="async"
|
||||
/>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section className="discovery-included">
|
||||
<section className="discovery-included" data-reveal-group>
|
||||
<div className="discovery-section-heading">
|
||||
<span className="discovery-label">IM SET ENTHALTEN</span>
|
||||
<h2>ALLE 6 SIGNATURE-DÜFTE ZUM TESTEN.</h2>
|
||||
<span className="discovery-label" data-reveal="fade">
|
||||
IM SET ENTHALTEN
|
||||
</span>
|
||||
<h2 data-reveal="lines">ALLE 6 SIGNATURE-DÜFTE ZUM TESTEN.</h2>
|
||||
</div>
|
||||
|
||||
<div className="discovery-products-grid">
|
||||
{perfumes.map((perfume) => (
|
||||
<article className="discovery-product-card" key={perfume.id}>
|
||||
<div className="discovery-product-image">
|
||||
<img src={perfume.image} alt={perfume.name} />
|
||||
<img
|
||||
src={perfume.image}
|
||||
alt={perfume.name}
|
||||
loading="lazy"
|
||||
decoding="async"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div className="discovery-product-copy">
|
||||
@@ -139,11 +153,11 @@ function DiscoverySetPage() {
|
||||
</section>
|
||||
|
||||
<section className="discovery-steps-section">
|
||||
<div className="discovery-steps-shell">
|
||||
<h2>So funktioniert's</h2>
|
||||
<div className="discovery-steps-shell" data-reveal-group>
|
||||
<h2 data-reveal="lines">So funktioniert's</h2>
|
||||
|
||||
<div className="discovery-steps-grid">
|
||||
<article className="discovery-step-card">
|
||||
<article className="discovery-step-card" data-reveal="fade">
|
||||
<div className="discovery-step-number">1</div>
|
||||
<h3>Bestellen</h3>
|
||||
<p>
|
||||
@@ -152,7 +166,7 @@ function DiscoverySetPage() {
|
||||
</p>
|
||||
</article>
|
||||
|
||||
<article className="discovery-step-card">
|
||||
<article className="discovery-step-card" data-reveal="fade">
|
||||
<div className="discovery-step-number">2</div>
|
||||
<h3>Testen</h3>
|
||||
<p>
|
||||
@@ -161,7 +175,7 @@ function DiscoverySetPage() {
|
||||
</p>
|
||||
</article>
|
||||
|
||||
<article className="discovery-step-card">
|
||||
<article className="discovery-step-card" data-reveal="fade">
|
||||
<div className="discovery-step-number">3</div>
|
||||
<h3>Entscheiden</h3>
|
||||
<p>
|
||||
@@ -173,11 +187,13 @@ function DiscoverySetPage() {
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section className="discovery-comparison-section">
|
||||
<section className="discovery-comparison-section" data-reveal-group>
|
||||
<div className="discovery-section-heading discovery-section-heading--center">
|
||||
<span className="discovery-label">WARUM DISCOVERY SET</span>
|
||||
<h2>DER KLÜGERE EINSTIEG IN NISCHENDÜFTE.</h2>
|
||||
<p>
|
||||
<span className="discovery-label" data-reveal="fade">
|
||||
WARUM DISCOVERY SET
|
||||
</span>
|
||||
<h2 data-reveal="lines">DER KLÜGERE EINSTIEG IN NISCHENDÜFTE.</h2>
|
||||
<p data-reveal="fade">
|
||||
Nischen-Parfums sind keine Impulskäufe. Sie brauchen Zeit, um zu
|
||||
verstehen, wie sie auf deiner Haut funktionieren, wie sie sich im
|
||||
Alltag entwickeln und ob sie wirklich zu dir passen.
|
||||
@@ -185,7 +201,7 @@ function DiscoverySetPage() {
|
||||
</div>
|
||||
|
||||
<div className="discovery-comparison-grid">
|
||||
<div className="discovery-comparison-card">
|
||||
<div className="discovery-comparison-card" data-reveal="fade">
|
||||
<div className="discovery-comparison-head">
|
||||
<span className="discovery-comparison-icon">×</span>
|
||||
<h3>Traditioneller Weg</h3>
|
||||
@@ -197,7 +213,10 @@ function DiscoverySetPage() {
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div className="discovery-comparison-card discovery-comparison-card--highlight">
|
||||
<div
|
||||
className="discovery-comparison-card discovery-comparison-card--highlight"
|
||||
data-reveal="fade"
|
||||
>
|
||||
<div className="discovery-comparison-head">
|
||||
<span className="discovery-comparison-icon">✓</span>
|
||||
<h3>Discovery Set Weg</h3>
|
||||
@@ -210,7 +229,7 @@ function DiscoverySetPage() {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="discovery-bottom-cta">
|
||||
<div className="discovery-bottom-cta" data-reveal="fade">
|
||||
<button type="button" className="discovery-primary-btn" onClick={buyDiscoverySet}>
|
||||
DISCOVERY SET BESTELLEN – CHF 48.–
|
||||
</button>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
.impressum-page {
|
||||
min-height: 100vh;
|
||||
color: #1f1f1f;
|
||||
color: var(--theme-text);
|
||||
padding: 26px 38px 38px;
|
||||
background:
|
||||
linear-gradient(to right, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.1)),
|
||||
@@ -8,8 +8,8 @@
|
||||
}
|
||||
|
||||
.impressum-shell {
|
||||
background: #f5f5f5;
|
||||
border: 1px solid #d9d9d9;
|
||||
background: var(--theme-surface);
|
||||
border: 1px solid var(--theme-border);
|
||||
padding: 38px;
|
||||
}
|
||||
|
||||
@@ -18,12 +18,12 @@
|
||||
display: block;
|
||||
font-size: 10px;
|
||||
letter-spacing: 0.22em;
|
||||
color: #666;
|
||||
color: var(--theme-text-muted);
|
||||
}
|
||||
|
||||
.impressum-hero {
|
||||
padding-bottom: 32px;
|
||||
border-bottom: 1px solid #dfdfdf;
|
||||
border-bottom: 1px solid var(--theme-border);
|
||||
}
|
||||
|
||||
.impressum-hero h1 {
|
||||
@@ -31,8 +31,8 @@
|
||||
font-size: 64px;
|
||||
line-height: 0.92;
|
||||
font-weight: 300;
|
||||
letter-spacing: -0.05em;
|
||||
color: #131313;
|
||||
letter-spacing: 0;
|
||||
color: var(--theme-text);
|
||||
}
|
||||
|
||||
.impressum-intro {
|
||||
@@ -40,7 +40,7 @@
|
||||
margin: 0;
|
||||
font-size: 17px;
|
||||
line-height: 1.65;
|
||||
color: #4f4f4f;
|
||||
color: var(--theme-text-muted);
|
||||
}
|
||||
|
||||
.impressum-grid {
|
||||
@@ -52,8 +52,8 @@
|
||||
|
||||
.impressum-card {
|
||||
padding: 24px;
|
||||
background: #efefef;
|
||||
border: 1px solid #d9d9d9;
|
||||
background: var(--theme-bg);
|
||||
border: 1px solid var(--theme-border);
|
||||
min-height: 210px;
|
||||
}
|
||||
|
||||
@@ -62,14 +62,14 @@
|
||||
font-size: 26px;
|
||||
line-height: 1.05;
|
||||
font-weight: 400;
|
||||
color: #131313;
|
||||
color: var(--theme-text);
|
||||
}
|
||||
|
||||
.impressum-card p {
|
||||
margin: 0;
|
||||
font-size: 15px;
|
||||
line-height: 1.7;
|
||||
color: #4f4f4f;
|
||||
color: var(--theme-text-muted);
|
||||
}
|
||||
|
||||
.impressum-section {
|
||||
@@ -79,7 +79,7 @@
|
||||
align-items: start;
|
||||
margin-top: 38px;
|
||||
padding-top: 38px;
|
||||
border-top: 1px solid #dfdfdf;
|
||||
border-top: 1px solid var(--theme-border);
|
||||
}
|
||||
|
||||
.impressum-section-heading h2 {
|
||||
@@ -87,15 +87,15 @@
|
||||
font-size: 38px;
|
||||
line-height: 0.98;
|
||||
font-weight: 300;
|
||||
letter-spacing: -0.04em;
|
||||
color: #131313;
|
||||
letter-spacing: 0;
|
||||
color: var(--theme-text);
|
||||
}
|
||||
|
||||
.impressum-section-copy p {
|
||||
margin: 0 0 16px;
|
||||
font-size: 16px;
|
||||
line-height: 1.75;
|
||||
color: #4f4f4f;
|
||||
color: var(--theme-text-muted);
|
||||
}
|
||||
|
||||
.impressum-note-box {
|
||||
@@ -112,7 +112,7 @@
|
||||
margin: 0;
|
||||
font-size: 15px;
|
||||
line-height: 1.65;
|
||||
color: #1f1f1f;
|
||||
color: var(--theme-text);
|
||||
}
|
||||
|
||||
@media (max-width: 1100px) {
|
||||
@@ -148,4 +148,107 @@
|
||||
.impressum-section-copy p {
|
||||
font-size: 15px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* --- Design System Refinement Start --- */
|
||||
|
||||
.impressum-page {
|
||||
padding: clamp(1rem, 3vw, 2.4rem) var(--page-x) clamp(2rem, 5vw, 4rem);
|
||||
background:
|
||||
radial-gradient(circle at 88% 9%, rgba(var(--theme-accent-rgb) / 0.12), transparent 28rem),
|
||||
linear-gradient(135deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.08)),
|
||||
var(--theme-bg);
|
||||
}
|
||||
|
||||
.impressum-shell {
|
||||
width: var(--container-narrow);
|
||||
margin: 0 auto;
|
||||
padding: clamp(1.25rem, 3vw, 2.8rem);
|
||||
border-radius: var(--radius-lg);
|
||||
box-shadow: var(--theme-shadow);
|
||||
}
|
||||
|
||||
.impressum-kicker,
|
||||
.impressum-label {
|
||||
font-size: var(--text-xs);
|
||||
}
|
||||
|
||||
.impressum-hero {
|
||||
padding-bottom: var(--section-y-xs);
|
||||
}
|
||||
|
||||
.impressum-hero h1 {
|
||||
font-size: clamp(3rem, 8vw, 7.2rem);
|
||||
line-height: 0.9;
|
||||
letter-spacing: 0;
|
||||
}
|
||||
|
||||
.impressum-intro {
|
||||
max-width: var(--text-measure);
|
||||
font-size: var(--text-lg);
|
||||
}
|
||||
|
||||
.impressum-grid {
|
||||
grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
|
||||
gap: var(--gap-sm);
|
||||
margin-top: var(--section-y-xs);
|
||||
}
|
||||
|
||||
.impressum-card,
|
||||
.impressum-note-box {
|
||||
border-radius: var(--radius-lg);
|
||||
}
|
||||
|
||||
.impressum-card {
|
||||
transition:
|
||||
transform var(--duration-med) var(--ease-out),
|
||||
border-color var(--duration-med) var(--ease-out),
|
||||
box-shadow var(--duration-med) var(--ease-out);
|
||||
}
|
||||
|
||||
.impressum-card:hover {
|
||||
transform: translateY(-4px);
|
||||
border-color: rgba(var(--theme-accent-rgb) / 0.42);
|
||||
box-shadow: var(--theme-shadow-soft);
|
||||
}
|
||||
|
||||
.impressum-card h2,
|
||||
.impressum-section-heading h2 {
|
||||
letter-spacing: 0;
|
||||
}
|
||||
|
||||
.impressum-card h2 {
|
||||
font-size: var(--text-xl);
|
||||
}
|
||||
|
||||
.impressum-section {
|
||||
gap: var(--gap-lg);
|
||||
margin-top: var(--section-y-xs);
|
||||
padding-top: var(--section-y-xs);
|
||||
}
|
||||
|
||||
.impressum-section-heading h2 {
|
||||
font-size: clamp(2rem, 4.2vw, 4.5rem);
|
||||
line-height: 0.96;
|
||||
}
|
||||
|
||||
.impressum-card p,
|
||||
.impressum-section-copy p,
|
||||
.impressum-note-box p {
|
||||
font-size: var(--text-base);
|
||||
}
|
||||
|
||||
@media (max-width: 700px) {
|
||||
.impressum-page {
|
||||
padding-inline: var(--page-x);
|
||||
}
|
||||
|
||||
.impressum-shell {
|
||||
width: var(--container-wide);
|
||||
padding-inline: clamp(0.9rem, 4vw, 1.1rem);
|
||||
}
|
||||
}
|
||||
|
||||
/* --- Design System Refinement End --- */
|
||||
|
||||
@@ -7,18 +7,20 @@ function ImpressumPage() {
|
||||
<SharedNavbar variant="light" />
|
||||
|
||||
<main className="impressum-shell">
|
||||
<section className="impressum-hero">
|
||||
<span className="impressum-kicker">RECHTLICHE ANGABEN</span>
|
||||
<h1>IMPRESSUM</h1>
|
||||
<p className="impressum-intro">
|
||||
<section className="impressum-hero" data-reveal-group>
|
||||
<span className="impressum-kicker" data-reveal="fade">
|
||||
RECHTLICHE ANGABEN
|
||||
</span>
|
||||
<h1 data-reveal="lines">IMPRESSUM</h1>
|
||||
<p className="impressum-intro" data-reveal="fade">
|
||||
Dieses Impressum enthält die rechtlichen Angaben zu atmos sowie
|
||||
Informationen zur Verantwortlichkeit, Erreichbarkeit und zu den
|
||||
veröffentlichten Inhalten dieser Website.
|
||||
</p>
|
||||
</section>
|
||||
|
||||
<section className="impressum-grid">
|
||||
<article className="impressum-card">
|
||||
<section className="impressum-grid" data-reveal-group data-reveal-start="top 90%">
|
||||
<article className="impressum-card" data-reveal="fade">
|
||||
<span className="impressum-label">ANBIETER</span>
|
||||
<h2>Unternehmen</h2>
|
||||
<p>
|
||||
@@ -32,7 +34,7 @@ function ImpressumPage() {
|
||||
</p>
|
||||
</article>
|
||||
|
||||
<article className="impressum-card">
|
||||
<article className="impressum-card" data-reveal="fade">
|
||||
<span className="impressum-label">KONTAKT</span>
|
||||
<h2>Erreichbarkeit</h2>
|
||||
<p>
|
||||
@@ -42,7 +44,7 @@ function ImpressumPage() {
|
||||
</p>
|
||||
</article>
|
||||
|
||||
<article className="impressum-card">
|
||||
<article className="impressum-card" data-reveal="fade">
|
||||
<span className="impressum-label">VERTRETUNGSBERECHTIGT</span>
|
||||
<h2>Geschäftsführung</h2>
|
||||
<p>
|
||||
@@ -52,7 +54,7 @@ function ImpressumPage() {
|
||||
</p>
|
||||
</article>
|
||||
|
||||
<article className="impressum-card">
|
||||
<article className="impressum-card" data-reveal="fade">
|
||||
<span className="impressum-label">HANDELSREGISTER</span>
|
||||
<h2>Registereintrag</h2>
|
||||
<p>
|
||||
@@ -63,13 +65,15 @@ function ImpressumPage() {
|
||||
</article>
|
||||
</section>
|
||||
|
||||
<section className="impressum-section">
|
||||
<section className="impressum-section" data-reveal-group>
|
||||
<div className="impressum-section-heading">
|
||||
<span className="impressum-label">INHALTLICHE VERANTWORTUNG</span>
|
||||
<h2>VERANTWORTLICH FÜR DEN INHALT</h2>
|
||||
<span className="impressum-label" data-reveal="fade">
|
||||
INHALTLICHE VERANTWORTUNG
|
||||
</span>
|
||||
<h2 data-reveal="lines">VERANTWORTLICH FÜR DEN INHALT</h2>
|
||||
</div>
|
||||
|
||||
<div className="impressum-section-copy">
|
||||
<div className="impressum-section-copy" data-reveal="fade">
|
||||
<p>
|
||||
Verantwortlich für diese Website und die publizierten Inhalte:
|
||||
</p>
|
||||
@@ -85,13 +89,15 @@ function ImpressumPage() {
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section className="impressum-section">
|
||||
<section className="impressum-section" data-reveal-group>
|
||||
<div className="impressum-section-heading">
|
||||
<span className="impressum-label">HAFTUNG</span>
|
||||
<h2>HAFTUNGSAUSSCHLUSS</h2>
|
||||
<span className="impressum-label" data-reveal="fade">
|
||||
HAFTUNG
|
||||
</span>
|
||||
<h2 data-reveal="lines">HAFTUNGSAUSSCHLUSS</h2>
|
||||
</div>
|
||||
|
||||
<div className="impressum-section-copy">
|
||||
<div className="impressum-section-copy" data-reveal="fade">
|
||||
<p>
|
||||
Trotz sorgfältiger inhaltlicher Kontrolle übernimmt atmos keine
|
||||
Gewähr für die Aktualität, Richtigkeit, Vollständigkeit oder
|
||||
@@ -105,13 +111,15 @@ function ImpressumPage() {
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section className="impressum-section">
|
||||
<section className="impressum-section" data-reveal-group>
|
||||
<div className="impressum-section-heading">
|
||||
<span className="impressum-label">URHEBERRECHT</span>
|
||||
<h2>URHEBER- UND MARKENRECHTE</h2>
|
||||
<span className="impressum-label" data-reveal="fade">
|
||||
URHEBERRECHT
|
||||
</span>
|
||||
<h2 data-reveal="lines">URHEBER- UND MARKENRECHTE</h2>
|
||||
</div>
|
||||
|
||||
<div className="impressum-section-copy">
|
||||
<div className="impressum-section-copy" data-reveal="fade">
|
||||
<p>
|
||||
Sämtliche Inhalte dieser Website, einschliesslich Texte, Bilder,
|
||||
Gestaltungselemente, Logos und Marken, sind urheberrechtlich
|
||||
@@ -123,13 +131,15 @@ function ImpressumPage() {
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section className="impressum-section">
|
||||
<section className="impressum-section" data-reveal-group>
|
||||
<div className="impressum-section-heading">
|
||||
<span className="impressum-label">TRANSPARENZ</span>
|
||||
<h2>KLARE ANGABEN UND ERREICHBARKEIT</h2>
|
||||
<span className="impressum-label" data-reveal="fade">
|
||||
TRANSPARENZ
|
||||
</span>
|
||||
<h2 data-reveal="lines">KLARE ANGABEN UND ERREICHBARKEIT</h2>
|
||||
</div>
|
||||
|
||||
<div className="impressum-note-box">
|
||||
<div className="impressum-note-box" data-reveal="fade">
|
||||
<p>
|
||||
atmos legt Wert auf eine klare, transparente und nachvollziehbare
|
||||
Kommunikation. Dieses Impressum dient der eindeutigen
|
||||
|
||||
@@ -1,7 +1,10 @@
|
||||
.page {
|
||||
position: relative;
|
||||
min-height: 100vh;
|
||||
background: #efefef;
|
||||
color: #1f1f1f;
|
||||
background:
|
||||
radial-gradient(circle at 82% 12%, rgba(var(--theme-accent-rgb) / 0.13), transparent 28rem),
|
||||
linear-gradient(180deg, var(--theme-bg), color-mix(in srgb, var(--theme-bg) 88%, #000 12%));
|
||||
color: var(--theme-text);
|
||||
}
|
||||
|
||||
.visually-hidden {
|
||||
@@ -16,20 +19,37 @@
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.page main {
|
||||
padding-bottom: var(--section-y-sm);
|
||||
}
|
||||
|
||||
/* HERO */
|
||||
.hero {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
min-height: 100vh;
|
||||
min-height: 100svh;
|
||||
min-height: 100dvh;
|
||||
min-height: clamp(680px, 100svh, 980px);
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
display: grid;
|
||||
align-items: center;
|
||||
isolation: isolate;
|
||||
background: #111;
|
||||
}
|
||||
|
||||
.hero::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
z-index: 2;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.hero::before {
|
||||
background:
|
||||
radial-gradient(circle at 72% 42%, rgba(255, 255, 255, 0.1), transparent 24rem),
|
||||
linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.42) 44%, rgba(0, 0, 0, 0.08) 100%),
|
||||
linear-gradient(0deg, rgba(0, 0, 0, 0.44), transparent 46%);
|
||||
}
|
||||
|
||||
.hero-media {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
@@ -42,118 +62,128 @@
|
||||
height: 100%;
|
||||
display: block;
|
||||
object-fit: cover;
|
||||
object-position: center;
|
||||
object-position: 60% center;
|
||||
will-change: transform;
|
||||
}
|
||||
|
||||
.hero .navbar--hero {
|
||||
position: absolute;
|
||||
top: 22px;
|
||||
left: 0;
|
||||
position: fixed;
|
||||
top: clamp(0.75rem, 2.1vw, 1.4rem);
|
||||
right: 0;
|
||||
z-index: 12;
|
||||
left: 0;
|
||||
z-index: 998;
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.hero-brand {
|
||||
position: absolute;
|
||||
top: 22px;
|
||||
left: clamp(1rem, 1.45vw, 20px);
|
||||
z-index: 14;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.hero-brand__logo {
|
||||
display: block;
|
||||
width: clamp(74px, 8vw, 112px);
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.hero-content {
|
||||
position: relative;
|
||||
z-index: 6;
|
||||
width: min(760px, 100%);
|
||||
padding: clamp(6rem, 11vh, 9rem) clamp(1.2rem, 3.4vw, 3rem)
|
||||
clamp(2.6rem, 7vh, 4rem);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
width: var(--container-wide);
|
||||
margin: 0 auto;
|
||||
padding: clamp(7rem, 14vh, 11rem) 0 clamp(3rem, 8vh, 6rem);
|
||||
display: grid;
|
||||
grid-template-columns: repeat(12, minmax(0, 1fr));
|
||||
gap: var(--gap-md);
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.hero-title {
|
||||
grid-column: 1 / span 7;
|
||||
max-width: 10.8ch;
|
||||
margin: 0;
|
||||
font-size: clamp(2.8rem, 8.5vw, 6.4rem);
|
||||
line-height: 0.88;
|
||||
font-size: clamp(3.2rem, 8.4vw, 8.8rem);
|
||||
line-height: 0.9;
|
||||
font-weight: 300;
|
||||
letter-spacing: -0.045em;
|
||||
letter-spacing: 0;
|
||||
text-transform: uppercase;
|
||||
color: #fff;
|
||||
text-wrap: balance;
|
||||
}
|
||||
|
||||
.hero-title-line {
|
||||
display: block;
|
||||
will-change: transform, opacity;
|
||||
overflow: hidden;
|
||||
padding-right: 0.12em;
|
||||
padding-bottom: 0.08em;
|
||||
margin-right: -0.12em;
|
||||
margin-bottom: -0.08em;
|
||||
}
|
||||
|
||||
.hero-title-line .reveal-line {
|
||||
will-change: transform;
|
||||
}
|
||||
|
||||
.hero-title-line + .hero-title-line {
|
||||
margin-top: 0.1em;
|
||||
margin-top: 0.02em;
|
||||
}
|
||||
|
||||
.hero-text {
|
||||
margin-top: 1.25rem;
|
||||
max-width: 29rem;
|
||||
font-size: 0.99rem;
|
||||
line-height: 1.58;
|
||||
color: rgba(255, 255, 255, 0.86);
|
||||
grid-column: 1 / span 5;
|
||||
max-width: 31rem;
|
||||
margin: 0;
|
||||
font-size: var(--text-base);
|
||||
line-height: 1.62;
|
||||
color: rgba(255, 255, 255, 0.84);
|
||||
will-change: transform, opacity;
|
||||
}
|
||||
|
||||
.hero-actions {
|
||||
grid-column: 1 / span 5;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 12px;
|
||||
margin-top: 1.9rem;
|
||||
gap: var(--gap-xs);
|
||||
margin-top: clamp(0.2rem, 1vw, 0.7rem);
|
||||
will-change: transform, opacity;
|
||||
}
|
||||
|
||||
.btn {
|
||||
.btn,
|
||||
.discovery-btn {
|
||||
min-height: 48px;
|
||||
border: none;
|
||||
border-radius: 999px;
|
||||
padding: 12px 20px;
|
||||
font-size: 0.9rem;
|
||||
padding: 0 clamp(1rem, 2vw, 1.35rem);
|
||||
font-size: var(--text-sm);
|
||||
cursor: pointer;
|
||||
transition: transform 0.24s ease, opacity 0.24s ease;
|
||||
transition:
|
||||
transform var(--duration-med) var(--ease-out),
|
||||
opacity var(--duration-med) var(--ease-out),
|
||||
box-shadow var(--duration-med) var(--ease-out),
|
||||
background-color var(--duration-med) var(--ease-out),
|
||||
border-color var(--duration-med) var(--ease-out);
|
||||
text-decoration: none;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.hero .btn {
|
||||
border-radius: 0;
|
||||
.btn:hover,
|
||||
.discovery-btn:hover {
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
.btn:hover {
|
||||
transform: translateY(-1px);
|
||||
.btn:active,
|
||||
.discovery-btn:active {
|
||||
transform: translateY(0) scale(0.98);
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
background: #ff6a00;
|
||||
background: var(--theme-accent);
|
||||
color: #fff;
|
||||
box-shadow: 0 18px 42px rgba(var(--theme-accent-rgb) / 0.26);
|
||||
}
|
||||
|
||||
.btn-secondary {
|
||||
background: rgba(255, 255, 255, 0.16);
|
||||
background: rgba(255, 255, 255, 0.13);
|
||||
color: #fff;
|
||||
border: 1px solid rgba(255, 255, 255, 0.22);
|
||||
backdrop-filter: blur(8px);
|
||||
border: 1px solid rgba(255, 255, 255, 0.24);
|
||||
backdrop-filter: blur(12px);
|
||||
}
|
||||
|
||||
.intro-overlay {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
z-index: 26;
|
||||
background: #fff;
|
||||
z-index: 999;
|
||||
background: var(--theme-paper);
|
||||
display: grid;
|
||||
place-items: center;
|
||||
will-change: transform;
|
||||
@@ -164,7 +194,7 @@
|
||||
height: 100%;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
padding: clamp(1rem, 4vw, 2.2rem);
|
||||
padding: var(--page-x);
|
||||
}
|
||||
|
||||
.intro-overlay__text-mask {
|
||||
@@ -187,51 +217,107 @@
|
||||
|
||||
/* SECTIONS */
|
||||
.section {
|
||||
padding: 42px 20px 10px;
|
||||
width: var(--container-wide);
|
||||
margin: 0 auto;
|
||||
padding: var(--section-y-sm) 0 var(--section-y-xs);
|
||||
}
|
||||
|
||||
.section-heading {
|
||||
margin-bottom: 28px;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(12, minmax(0, 1fr));
|
||||
gap: var(--gap-md);
|
||||
align-items: end;
|
||||
margin-bottom: clamp(1.6rem, 4vw, 4.8rem);
|
||||
}
|
||||
|
||||
.section-heading::after {
|
||||
content: "01 / Kollektion";
|
||||
grid-column: 9 / span 3;
|
||||
align-self: start;
|
||||
padding-top: 0.3rem;
|
||||
border-top: 1px solid var(--theme-border);
|
||||
color: var(--theme-text-muted);
|
||||
font-size: var(--text-xs);
|
||||
line-height: 1.4;
|
||||
letter-spacing: 0.16em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.section-heading h2,
|
||||
.discovery-copy h2 {
|
||||
margin: 0;
|
||||
font-size: 52px;
|
||||
line-height: 0.95;
|
||||
font-size: clamp(2.6rem, 7vw, 7.4rem);
|
||||
line-height: 0.92;
|
||||
font-weight: 300;
|
||||
letter-spacing: -0.04em;
|
||||
color: #1f1f1f;
|
||||
letter-spacing: 0;
|
||||
color: var(--theme-text);
|
||||
text-wrap: balance;
|
||||
}
|
||||
|
||||
.section-heading h2 {
|
||||
grid-column: 1 / span 8;
|
||||
}
|
||||
|
||||
/* GRID */
|
||||
.product-grid {
|
||||
container-type: inline-size;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
gap: 18px;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: var(--gap-sm);
|
||||
}
|
||||
|
||||
.product-card {
|
||||
position: relative;
|
||||
container-type: inline-size;
|
||||
isolation: isolate;
|
||||
overflow: hidden;
|
||||
background: #f5f5f5;
|
||||
border: 1px solid #d9d9d9;
|
||||
border-radius: 0;
|
||||
padding: 18px;
|
||||
min-height: 360px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
cursor: pointer;
|
||||
transition: transform 0.15s ease, border-color 0.15s ease;
|
||||
text-decoration: none;
|
||||
min-height: clamp(360px, 36vw, 560px);
|
||||
display: grid;
|
||||
grid-template-rows: auto minmax(14rem, 1fr) auto;
|
||||
padding: clamp(1rem, 2vw, 1.55rem);
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
background:
|
||||
linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
|
||||
var(--theme-surface);
|
||||
border: 1px solid var(--theme-border);
|
||||
border-radius: var(--radius-lg);
|
||||
cursor: pointer;
|
||||
transition:
|
||||
transform var(--duration-med) var(--ease-out),
|
||||
border-color var(--duration-med) var(--ease-out),
|
||||
background-color var(--duration-med) var(--ease-out),
|
||||
box-shadow var(--duration-med) var(--ease-out);
|
||||
}
|
||||
|
||||
.product-card::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
z-index: 3;
|
||||
pointer-events: none;
|
||||
background:
|
||||
linear-gradient(180deg, rgba(0, 0, 0, 0.18), transparent 28%),
|
||||
linear-gradient(0deg, rgba(0, 0, 0, 0.22), transparent 42%);
|
||||
opacity: 0;
|
||||
transition: opacity var(--duration-med) var(--ease-out);
|
||||
}
|
||||
|
||||
.product-card:hover,
|
||||
.product-card:focus-visible {
|
||||
transform: translateY(-4px);
|
||||
border-color: rgba(var(--theme-accent-rgb) / 0.48);
|
||||
box-shadow: var(--theme-shadow-soft);
|
||||
}
|
||||
|
||||
.product-card:hover::before,
|
||||
.product-card:focus-visible::before {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.product-card:focus-visible {
|
||||
outline: 2px solid #ff6a00;
|
||||
outline-offset: 3px;
|
||||
outline: 2px solid var(--theme-accent);
|
||||
outline-offset: 4px;
|
||||
}
|
||||
|
||||
.product-hover-fill {
|
||||
@@ -267,14 +353,14 @@
|
||||
z-index: 1;
|
||||
background: linear-gradient(
|
||||
to bottom,
|
||||
rgba(255, 255, 255, 0.08),
|
||||
rgba(0, 0, 0, 0.18)
|
||||
rgba(255, 255, 255, 0.06),
|
||||
rgba(0, 0, 0, 0.34)
|
||||
);
|
||||
}
|
||||
|
||||
.product-card:active {
|
||||
transform: scale(0.97);
|
||||
border-color: #ff6a00;
|
||||
transform: translateY(-1px) scale(0.985);
|
||||
border-color: var(--theme-accent);
|
||||
}
|
||||
|
||||
.product-top {
|
||||
@@ -283,20 +369,23 @@
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: flex-start;
|
||||
gap: 12px;
|
||||
gap: var(--gap-sm);
|
||||
}
|
||||
|
||||
.product-id {
|
||||
font-size: 18px;
|
||||
color: #5f5f5f;
|
||||
font-size: var(--text-sm);
|
||||
color: var(--theme-text-muted);
|
||||
}
|
||||
|
||||
.product-top h3 {
|
||||
max-width: 12ch;
|
||||
margin: 0;
|
||||
font-size: 18px;
|
||||
font-size: var(--text-sm);
|
||||
line-height: 1.15;
|
||||
font-weight: 400;
|
||||
text-align: right;
|
||||
letter-spacing: 0.02em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.product-image-wrap {
|
||||
@@ -305,25 +394,35 @@
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
min-height: 180px;
|
||||
padding: 20px 0;
|
||||
width: 100%;
|
||||
min-height: 0;
|
||||
padding: clamp(1.2rem, 5vw, 4.8rem) 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.product-image-wrap::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
width: min(76%, 26rem);
|
||||
aspect-ratio: 1;
|
||||
border-radius: 50%;
|
||||
background: rgba(var(--theme-accent-rgb) / 0.08);
|
||||
filter: blur(28px);
|
||||
transform: translateY(10%);
|
||||
}
|
||||
|
||||
.product-image {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
width: 100%;
|
||||
max-width: 600px;
|
||||
width: min(92%, 520px);
|
||||
height: auto;
|
||||
object-fit: contain;
|
||||
border-radius: 0;
|
||||
transition: transform 0.4s ease;
|
||||
transition: transform var(--duration-slow) var(--ease-out);
|
||||
}
|
||||
|
||||
.product-card:hover .product-image {
|
||||
transform: scale(1.05);
|
||||
transform: scale(1.045) rotate(-0.6deg);
|
||||
}
|
||||
|
||||
.product-bottom {
|
||||
@@ -332,20 +431,24 @@
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: flex-end;
|
||||
gap: 12px;
|
||||
gap: var(--gap-sm);
|
||||
}
|
||||
|
||||
.product-bottom p {
|
||||
max-width: 18rem;
|
||||
margin: 0;
|
||||
max-width: 170px;
|
||||
font-size: 15px;
|
||||
line-height: 1.35;
|
||||
color: #5f5f5f;
|
||||
color: var(--theme-text-muted);
|
||||
font-size: var(--text-sm);
|
||||
line-height: 1.45;
|
||||
}
|
||||
|
||||
.arrow {
|
||||
font-size: 26px;
|
||||
color: #ff6a00;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-width: 2rem;
|
||||
color: var(--theme-accent);
|
||||
font-size: clamp(1.5rem, 2.5vw, 2rem);
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
@@ -353,7 +456,9 @@
|
||||
.product-top h3,
|
||||
.product-bottom p,
|
||||
.arrow {
|
||||
transition: color 0.25s ease;
|
||||
transition:
|
||||
color var(--duration-med) var(--ease-out),
|
||||
transform var(--duration-med) var(--ease-out);
|
||||
}
|
||||
|
||||
.product-card:hover .product-id,
|
||||
@@ -365,158 +470,232 @@
|
||||
.product-card:focus-within .product-bottom p,
|
||||
.product-card:focus-within .arrow {
|
||||
color: #fff;
|
||||
mix-blend-mode: difference;
|
||||
}
|
||||
|
||||
.product-card:active .product-id,
|
||||
.product-card:active .product-top h3,
|
||||
.product-card:active .product-bottom p,
|
||||
.product-card:active .arrow {
|
||||
color: #ff6a00;
|
||||
mix-blend-mode: normal;
|
||||
transform: scale(1.02);
|
||||
transition: all 0.1s ease;
|
||||
.product-card:hover .arrow,
|
||||
.product-card:focus-within .arrow {
|
||||
transform: translateX(0.35rem);
|
||||
}
|
||||
|
||||
/* DISCOVERY */
|
||||
.discovery-section {
|
||||
position: relative;
|
||||
width: var(--container-wide);
|
||||
min-height: clamp(520px, 62vw, 780px);
|
||||
margin: var(--section-y-sm) auto 0;
|
||||
padding: clamp(1.25rem, 4vw, 4rem);
|
||||
display: grid;
|
||||
grid-template-columns: 600px 1fr;
|
||||
gap: 28px;
|
||||
grid-template-columns: minmax(17rem, 0.85fr) minmax(0, 1.35fr);
|
||||
gap: var(--gap-lg);
|
||||
align-items: center;
|
||||
background: #ff6a00;
|
||||
margin: 20px;
|
||||
border-radius: 0;
|
||||
padding: 40px 38px;
|
||||
overflow: hidden;
|
||||
background:
|
||||
radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.22), transparent 16rem),
|
||||
linear-gradient(135deg, #ff6a00, #d84f00);
|
||||
border-radius: var(--radius-lg);
|
||||
}
|
||||
|
||||
.discovery-section::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 1px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.26);
|
||||
border-radius: inherit;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.discovery-copy {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
max-width: 36rem;
|
||||
}
|
||||
|
||||
.discovery-copy h2 {
|
||||
margin: 0;
|
||||
font-size: 42px;
|
||||
line-height: 0.95;
|
||||
font-weight: 300;
|
||||
letter-spacing: -0.04em;
|
||||
color: #fff;
|
||||
font-size: clamp(2.2rem, 5.8vw, 6rem);
|
||||
}
|
||||
|
||||
.discovery-copy p {
|
||||
margin-top: 18px;
|
||||
font-size: 15px;
|
||||
line-height: 1.5;
|
||||
color: #fff;
|
||||
max-width: 29rem;
|
||||
margin: clamp(1rem, 2vw, 1.4rem) 0 0;
|
||||
color: rgba(255, 255, 255, 0.86);
|
||||
font-size: var(--text-base);
|
||||
line-height: 1.62;
|
||||
}
|
||||
|
||||
.discovery-btn {
|
||||
border: none;
|
||||
border-radius: 999px;
|
||||
padding: 12px 18px;
|
||||
font-size: 14px;
|
||||
cursor: pointer;
|
||||
transition: transform 0.2s ease, opacity 0.2s ease;
|
||||
margin-top: clamp(1.3rem, 3vw, 2.1rem);
|
||||
background: #fff;
|
||||
color: #ff6a00;
|
||||
text-decoration: none;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.discovery-btn:hover {
|
||||
transform: translateY(-1px);
|
||||
box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.discovery-btn:active {
|
||||
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
|
||||
background: rgba(255, 255, 255, 0.8);
|
||||
color: #d64f00;
|
||||
box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
|
||||
}
|
||||
|
||||
.discovery-banner {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
max-width: 1300px;
|
||||
height: 340px;
|
||||
border-radius: 20px;
|
||||
z-index: 1;
|
||||
width: min(100%, 1080px);
|
||||
aspect-ratio: 16 / 10;
|
||||
min-height: 320px;
|
||||
justify-self: end;
|
||||
overflow: hidden;
|
||||
border-radius: var(--radius-lg);
|
||||
box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
|
||||
}
|
||||
|
||||
.discovery-banner::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
z-index: 1;
|
||||
border: 1px solid rgba(255, 255, 255, 0.24);
|
||||
border-radius: inherit;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.discovery-banner img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
object-position: center;
|
||||
display: block;
|
||||
will-change: transform;
|
||||
}
|
||||
|
||||
/* RESPONSIVE */
|
||||
@media (max-width: 900px) {
|
||||
@media (max-width: 1180px) {
|
||||
.hero-content {
|
||||
width: min(640px, 100%);
|
||||
padding-top: 7rem;
|
||||
grid-template-columns: repeat(8, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.hero-title {
|
||||
grid-column: 1 / span 6;
|
||||
}
|
||||
|
||||
.hero-text,
|
||||
.hero-actions {
|
||||
grid-column: 1 / span 4;
|
||||
}
|
||||
|
||||
.section-heading {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.hero-title,
|
||||
.section-heading h2,
|
||||
.discovery-copy h2 {
|
||||
font-size: clamp(2.45rem, 9vw, 3.2rem);
|
||||
.section-heading::after {
|
||||
grid-column: 1;
|
||||
}
|
||||
|
||||
.hero-text {
|
||||
font-size: 0.94rem;
|
||||
.section-heading::after {
|
||||
max-width: 18rem;
|
||||
}
|
||||
|
||||
.product-grid {
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.discovery-section {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.discovery-banner {
|
||||
justify-self: stretch;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.hero-brand {
|
||||
top: 14px;
|
||||
@media (max-width: 760px) {
|
||||
.hero {
|
||||
min-height: clamp(620px, 91svh, 760px);
|
||||
}
|
||||
|
||||
.hero .navbar--hero {
|
||||
top: 14px;
|
||||
.hero::before {
|
||||
background:
|
||||
linear-gradient(90deg, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.28)),
|
||||
linear-gradient(0deg, rgba(0, 0, 0, 0.62), transparent 48%);
|
||||
}
|
||||
|
||||
.hero-media__image {
|
||||
object-position: 64% center;
|
||||
}
|
||||
|
||||
.hero-content {
|
||||
padding: 6.2rem 1rem 2.3rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
justify-content: flex-end;
|
||||
gap: var(--gap-sm);
|
||||
padding-top: clamp(6.5rem, 18svh, 8.5rem);
|
||||
padding-bottom: clamp(2.4rem, 8svh, 4rem);
|
||||
}
|
||||
|
||||
.hero-title,
|
||||
.section-heading h2,
|
||||
.discovery-copy h2 {
|
||||
font-size: clamp(2.05rem, 13vw, 2.7rem);
|
||||
.hero-title {
|
||||
max-width: 9.6ch;
|
||||
font-size: clamp(3rem, 17.5vw, 5.1rem);
|
||||
}
|
||||
|
||||
.hero-text {
|
||||
max-width: 25rem;
|
||||
font-size: var(--text-sm);
|
||||
}
|
||||
|
||||
.hero-actions {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
width: min(300px, 100%);
|
||||
width: min(100%, 22rem);
|
||||
}
|
||||
|
||||
.hero-actions .btn {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.section {
|
||||
padding: 34px 12px 10px;
|
||||
}
|
||||
|
||||
.product-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.product-card {
|
||||
min-height: 320px;
|
||||
min-height: clamp(340px, 118vw, 520px);
|
||||
}
|
||||
|
||||
.product-top h3 {
|
||||
max-width: 11ch;
|
||||
}
|
||||
|
||||
.discovery-section {
|
||||
margin: 12px;
|
||||
padding: 28px 20px;
|
||||
width: calc(100% - (var(--page-x) * 2));
|
||||
min-height: 0;
|
||||
padding: clamp(1rem, 5vw, 1.5rem);
|
||||
}
|
||||
|
||||
.discovery-banner {
|
||||
min-height: 0;
|
||||
aspect-ratio: 1 / 1;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 430px) {
|
||||
.hero-title {
|
||||
max-width: 9.2ch;
|
||||
}
|
||||
|
||||
.section-heading h2,
|
||||
.discovery-copy h2 {
|
||||
font-size: clamp(2.25rem, 13vw, 3.45rem);
|
||||
}
|
||||
|
||||
.product-card {
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
.product-bottom {
|
||||
align-items: flex-start;
|
||||
}
|
||||
}
|
||||
|
||||
@container (max-width: 360px) {
|
||||
.product-bottom {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.arrow {
|
||||
align-self: flex-end;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -526,8 +705,12 @@
|
||||
.hero-text,
|
||||
.hero-actions,
|
||||
.hero-brand,
|
||||
.intro-overlay {
|
||||
transition: none !important;
|
||||
animation: none !important;
|
||||
.intro-overlay,
|
||||
.product-card,
|
||||
.product-image,
|
||||
.discovery-banner img {
|
||||
transition: none;
|
||||
animation: none;
|
||||
will-change: auto;
|
||||
}
|
||||
}
|
||||
@@ -7,18 +7,24 @@ import {
|
||||
} from "react";
|
||||
import { Link } from "react-router";
|
||||
import { gsap } from "gsap";
|
||||
import { ScrollTrigger } from "gsap/ScrollTrigger";
|
||||
import HeroSection from "../components/landing/HeroSection";
|
||||
import SharedNavbar from "../components/SharedNavbar";
|
||||
import perfumes from "../data/perfumes";
|
||||
import "../pages/LandingPage.css";
|
||||
import "../style/navbar.css";
|
||||
|
||||
const INTRO_SESSION_KEY = "atmos-landing-intro-played";
|
||||
|
||||
gsap.registerPlugin(ScrollTrigger);
|
||||
|
||||
function LandingPage() {
|
||||
const pageRef = useRef(null);
|
||||
const overlayRef = useRef(null);
|
||||
const overlayTextRef = useRef(null);
|
||||
const heroImageWrapRef = useRef(null);
|
||||
const heroImageRef = useRef(null);
|
||||
const discoveryImageRef = useRef(null);
|
||||
const headlineLineRefs = useRef([]);
|
||||
const heroMetaRefs = useRef([]);
|
||||
const cardRefs = useRef([]);
|
||||
@@ -62,9 +68,8 @@ function LandingPage() {
|
||||
const heroImageWrap = heroImageWrapRef.current;
|
||||
const headlineLines = headlineLineRefs.current.filter(Boolean);
|
||||
const heroMeta = heroMetaRefs.current.filter(Boolean);
|
||||
const revealTargets = [...headlineLines, ...heroMeta];
|
||||
|
||||
if (!overlay || !overlayText || !heroImageWrap || revealTargets.length === 0) {
|
||||
if (!overlay || !overlayText || !heroImageWrap || headlineLines.length === 0) {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
@@ -74,14 +79,22 @@ function LandingPage() {
|
||||
transformOrigin: "center center",
|
||||
});
|
||||
|
||||
gsap.set(revealTargets, {
|
||||
y: 56,
|
||||
gsap.set(headlineLines, {
|
||||
yPercent: 115,
|
||||
rotate: 2.2,
|
||||
transformOrigin: "0% 100%",
|
||||
force3D: true,
|
||||
});
|
||||
|
||||
gsap.set(heroMeta, {
|
||||
y: 36,
|
||||
autoAlpha: 0,
|
||||
});
|
||||
|
||||
if (!shouldPlayIntro) {
|
||||
gsap.set(heroImageWrap, { scale: 1 });
|
||||
gsap.set(revealTargets, { y: 0, autoAlpha: 1 });
|
||||
gsap.set(headlineLines, { yPercent: 0, rotate: 0 });
|
||||
gsap.set(heroMeta, { y: 0, autoAlpha: 1 });
|
||||
gsap.set(overlay, {
|
||||
yPercent: -100,
|
||||
autoAlpha: 0,
|
||||
@@ -130,11 +143,11 @@ function LandingPage() {
|
||||
.to(
|
||||
headlineLines,
|
||||
{
|
||||
y: 0,
|
||||
autoAlpha: 1,
|
||||
duration: 1.04,
|
||||
stagger: 0.16,
|
||||
ease: "power3.out",
|
||||
yPercent: 0,
|
||||
rotate: 0,
|
||||
duration: 1.18,
|
||||
stagger: 0.1,
|
||||
ease: "power4.out",
|
||||
},
|
||||
"<0.27"
|
||||
)
|
||||
@@ -143,11 +156,11 @@ function LandingPage() {
|
||||
{
|
||||
y: 0,
|
||||
autoAlpha: 1,
|
||||
duration: 0.98,
|
||||
stagger: 0.14,
|
||||
ease: "power3.out",
|
||||
duration: 1.02,
|
||||
stagger: 0.12,
|
||||
ease: "power4.out",
|
||||
},
|
||||
"<0.2"
|
||||
"<0.16"
|
||||
)
|
||||
.set(overlay, { display: "none" });
|
||||
}, pageRef);
|
||||
@@ -157,6 +170,69 @@ function LandingPage() {
|
||||
};
|
||||
}, [shouldPlayIntro]);
|
||||
|
||||
useLayoutEffect(() => {
|
||||
const heroImageWrap = heroImageWrapRef.current;
|
||||
const heroImage = heroImageRef.current;
|
||||
const discoveryImage = discoveryImageRef.current;
|
||||
|
||||
if (!heroImageWrap || !heroImage || !discoveryImage || typeof window === "undefined") {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
if (window.matchMedia("(prefers-reduced-motion: reduce)").matches) {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
const heroSection = heroImageWrap.closest(".hero");
|
||||
const discoveryBanner = discoveryImage.closest(".discovery-banner");
|
||||
|
||||
if (!heroSection || !discoveryBanner) {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
const ctx = gsap.context(() => {
|
||||
gsap.set(heroImage, {
|
||||
scale: 1.14,
|
||||
yPercent: -4,
|
||||
transformOrigin: "center center",
|
||||
force3D: true,
|
||||
});
|
||||
|
||||
gsap.to(heroImage, {
|
||||
yPercent: 8,
|
||||
ease: "none",
|
||||
scrollTrigger: {
|
||||
trigger: heroSection,
|
||||
start: "top top",
|
||||
end: "bottom top",
|
||||
scrub: 1.15,
|
||||
},
|
||||
});
|
||||
|
||||
gsap.set(discoveryImage, {
|
||||
scale: 1.16,
|
||||
yPercent: -8,
|
||||
transformOrigin: "center center",
|
||||
force3D: true,
|
||||
});
|
||||
|
||||
gsap.to(discoveryImage, {
|
||||
yPercent: 10,
|
||||
ease: "none",
|
||||
scrollTrigger: {
|
||||
trigger: discoveryBanner,
|
||||
start: "top bottom",
|
||||
end: "bottom top",
|
||||
scrub: 1.2,
|
||||
},
|
||||
});
|
||||
}, pageRef);
|
||||
|
||||
return () => {
|
||||
ctx.revert();
|
||||
};
|
||||
}, []);
|
||||
|
||||
useEffect(() => {
|
||||
const cards = cardRefs.current.filter(Boolean);
|
||||
const cardStates = cards
|
||||
@@ -300,8 +376,11 @@ function LandingPage() {
|
||||
|
||||
return (
|
||||
<div className="page" ref={pageRef}>
|
||||
<SharedNavbar variant="hero" active="atmos" />
|
||||
|
||||
<HeroSection
|
||||
heroImageWrapRef={heroImageWrapRef}
|
||||
heroImageRef={heroImageRef}
|
||||
setHeadlinePrimaryRef={setHeadlinePrimaryRef}
|
||||
setHeadlineSecondaryRef={setHeadlineSecondaryRef}
|
||||
setDescriptionRef={setDescriptionRef}
|
||||
@@ -311,9 +390,9 @@ function LandingPage() {
|
||||
/>
|
||||
|
||||
<main>
|
||||
<section className="section" id="dufte">
|
||||
<section className="section" id="dufte" data-reveal-group>
|
||||
<div className="section-heading">
|
||||
<h2>
|
||||
<h2 data-reveal="lines">
|
||||
{"W\u00C4HLE EINE"}
|
||||
<br />
|
||||
{"ATMOSPH\u00C4RE"}
|
||||
@@ -356,7 +435,13 @@ function LandingPage() {
|
||||
</div>
|
||||
|
||||
<div className="product-image-wrap">
|
||||
<img src={item.image} alt={item.name} className="product-image" />
|
||||
<img
|
||||
src={item.image}
|
||||
alt={item.name}
|
||||
className="product-image"
|
||||
loading={index < 3 ? "eager" : "lazy"}
|
||||
decoding="async"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div className="product-bottom">
|
||||
@@ -368,27 +453,38 @@ function LandingPage() {
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section className="discovery-section" id="testen">
|
||||
<section
|
||||
className="discovery-section"
|
||||
id="testen"
|
||||
data-reveal-group
|
||||
data-reveal-start="top 82%"
|
||||
>
|
||||
<div className="discovery-copy">
|
||||
<h2>
|
||||
<h2 data-reveal="lines">
|
||||
DER SICHERE EINSTIEG
|
||||
<br />
|
||||
DISCOVERY SET
|
||||
</h2>
|
||||
<p>
|
||||
<p data-reveal="fade">
|
||||
{"Alle 6 D\u00FCfte als 2ml Samples."}
|
||||
<br />
|
||||
Jeden Duft eine Woche tragen.
|
||||
<br />
|
||||
Verstehen, was funktioniert.
|
||||
</p>
|
||||
<Link to="/discovery-set" className="discovery-btn">
|
||||
<Link to="/discovery-set" className="discovery-btn" data-reveal="fade">
|
||||
Discovery Set bestellen
|
||||
</Link>
|
||||
</div>
|
||||
|
||||
<div className="discovery-banner">
|
||||
<img src="/DISCOVERYSET.png" alt="Discovery Set" loading="lazy" />
|
||||
<img
|
||||
src="/atmos-discovery-set-thumbnail.png"
|
||||
alt="Discovery Set"
|
||||
loading="lazy"
|
||||
decoding="async"
|
||||
ref={discoveryImageRef}
|
||||
/>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
@@ -1,27 +1,27 @@
|
||||
.small-page {
|
||||
min-height: 100vh;
|
||||
padding: 26px 38px 38px;
|
||||
background: #efefef;
|
||||
color: #1f1f1f;
|
||||
background: var(--theme-bg);
|
||||
color: var(--theme-text);
|
||||
}
|
||||
|
||||
.small-shell {
|
||||
background: #f5f5f5;
|
||||
border: 1px solid #d9d9d9;
|
||||
background: var(--theme-surface);
|
||||
border: 1px solid var(--theme-border);
|
||||
padding: 38px;
|
||||
}
|
||||
|
||||
.small-hero {
|
||||
max-width: 780px;
|
||||
padding-bottom: 34px;
|
||||
border-bottom: 1px solid #dddddd;
|
||||
border-bottom: 1px solid var(--theme-border);
|
||||
margin-bottom: 28px;
|
||||
}
|
||||
|
||||
.small-kicker {
|
||||
display: block;
|
||||
margin-bottom: 12px;
|
||||
color: #666;
|
||||
color: var(--theme-text-muted);
|
||||
font-size: 10px;
|
||||
letter-spacing: 0.22em;
|
||||
}
|
||||
@@ -41,15 +41,15 @@
|
||||
.small-panel p,
|
||||
.release-card p {
|
||||
margin: 0;
|
||||
color: #666;
|
||||
color: var(--theme-text-muted);
|
||||
line-height: 1.55;
|
||||
}
|
||||
|
||||
.small-panel,
|
||||
.release-card,
|
||||
.small-error {
|
||||
background: #f1f1f1;
|
||||
border: 1px solid #dddddd;
|
||||
background: var(--theme-surface-soft);
|
||||
border: 1px solid var(--theme-border);
|
||||
padding: 22px;
|
||||
}
|
||||
|
||||
@@ -77,13 +77,13 @@
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
padding: 14px;
|
||||
background: #f8f8f8;
|
||||
border: 1px solid #dddddd;
|
||||
background: var(--theme-surface-soft);
|
||||
border: 1px solid var(--theme-border);
|
||||
}
|
||||
|
||||
.small-requirement span,
|
||||
.release-card span {
|
||||
color: #666;
|
||||
color: var(--theme-text-muted);
|
||||
font-size: 10px;
|
||||
letter-spacing: 0.18em;
|
||||
text-transform: uppercase;
|
||||
@@ -123,3 +123,130 @@
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* --- Design System Refinement Start --- */
|
||||
|
||||
.small-page {
|
||||
padding: clamp(1rem, 3vw, 2.4rem) var(--page-x) clamp(2rem, 5vw, 4rem);
|
||||
background:
|
||||
radial-gradient(circle at 84% 7%, rgba(var(--theme-accent-rgb) / 0.12), transparent 28rem),
|
||||
var(--theme-bg);
|
||||
}
|
||||
|
||||
.small-shell {
|
||||
width: var(--container-wide);
|
||||
margin: 0 auto;
|
||||
padding: clamp(1.25rem, 3vw, 2.8rem);
|
||||
border-radius: var(--radius-lg);
|
||||
box-shadow: var(--theme-shadow);
|
||||
}
|
||||
|
||||
.small-hero {
|
||||
max-width: min(100%, 58rem);
|
||||
padding-bottom: var(--section-y-xs);
|
||||
margin-bottom: var(--gap-lg);
|
||||
}
|
||||
|
||||
.small-kicker,
|
||||
.small-requirement span,
|
||||
.release-card span {
|
||||
font-size: var(--text-xs);
|
||||
}
|
||||
|
||||
.small-hero h1,
|
||||
.small-panel h2 {
|
||||
letter-spacing: 0;
|
||||
}
|
||||
|
||||
.small-hero h1 {
|
||||
font-size: clamp(3rem, 9vw, 9rem);
|
||||
line-height: 0.88;
|
||||
text-wrap: balance;
|
||||
}
|
||||
|
||||
.small-hero p,
|
||||
.small-panel p,
|
||||
.release-card p {
|
||||
max-width: var(--text-measure);
|
||||
font-size: var(--text-base);
|
||||
}
|
||||
|
||||
.small-panel,
|
||||
.release-card,
|
||||
.small-error,
|
||||
.small-requirement {
|
||||
border-radius: var(--radius-lg);
|
||||
}
|
||||
|
||||
.small-panel,
|
||||
.release-card {
|
||||
padding: clamp(1.2rem, 3vw, 2rem);
|
||||
}
|
||||
|
||||
.small-panel button,
|
||||
.release-card button {
|
||||
min-height: 48px;
|
||||
border-radius: 999px;
|
||||
transition:
|
||||
transform var(--duration-med) var(--ease-out),
|
||||
box-shadow var(--duration-med) var(--ease-out),
|
||||
background-color var(--duration-med) var(--ease-out);
|
||||
}
|
||||
|
||||
.small-panel button:hover,
|
||||
.release-card button:hover,
|
||||
.small-panel button:focus-visible,
|
||||
.release-card button:focus-visible {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: var(--theme-shadow-soft);
|
||||
}
|
||||
|
||||
.small-requirements {
|
||||
grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
|
||||
gap: var(--gap-sm);
|
||||
}
|
||||
|
||||
.small-requirement {
|
||||
min-height: 4.5rem;
|
||||
}
|
||||
|
||||
.release-grid {
|
||||
grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
|
||||
gap: var(--gap-sm);
|
||||
margin-top: var(--gap-lg);
|
||||
}
|
||||
|
||||
.release-card {
|
||||
transition:
|
||||
transform var(--duration-med) var(--ease-out),
|
||||
border-color var(--duration-med) var(--ease-out),
|
||||
box-shadow var(--duration-med) var(--ease-out);
|
||||
}
|
||||
|
||||
.release-card:hover {
|
||||
transform: translateY(-4px);
|
||||
border-color: rgba(var(--theme-accent-rgb) / 0.42);
|
||||
box-shadow: var(--theme-shadow-soft);
|
||||
}
|
||||
|
||||
.release-card h3 {
|
||||
font-size: var(--text-xl);
|
||||
line-height: 1.08;
|
||||
letter-spacing: 0;
|
||||
}
|
||||
|
||||
@media (max-width: 760px) {
|
||||
.small-page {
|
||||
padding-inline: var(--page-x);
|
||||
}
|
||||
|
||||
.small-shell {
|
||||
width: var(--container-wide);
|
||||
padding-inline: clamp(0.9rem, 4vw, 1.1rem);
|
||||
}
|
||||
}
|
||||
|
||||
/* --- Design System Refinement End --- */
|
||||
|
||||
|
||||
@@ -63,30 +63,36 @@ function SmallBatchPage() {
|
||||
<SharedNavbar variant="light" />
|
||||
|
||||
<main className="small-shell">
|
||||
<section className="small-hero">
|
||||
<span className="small-kicker">SMALL BATCH / ARCHIVE / PROTOTYPE</span>
|
||||
<h1>EARLY ACCESS</h1>
|
||||
<p>
|
||||
<section className="small-hero" data-reveal-group>
|
||||
<span className="small-kicker" data-reveal="fade">
|
||||
SMALL BATCH / ARCHIVE / PROTOTYPE
|
||||
</span>
|
||||
<h1 data-reveal="fade">EARLY ACCESS</h1>
|
||||
<p data-reveal="fade">
|
||||
Limited releases are reserved for customers with enough purchase
|
||||
history to understand the atmos material language.
|
||||
</p>
|
||||
</section>
|
||||
|
||||
{!user ? (
|
||||
<section className="small-panel">
|
||||
<span className="small-kicker">LOGIN REQUIRED</span>
|
||||
<h2>Sign in to check access.</h2>
|
||||
<p>Small Batch access is calculated from your completed orders.</p>
|
||||
<section className="small-panel" data-reveal-group>
|
||||
<span className="small-kicker" data-reveal="fade">
|
||||
LOGIN REQUIRED
|
||||
</span>
|
||||
<h2 data-reveal="fade">Sign in to check access.</h2>
|
||||
<p data-reveal="fade">Small Batch access is calculated from your completed orders.</p>
|
||||
<button type="button" onClick={openProfile}>
|
||||
Login / Register
|
||||
</button>
|
||||
</section>
|
||||
) : (
|
||||
<>
|
||||
<section className="small-panel">
|
||||
<span className="small-kicker">ACCESS STATUS</span>
|
||||
<h2>{loyalty.unlocked ? "Unlocked" : "Locked"}</h2>
|
||||
<div className="small-requirements">
|
||||
<section className="small-panel" data-reveal-group>
|
||||
<span className="small-kicker" data-reveal="fade">
|
||||
ACCESS STATUS
|
||||
</span>
|
||||
<h2 data-reveal="fade">{loyalty.unlocked ? "Unlocked" : "Locked"}</h2>
|
||||
<div className="small-requirements" data-reveal="fade">
|
||||
<Requirement label="Discovery Set" met={loyalty.hasDiscoverySet} />
|
||||
<Requirement label="Full Size" met={loyalty.hasFullSize} />
|
||||
<Requirement label="Purchases" met={loyalty.purchases >= 3}>
|
||||
@@ -102,9 +108,9 @@ function SmallBatchPage() {
|
||||
{state.loading && <p className="small-error">Loading access...</p>}
|
||||
|
||||
{loyalty.unlocked && (
|
||||
<section className="release-grid">
|
||||
<section className="release-grid" data-reveal-group data-reveal-start="top 88%">
|
||||
{state.releases.map((release) => (
|
||||
<article className="release-card" key={release.name}>
|
||||
<article className="release-card" key={release.name} data-reveal="fade">
|
||||
<span>{release.type}</span>
|
||||
<h3>{release.name}</h3>
|
||||
<p>{release.note}</p>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
.support-page {
|
||||
min-height: 100vh;
|
||||
color: #1f1f1f;
|
||||
color: var(--theme-text);
|
||||
padding: 26px 38px 38px;
|
||||
background:
|
||||
linear-gradient(to right, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.1)),
|
||||
@@ -8,8 +8,8 @@
|
||||
}
|
||||
|
||||
.support-shell {
|
||||
background: #f5f5f5;
|
||||
border: 1px solid #d9d9d9;
|
||||
background: var(--theme-surface);
|
||||
border: 1px solid var(--theme-border);
|
||||
padding: 38px;
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
display: block;
|
||||
font-size: 10px;
|
||||
letter-spacing: 0.22em;
|
||||
color: #666;
|
||||
color: var(--theme-text-muted);
|
||||
}
|
||||
|
||||
.support-hero {
|
||||
@@ -29,7 +29,7 @@
|
||||
gap: 28px;
|
||||
align-items: end;
|
||||
padding-bottom: 36px;
|
||||
border-bottom: 1px solid #dfdfdf;
|
||||
border-bottom: 1px solid var(--theme-border);
|
||||
}
|
||||
|
||||
.support-hero-copy h1 {
|
||||
@@ -37,8 +37,8 @@
|
||||
font-size: 68px;
|
||||
line-height: 0.92;
|
||||
font-weight: 300;
|
||||
letter-spacing: -0.05em;
|
||||
color: #131313;
|
||||
letter-spacing: 0;
|
||||
color: var(--theme-text);
|
||||
}
|
||||
|
||||
.support-intro {
|
||||
@@ -46,7 +46,7 @@
|
||||
margin: 0;
|
||||
font-size: 18px;
|
||||
line-height: 1.65;
|
||||
color: #4f4f4f;
|
||||
color: var(--theme-text-muted);
|
||||
}
|
||||
|
||||
.support-hero-panel {
|
||||
@@ -63,7 +63,7 @@
|
||||
margin: 10px 0 0;
|
||||
font-size: 16px;
|
||||
line-height: 1.6;
|
||||
color: #1f1f1f;
|
||||
color: var(--theme-text);
|
||||
}
|
||||
|
||||
.support-panel-meta {
|
||||
@@ -79,7 +79,7 @@
|
||||
margin: 8px 0 0;
|
||||
font-size: 14px;
|
||||
line-height: 1.55;
|
||||
color: #1f1f1f;
|
||||
color: var(--theme-text);
|
||||
}
|
||||
|
||||
.support-quick-grid {
|
||||
@@ -91,8 +91,8 @@
|
||||
|
||||
.support-quick-card {
|
||||
padding: 24px;
|
||||
background: #efefef;
|
||||
border: 1px solid #d9d9d9;
|
||||
background: var(--theme-bg);
|
||||
border: 1px solid var(--theme-border);
|
||||
min-height: 240px;
|
||||
}
|
||||
|
||||
@@ -101,14 +101,14 @@
|
||||
font-size: 24px;
|
||||
line-height: 1.08;
|
||||
font-weight: 400;
|
||||
color: #131313;
|
||||
color: var(--theme-text);
|
||||
}
|
||||
|
||||
.support-quick-card p {
|
||||
margin: 0;
|
||||
font-size: 15px;
|
||||
line-height: 1.65;
|
||||
color: #4f4f4f;
|
||||
color: var(--theme-text-muted);
|
||||
}
|
||||
|
||||
.support-section {
|
||||
@@ -128,8 +128,8 @@
|
||||
font-size: 42px;
|
||||
line-height: 0.98;
|
||||
font-weight: 300;
|
||||
letter-spacing: -0.04em;
|
||||
color: #131313;
|
||||
letter-spacing: 0;
|
||||
color: var(--theme-text);
|
||||
}
|
||||
|
||||
.support-section-copy {
|
||||
@@ -143,7 +143,7 @@
|
||||
margin: 0;
|
||||
font-size: 16px;
|
||||
line-height: 1.7;
|
||||
color: #4f4f4f;
|
||||
color: var(--theme-text-muted);
|
||||
}
|
||||
|
||||
.support-info-grid {
|
||||
@@ -155,8 +155,8 @@
|
||||
|
||||
.support-info-box {
|
||||
padding: 24px;
|
||||
border: 1px solid #d9d9d9;
|
||||
background: #fafafa;
|
||||
border: 1px solid var(--theme-border);
|
||||
background: var(--theme-surface-soft);
|
||||
}
|
||||
|
||||
.support-info-box h3 {
|
||||
@@ -171,12 +171,12 @@
|
||||
margin: 0;
|
||||
font-size: 15px;
|
||||
line-height: 1.65;
|
||||
color: #4f4f4f;
|
||||
color: var(--theme-text-muted);
|
||||
}
|
||||
|
||||
.support-info-box--dark {
|
||||
background: #1f1f1f;
|
||||
border-color: #1f1f1f;
|
||||
border-color: var(--theme-text);
|
||||
}
|
||||
|
||||
.support-info-box--dark .support-label,
|
||||
@@ -194,7 +194,7 @@
|
||||
.support-list li {
|
||||
font-size: 15px;
|
||||
line-height: 1.6;
|
||||
color: #1f1f1f;
|
||||
color: var(--theme-text);
|
||||
}
|
||||
|
||||
.support-mail-btn {
|
||||
@@ -218,7 +218,7 @@
|
||||
.support-faq-section {
|
||||
margin-top: 38px;
|
||||
padding-top: 38px;
|
||||
border-top: 1px solid #dfdfdf;
|
||||
border-top: 1px solid var(--theme-border);
|
||||
}
|
||||
|
||||
.support-faq-grid {
|
||||
@@ -230,8 +230,8 @@
|
||||
|
||||
.support-faq-card {
|
||||
padding: 24px;
|
||||
border: 1px solid #d9d9d9;
|
||||
background: #efefef;
|
||||
border: 1px solid var(--theme-border);
|
||||
background: var(--theme-bg);
|
||||
min-height: 210px;
|
||||
}
|
||||
|
||||
@@ -240,14 +240,14 @@
|
||||
font-size: 22px;
|
||||
line-height: 1.08;
|
||||
font-weight: 400;
|
||||
color: #131313;
|
||||
color: var(--theme-text);
|
||||
}
|
||||
|
||||
.support-faq-card p {
|
||||
margin: 0;
|
||||
font-size: 15px;
|
||||
line-height: 1.65;
|
||||
color: #4f4f4f;
|
||||
color: var(--theme-text-muted);
|
||||
}
|
||||
|
||||
.support-bottom-cta {
|
||||
@@ -297,7 +297,7 @@
|
||||
}
|
||||
|
||||
.support-btn--primary {
|
||||
background: #fff;
|
||||
background: var(--theme-paper);
|
||||
color: #ff6a00;
|
||||
}
|
||||
|
||||
@@ -354,4 +354,197 @@
|
||||
.support-bottom-cta {
|
||||
padding: 26px 20px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* --- Design System Refinement Start --- */
|
||||
|
||||
.support-page {
|
||||
padding: clamp(1rem, 3vw, 2.4rem) var(--page-x) clamp(2rem, 5vw, 4rem);
|
||||
background:
|
||||
radial-gradient(circle at 88% 9%, rgba(var(--theme-accent-rgb) / 0.12), transparent 28rem),
|
||||
linear-gradient(135deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.08)),
|
||||
var(--theme-bg);
|
||||
}
|
||||
|
||||
.support-shell {
|
||||
width: var(--container-wide);
|
||||
margin: 0 auto;
|
||||
padding: clamp(1.25rem, 3vw, 2.8rem);
|
||||
border-radius: var(--radius-lg);
|
||||
box-shadow: var(--theme-shadow);
|
||||
}
|
||||
|
||||
.support-kicker,
|
||||
.support-label,
|
||||
.support-panel-label,
|
||||
.support-panel-meta span {
|
||||
font-size: var(--text-xs);
|
||||
}
|
||||
|
||||
.support-hero {
|
||||
grid-template-columns: minmax(0, 1.45fr) minmax(18rem, 0.72fr);
|
||||
gap: var(--gap-lg);
|
||||
padding-bottom: var(--section-y-xs);
|
||||
}
|
||||
|
||||
.support-hero-copy h1 {
|
||||
margin: clamp(0.85rem, 2vw, 1.2rem) 0 clamp(1rem, 2vw, 1.35rem);
|
||||
font-size: clamp(3rem, 7.4vw, 8.8rem);
|
||||
line-height: 0.9;
|
||||
letter-spacing: 0;
|
||||
text-wrap: balance;
|
||||
}
|
||||
|
||||
.support-intro {
|
||||
max-width: var(--text-measure);
|
||||
font-size: var(--text-lg);
|
||||
}
|
||||
|
||||
.support-hero-panel,
|
||||
.support-quick-card,
|
||||
.support-info-box,
|
||||
.support-faq-card,
|
||||
.support-bottom-cta {
|
||||
border-radius: var(--radius-lg);
|
||||
}
|
||||
|
||||
.support-hero-panel {
|
||||
padding: clamp(1.25rem, 3vw, 2rem);
|
||||
}
|
||||
|
||||
.support-quick-grid,
|
||||
.support-info-grid,
|
||||
.support-faq-grid {
|
||||
gap: var(--gap-sm);
|
||||
margin-top: var(--section-y-xs);
|
||||
}
|
||||
|
||||
.support-quick-grid {
|
||||
grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
|
||||
}
|
||||
|
||||
.support-faq-grid {
|
||||
grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr));
|
||||
}
|
||||
|
||||
.support-section {
|
||||
padding-top: var(--section-y-xs);
|
||||
}
|
||||
|
||||
.support-section--split,
|
||||
.support-info-grid,
|
||||
.support-bottom-cta {
|
||||
gap: var(--gap-lg);
|
||||
}
|
||||
|
||||
.support-section-heading h2,
|
||||
.support-bottom-copy h2 {
|
||||
font-size: clamp(2.15rem, 5.2vw, 6rem);
|
||||
line-height: 0.94;
|
||||
letter-spacing: 0;
|
||||
text-wrap: balance;
|
||||
}
|
||||
|
||||
.support-section-copy {
|
||||
gap: var(--gap-sm);
|
||||
}
|
||||
|
||||
.support-section-copy p,
|
||||
.support-bottom-copy p,
|
||||
.support-quick-card p,
|
||||
.support-faq-card p,
|
||||
.support-info-box p,
|
||||
.support-list li {
|
||||
font-size: var(--text-base);
|
||||
}
|
||||
|
||||
.support-quick-card,
|
||||
.support-faq-card,
|
||||
.support-info-box {
|
||||
transition:
|
||||
transform var(--duration-med) var(--ease-out),
|
||||
border-color var(--duration-med) var(--ease-out),
|
||||
box-shadow var(--duration-med) var(--ease-out);
|
||||
}
|
||||
|
||||
.support-quick-card:hover,
|
||||
.support-faq-card:hover,
|
||||
.support-info-box:hover {
|
||||
transform: translateY(-4px);
|
||||
border-color: rgba(var(--theme-accent-rgb) / 0.42);
|
||||
box-shadow: var(--theme-shadow-soft);
|
||||
}
|
||||
|
||||
.support-quick-card h3,
|
||||
.support-faq-card h3,
|
||||
.support-info-box h3 {
|
||||
font-size: var(--text-xl);
|
||||
letter-spacing: 0;
|
||||
}
|
||||
|
||||
.support-info-box--dark {
|
||||
background:
|
||||
radial-gradient(circle at 100% 0%, rgba(var(--theme-accent-rgb) / 0.18), transparent 18rem),
|
||||
#171717;
|
||||
}
|
||||
|
||||
.support-faq-section {
|
||||
margin-top: var(--section-y-xs);
|
||||
padding-top: var(--section-y-xs);
|
||||
}
|
||||
|
||||
.support-bottom-cta {
|
||||
margin-top: var(--section-y-xs);
|
||||
padding: clamp(1.5rem, 4vw, 3.5rem);
|
||||
background:
|
||||
radial-gradient(circle at 92% 0%, rgba(255, 255, 255, 0.22), transparent 20rem),
|
||||
var(--theme-accent);
|
||||
}
|
||||
|
||||
.support-btn,
|
||||
.support-mail-btn {
|
||||
min-height: 48px;
|
||||
}
|
||||
|
||||
.support-btn:hover,
|
||||
.support-btn:focus-visible,
|
||||
.support-mail-btn:hover,
|
||||
.support-mail-btn:focus-visible {
|
||||
box-shadow: var(--theme-shadow-soft);
|
||||
}
|
||||
|
||||
@media (max-width: 1100px) {
|
||||
.support-hero,
|
||||
.support-section--split,
|
||||
.support-info-grid,
|
||||
.support-bottom-cta {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 700px) {
|
||||
.support-page {
|
||||
padding-inline: var(--page-x);
|
||||
}
|
||||
|
||||
.support-shell {
|
||||
width: var(--container-wide);
|
||||
padding-inline: clamp(0.9rem, 4vw, 1.1rem);
|
||||
}
|
||||
|
||||
.support-hero-copy h1 {
|
||||
font-size: clamp(2.55rem, 13vw, 4.4rem);
|
||||
}
|
||||
|
||||
.support-bottom-actions {
|
||||
display: grid;
|
||||
}
|
||||
|
||||
.support-btn {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
/* --- Design System Refinement End --- */
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import { Link } from "react-router";
|
||||
import SharedNavbar from "../components/SharedNavbar";
|
||||
import "./SupportPage.css";
|
||||
|
||||
@@ -7,10 +8,12 @@ function SupportPage() {
|
||||
<SharedNavbar variant="light" />
|
||||
|
||||
<main className="support-shell">
|
||||
<section className="support-hero">
|
||||
<section className="support-hero" data-reveal-group>
|
||||
<div className="support-hero-copy">
|
||||
<span className="support-kicker">SUPPORT</span>
|
||||
<h1>
|
||||
<span className="support-kicker" data-reveal="fade">
|
||||
SUPPORT
|
||||
</span>
|
||||
<h1 data-reveal="lines">
|
||||
WIR HELFEN
|
||||
<br />
|
||||
KLAR, DIREKT
|
||||
@@ -19,7 +22,7 @@ function SupportPage() {
|
||||
<br />
|
||||
UMWEGE
|
||||
</h1>
|
||||
<p className="support-intro">
|
||||
<p className="support-intro" data-reveal="fade">
|
||||
Wenn du Fragen zu Bestellung, Versand, Discovery Set, Produkten oder
|
||||
deiner Auswahl hast, ist das Support-Team von atmos für dich da.
|
||||
Präzise, persönlich und mit dem Anspruch, jedes Anliegen sorgfältig
|
||||
@@ -27,7 +30,7 @@ function SupportPage() {
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div className="support-hero-panel">
|
||||
<div className="support-hero-panel" data-reveal="fade">
|
||||
<span className="support-panel-label">KONTAKT</span>
|
||||
<p>
|
||||
Für Anliegen rund um Bestellung, Produkte, Versand und allgemeine
|
||||
@@ -51,8 +54,8 @@ function SupportPage() {
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section className="support-quick-grid">
|
||||
<article className="support-quick-card">
|
||||
<section className="support-quick-grid" data-reveal-group data-reveal-start="top 90%">
|
||||
<article className="support-quick-card" data-reveal="fade">
|
||||
<span className="support-label">BESTELLUNG</span>
|
||||
<h3>Fragen zu einer laufenden Bestellung</h3>
|
||||
<p>
|
||||
@@ -61,7 +64,7 @@ function SupportPage() {
|
||||
</p>
|
||||
</article>
|
||||
|
||||
<article className="support-quick-card">
|
||||
<article className="support-quick-card" data-reveal="fade">
|
||||
<span className="support-label">VERSAND</span>
|
||||
<h3>Lieferung und Zustellung</h3>
|
||||
<p>
|
||||
@@ -70,7 +73,7 @@ function SupportPage() {
|
||||
</p>
|
||||
</article>
|
||||
|
||||
<article className="support-quick-card">
|
||||
<article className="support-quick-card" data-reveal="fade">
|
||||
<span className="support-label">PRODUKTE</span>
|
||||
<h3>Beratung zu Duft, Sample oder Discovery Set</h3>
|
||||
<p>
|
||||
@@ -80,13 +83,15 @@ function SupportPage() {
|
||||
</article>
|
||||
</section>
|
||||
|
||||
<section className="support-section support-section--split">
|
||||
<section className="support-section support-section--split" data-reveal-group>
|
||||
<div className="support-section-heading">
|
||||
<span className="support-label">SO ERREICHST DU UNS</span>
|
||||
<h2>EIN GUTER SUPPORT BEGINNT MIT EINER KLAREN ANFRAGE.</h2>
|
||||
<span className="support-label" data-reveal="fade">
|
||||
SO ERREICHST DU UNS
|
||||
</span>
|
||||
<h2 data-reveal="lines">EIN GUTER SUPPORT BEGINNT MIT EINER KLAREN ANFRAGE.</h2>
|
||||
</div>
|
||||
|
||||
<div className="support-section-copy">
|
||||
<div className="support-section-copy" data-reveal="fade">
|
||||
<p>
|
||||
Damit wir dein Anliegen möglichst schnell bearbeiten können, hilft es,
|
||||
wenn du uns in deiner Nachricht die wichtigsten Informationen direkt
|
||||
@@ -102,8 +107,8 @@ function SupportPage() {
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section className="support-info-grid">
|
||||
<div className="support-info-box">
|
||||
<section className="support-info-grid" data-reveal-group>
|
||||
<div className="support-info-box" data-reveal="fade">
|
||||
<span className="support-label">AM BESTEN MITGEBEN</span>
|
||||
<ul className="support-list">
|
||||
<li>Bestellnummer, falls bereits bestellt wurde</li>
|
||||
@@ -113,7 +118,7 @@ function SupportPage() {
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div className="support-info-box support-info-box--dark">
|
||||
<div className="support-info-box support-info-box--dark" data-reveal="fade">
|
||||
<span className="support-label">KONTAKT</span>
|
||||
<h3>support@atmos.ch</h3>
|
||||
<p>
|
||||
@@ -126,14 +131,16 @@ function SupportPage() {
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section className="support-faq-section">
|
||||
<section className="support-faq-section" data-reveal-group>
|
||||
<div className="support-section-heading">
|
||||
<span className="support-label">HÄUFIGE FRAGEN</span>
|
||||
<h2>DIE WICHTIGSTEN THEMEN AUF EINEN BLICK.</h2>
|
||||
<span className="support-label" data-reveal="fade">
|
||||
HÄUFIGE FRAGEN
|
||||
</span>
|
||||
<h2 data-reveal="lines">DIE WICHTIGSTEN THEMEN AUF EINEN BLICK.</h2>
|
||||
</div>
|
||||
|
||||
<div className="support-faq-grid">
|
||||
<article className="support-faq-card">
|
||||
<article className="support-faq-card" data-reveal="fade">
|
||||
<h3>Wie lange dauert der Versand?</h3>
|
||||
<p>
|
||||
Bestellungen werden in der Regel innerhalb von 1–2 Werktagen
|
||||
@@ -142,7 +149,7 @@ function SupportPage() {
|
||||
</p>
|
||||
</article>
|
||||
|
||||
<article className="support-faq-card">
|
||||
<article className="support-faq-card" data-reveal="fade">
|
||||
<h3>Kann ich zuerst testen?</h3>
|
||||
<p>
|
||||
Ja. Dafür ist das Discovery Set oder ein einzelnes Sample gedacht.
|
||||
@@ -151,7 +158,7 @@ function SupportPage() {
|
||||
</p>
|
||||
</article>
|
||||
|
||||
<article className="support-faq-card">
|
||||
<article className="support-faq-card" data-reveal="fade">
|
||||
<h3>Ich bin unsicher, welcher Duft zu mir passt.</h3>
|
||||
<p>
|
||||
Schreib uns kurz, welche Duftcharaktere, Materialien oder Stimmungen
|
||||
@@ -159,7 +166,7 @@ function SupportPage() {
|
||||
</p>
|
||||
</article>
|
||||
|
||||
<article className="support-faq-card">
|
||||
<article className="support-faq-card" data-reveal="fade">
|
||||
<h3>Was tun bei einem Problem mit der Bestellung?</h3>
|
||||
<p>
|
||||
Kontaktiere uns direkt mit deiner Bestellnummer und einer kurzen
|
||||
@@ -170,17 +177,21 @@ function SupportPage() {
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section className="support-bottom-cta">
|
||||
<section className="support-bottom-cta" data-reveal-group>
|
||||
<div className="support-bottom-copy">
|
||||
<span className="support-label">atmos SUPPORT</span>
|
||||
<h2>NICHT AUTOMATISIERT AUF DISTANZ. SONDERN PERSÖNLICH UND PRÄZISE.</h2>
|
||||
<p>
|
||||
<span className="support-label" data-reveal="fade">
|
||||
atmos SUPPORT
|
||||
</span>
|
||||
<h2 data-reveal="lines">
|
||||
NICHT AUTOMATISIERT AUF DISTANZ. SONDERN PERSÖNLICH UND PRÄZISE.
|
||||
</h2>
|
||||
<p data-reveal="fade">
|
||||
Wir möchten, dass sich auch der Service so anfühlt wie die Marke
|
||||
selbst: klar, hochwertig und sorgfältig.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div className="support-bottom-actions">
|
||||
<div className="support-bottom-actions" data-reveal="fade">
|
||||
<a href="mailto:support@atmos.ch" className="support-btn support-btn--primary">
|
||||
E-Mail senden
|
||||
</a>
|
||||
|
||||
@@ -1,30 +1,87 @@
|
||||
/* --- Shared Navbar Start --- */
|
||||
|
||||
.navbar {
|
||||
position: relative;
|
||||
z-index: 20;
|
||||
position: sticky;
|
||||
top: clamp(0.75rem, 2vw, 1.25rem);
|
||||
z-index: 998;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
padding-inline: var(--page-x);
|
||||
}
|
||||
|
||||
.nav-pill {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
padding: 8px 10px;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: clamp(0.25rem, 0.8vw, 0.65rem);
|
||||
width: fit-content;
|
||||
max-width: 100%;
|
||||
min-height: clamp(3rem, 5.4vw, 3.5rem);
|
||||
padding: clamp(0.32rem, 0.8vw, 0.55rem);
|
||||
border: 1px solid transparent;
|
||||
border-radius: 999px;
|
||||
backdrop-filter: blur(10px);
|
||||
-webkit-backdrop-filter: blur(10px);
|
||||
backdrop-filter: blur(18px) saturate(1.2);
|
||||
-webkit-backdrop-filter: blur(18px) saturate(1.2);
|
||||
box-shadow: 0 16px 50px rgba(0, 0, 0, 0.16);
|
||||
}
|
||||
|
||||
.nav-link {
|
||||
position: relative;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
text-decoration: none;
|
||||
font-size: 13px;
|
||||
padding: 8px 14px;
|
||||
min-height: 42px;
|
||||
min-width: 42px;
|
||||
padding: 0 clamp(0.72rem, 1.5vw, 1rem);
|
||||
border-radius: 999px;
|
||||
transition: 0.2s ease;
|
||||
color: inherit;
|
||||
font-size: var(--text-xs);
|
||||
line-height: 1;
|
||||
text-decoration: none;
|
||||
white-space: nowrap;
|
||||
transition:
|
||||
background-color var(--duration-med) var(--ease-out),
|
||||
color var(--duration-med) var(--ease-out),
|
||||
opacity var(--duration-med) var(--ease-out),
|
||||
transform var(--duration-med) var(--ease-out);
|
||||
}
|
||||
|
||||
.nav-link::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
right: 0.8rem;
|
||||
bottom: 0.45rem;
|
||||
left: 0.8rem;
|
||||
height: 1px;
|
||||
background: currentColor;
|
||||
opacity: 0;
|
||||
transform: scaleX(0.35);
|
||||
transform-origin: center;
|
||||
transition:
|
||||
opacity var(--duration-med) var(--ease-out),
|
||||
transform var(--duration-med) var(--ease-out);
|
||||
}
|
||||
|
||||
.nav-link:hover::after,
|
||||
.nav-link.active::after {
|
||||
opacity: 0.5;
|
||||
transform: scaleX(1);
|
||||
}
|
||||
|
||||
.nav-link--brand {
|
||||
padding-inline: clamp(0.75rem, 1.4vw, 1rem);
|
||||
}
|
||||
|
||||
.nav-link--brand::after,
|
||||
.nav-theme-switch::after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.nav-brand-logo {
|
||||
display: block;
|
||||
width: clamp(58px, 5.2vw, 82px);
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.nav-button {
|
||||
@@ -33,61 +90,153 @@
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.nav-theme-switch {
|
||||
min-width: 46px;
|
||||
padding-inline: 0.55rem;
|
||||
}
|
||||
|
||||
.nav-theme-switch__track {
|
||||
position: relative;
|
||||
width: 40px;
|
||||
height: 22px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
padding: 2px;
|
||||
border: 1px solid;
|
||||
border-radius: 999px;
|
||||
transition:
|
||||
background-color var(--duration-med) var(--ease-out),
|
||||
border-color var(--duration-med) var(--ease-out);
|
||||
}
|
||||
|
||||
.nav-theme-switch__thumb {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
border-radius: 50%;
|
||||
transform: translateX(0);
|
||||
transition:
|
||||
transform var(--duration-med) var(--ease-snap),
|
||||
background-color var(--duration-med) var(--ease-out);
|
||||
}
|
||||
|
||||
.nav-theme-switch.is-light .nav-theme-switch__thumb {
|
||||
transform: translateX(18px);
|
||||
}
|
||||
|
||||
/* Hero variant */
|
||||
.navbar--hero {
|
||||
padding-top: 22px;
|
||||
position: fixed;
|
||||
top: clamp(0.75rem, 2.1vw, 1.4rem);
|
||||
left: 0;
|
||||
right: 0;
|
||||
z-index: 998;
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.navbar--hero .nav-pill {
|
||||
background: rgba(255, 255, 255, 0.15);
|
||||
background: rgba(15, 15, 15, 0.58);
|
||||
border-color: rgba(255, 255, 255, 0.22);
|
||||
}
|
||||
|
||||
.navbar--hero .nav-link {
|
||||
color: rgba(255, 255, 255, 0.88);
|
||||
color: rgba(255, 255, 255, 0.9);
|
||||
}
|
||||
|
||||
.navbar--hero .nav-button {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.navbar--hero .nav-theme-switch__track {
|
||||
border-color: rgba(255, 255, 255, 0.34);
|
||||
background: rgba(255, 255, 255, 0.14);
|
||||
}
|
||||
|
||||
.navbar--hero .nav-theme-switch__thumb {
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.navbar--hero .nav-link:hover,
|
||||
.navbar--hero .nav-link.active {
|
||||
background: rgba(255, 255, 255, 0.22);
|
||||
background: rgba(255, 255, 255, 0.16);
|
||||
}
|
||||
|
||||
/* Detail page variant */
|
||||
.navbar--light {
|
||||
margin-bottom: 18px;
|
||||
margin-bottom: clamp(1rem, 2.5vw, 1.8rem);
|
||||
padding-top: clamp(0.35rem, 1vw, 0.7rem);
|
||||
}
|
||||
|
||||
.navbar--light .nav-pill {
|
||||
background: rgba(255, 255, 255, 0.88);
|
||||
border: 1px solid #d6d6d6;
|
||||
background: color-mix(in srgb, var(--theme-paper) 86%, transparent);
|
||||
border-color: var(--theme-border);
|
||||
}
|
||||
|
||||
.navbar--light .nav-link {
|
||||
color: #1d1d1d;
|
||||
color: var(--theme-text);
|
||||
}
|
||||
|
||||
.navbar--light .nav-button {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.navbar--light .nav-theme-switch__track {
|
||||
border-color: var(--theme-border-strong);
|
||||
background: rgba(38, 38, 38, 0.08);
|
||||
}
|
||||
|
||||
.navbar--light .nav-theme-switch__thumb {
|
||||
background: var(--theme-text);
|
||||
}
|
||||
|
||||
.navbar--light .nav-link:hover,
|
||||
.navbar--light .nav-link.active {
|
||||
background: #ebebeb;
|
||||
background: var(--theme-surface-soft);
|
||||
}
|
||||
|
||||
/* --- Shared Navbar End --- */
|
||||
|
||||
@media (max-width: 640px) {
|
||||
@media (max-width: 700px) {
|
||||
.navbar {
|
||||
padding-inline: clamp(0.75rem, 4vw, 1rem);
|
||||
}
|
||||
|
||||
.nav-pill {
|
||||
gap: 4px;
|
||||
padding: 6px;
|
||||
justify-content: space-between;
|
||||
width: 100%;
|
||||
overflow-x: auto;
|
||||
scrollbar-width: none;
|
||||
}
|
||||
|
||||
.nav-pill::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.nav-link {
|
||||
padding: 8px 10px;
|
||||
font-size: 12px;
|
||||
min-height: 40px;
|
||||
min-width: 40px;
|
||||
padding-inline: 0.68rem;
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
|
||||
.nav-link--brand {
|
||||
padding-inline: 0.72rem;
|
||||
}
|
||||
|
||||
.nav-brand-logo {
|
||||
width: 54px;
|
||||
}
|
||||
|
||||
.nav-theme-switch {
|
||||
padding-inline: 0.45rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 390px) {
|
||||
.nav-link {
|
||||
padding-inline: 0.58rem;
|
||||
}
|
||||
|
||||
.nav-link--brand {
|
||||
padding-inline: 0.62rem;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
.reveal-line-mask {
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
padding-bottom: 0.08em;
|
||||
margin-bottom: -0.08em;
|
||||
}
|
||||
|
||||
.reveal-line {
|
||||
display: block;
|
||||
will-change: transform;
|
||||
backface-visibility: hidden;
|
||||
}
|
||||
|
||||
[data-reveal="fade"] {
|
||||
will-change: transform, opacity;
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
import { ThemeContext } from "./ThemeContextBase";
|
||||
|
||||
function ThemeProvider({ value, children }) {
|
||||
return <ThemeContext.Provider value={value}>{children}</ThemeContext.Provider>;
|
||||
}
|
||||
|
||||
export { ThemeProvider };
|
||||
@@ -0,0 +1,5 @@
|
||||
import { createContext } from "react";
|
||||
|
||||
const ThemeContext = createContext(null);
|
||||
|
||||
export { ThemeContext };
|
||||
@@ -0,0 +1,12 @@
|
||||
import { useContext } from "react";
|
||||
import { ThemeContext } from "./ThemeContextBase";
|
||||
|
||||
function useTheme() {
|
||||
const context = useContext(ThemeContext);
|
||||
if (!context) {
|
||||
throw new Error("useTheme must be used within ThemeProvider.");
|
||||
}
|
||||
return context;
|
||||
}
|
||||
|
||||
export { useTheme };
|
||||