Files
parfum_agsd/parfum-shop/src/pages/DiscoverySetPage.css
T

781 lines
16 KiB
CSS

.discovery-page {
min-height: 100vh;
padding: 0 0 var(--section-y-sm);
color: var(--theme-text);
background: var(--theme-bg);
}
.discovery-kicker,
.discovery-label,
.discovery-price-row span,
.discovery-panel-facts span,
.discovery-product-index {
display: block;
color: var(--theme-text-muted);
font-size: var(--text-xs);
letter-spacing: 0.22em;
text-transform: uppercase;
}
.discovery-hero {
position: relative;
display: grid;
grid-template-columns: repeat(12, minmax(0, 1fr));
gap: var(--gap-md);
align-items: center;
min-height: clamp(680px, 100svh, 940px);
padding-block: 0;
isolation: isolate;
}
.discovery-hero-stage {
position: relative;
grid-column: 1 / -1;
grid-row: 1;
display: grid;
grid-template-columns: repeat(12, minmax(0, 1fr));
align-items: center;
min-height: inherit;
min-width: 0;
}
.discovery-hero-copy {
position: absolute;
top: clamp(6.5rem, 11vw, 9rem);
left: 0;
z-index: 5;
width: min(26vw, 390px);
min-width: 0;
}
.discovery-hero-copy h1 {
max-width: 9ch;
margin: clamp(0.75rem, 1.5vw, 1.15rem) 0 clamp(1rem, 2vw, 1.4rem);
color: var(--theme-text);
font-size: clamp(2.6rem, 5.1vw, 6.4rem);
line-height: 0.9;
font-weight: 300;
letter-spacing: 0;
text-transform: uppercase;
text-wrap: balance;
}
.discovery-intro {
max-width: 36ch;
margin: 0;
color: var(--theme-text-muted);
font-size: var(--text-lg);
line-height: 1.62;
overflow-wrap: break-word;
}
.discovery-hero-visual {
position: relative;
grid-column: 4 / 10;
grid-row: 1;
justify-self: center;
align-self: center;
z-index: 1;
display: grid;
place-items: center;
justify-items: center;
width: 100%;
min-height: inherit;
margin: 0;
overflow: visible;
}
.discovery-hero-visual img {
position: relative;
z-index: 2;
display: block;
width: min(100%, 600px);
height: auto;
max-height: min(62svh, 700px);
border: 0;
object-fit: contain;
object-position: center;
filter: saturate(0.92) contrast(1.04) drop-shadow(0 34px 72px rgba(0, 0, 0, 0.42));
}
.discovery-panel-facts div,
.discovery-benefit {
padding-top: 1rem;
border-top: 1px solid var(--theme-border);
}
.discovery-panel-facts p {
margin: 0;
color: var(--theme-text);
font-size: var(--text-base);
line-height: 1.55;
overflow-wrap: anywhere;
}
.discovery-order-panel {
position: relative;
grid-column: 10 / -1;
grid-row: 1;
z-index: 4;
justify-self: end;
align-self: center;
display: flex;
flex-direction: column;
gap: clamp(1rem, 1.8vw, 1.45rem);
width: min(100%, 390px);
min-width: 0;
padding: 0;
border: 0;
background: transparent;
}
.discovery-price-row {
display: flex;
justify-content: space-between;
align-items: flex-end;
gap: var(--gap-sm);
}
.discovery-price-row strong {
color: var(--theme-text);
font-size: clamp(1.45rem, 2.3vw, 2rem);
font-weight: 400;
letter-spacing: 0;
}
.discovery-panel-facts {
display: grid;
grid-template-columns: 1fr;
gap: var(--gap-sm);
}
.discovery-panel-facts span {
margin-bottom: 0.55rem;
}
.discovery-product-tags span {
display: inline-flex;
align-items: center;
min-height: 34px;
padding: 0.45rem 0.75rem;
border: 1px solid var(--theme-border);
background: rgba(255, 255, 255, 0.035);
color: var(--theme-text);
font-size: var(--text-xs);
line-height: 1.2;
}
.discovery-panel-actions {
display: grid;
gap: var(--gap-xs);
}
.discovery-primary-btn {
display: inline-flex;
align-items: center;
justify-content: center;
width: 100%;
min-height: 48px;
padding: 0.8rem 1.35rem;
border: 1px solid var(--theme-accent);
border-radius: 0;
background: var(--theme-accent);
color: #fff;
cursor: pointer;
font-size: var(--text-sm);
letter-spacing: 0.12em;
line-height: 1.25;
text-align: center;
text-transform: uppercase;
transition:
transform var(--duration-med) var(--ease-out),
border-color var(--duration-med) var(--ease-out),
box-shadow var(--duration-med) var(--ease-out),
background-color var(--duration-med) var(--ease-out);
}
.discovery-primary-btn:hover,
.discovery-primary-btn:focus-visible {
transform: translateY(-2px);
box-shadow: var(--theme-shadow-soft);
}
.discovery-primary-btn:active {
transform: translateY(0) scale(0.98);
}
.discovery-panel-actions p {
margin: 0;
color: var(--theme-text-muted);
font-size: var(--text-sm);
line-height: 1.45;
overflow-wrap: anywhere;
}
.discovery-story-grid,
.discovery-comparison-section {
display: grid;
grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
gap: clamp(1.5rem, 5vw, 6rem);
align-items: stretch;
}
.discovery-story-grid,
.discovery-process-section,
.discovery-included,
.discovery-comparison-section {
position: relative;
padding-block: clamp(4rem, 9vw, 9rem);
}
.discovery-story-grid {
margin-top: clamp(4rem, 8vw, 8rem);
}
.discovery-story-grid::before,
.discovery-process-section::before,
.discovery-included::before,
.discovery-comparison-section::before {
position: absolute;
top: clamp(1.2rem, 3vw, 2rem);
right: 0;
width: min(32vw, 420px);
padding-top: 0.55rem;
border-top: 1px solid var(--theme-border);
color: var(--theme-text-muted);
font-size: var(--text-xs);
letter-spacing: 0.16em;
line-height: 1.4;
text-transform: uppercase;
}
.discovery-story-grid::before {
content: "01 / Einstieg";
}
.discovery-process-section::before {
content: "03 / Ablauf";
}
.discovery-included::before {
content: "02 / Düfte";
}
.discovery-comparison-section::before {
content: "04 / Entscheidung";
}
.discovery-story-copy {
align-self: center;
max-width: 58rem;
}
.discovery-story-copy h2,
.discovery-section-heading h2,
.discovery-section-intro h2,
.discovery-final-cta h2 {
margin: 0.85rem 0 0;
color: var(--theme-text);
font-size: clamp(2.2rem, 5.6vw, 6rem);
font-weight: 300;
line-height: 0.94;
letter-spacing: 0;
text-transform: uppercase;
text-wrap: balance;
}
.discovery-story-copy p,
.discovery-section-heading p,
.discovery-final-cta p {
max-width: var(--text-measure);
margin: 1.25rem 0 0;
color: var(--theme-text-muted);
font-size: var(--text-lg);
line-height: 1.62;
}
.discovery-benefit-panel {
display: grid;
grid-template-columns: 1fr;
align-content: end;
gap: clamp(0.9rem, 1.8vw, 1.25rem);
min-height: clamp(360px, 42vw, 620px);
padding: clamp(1.2rem, 3vw, 2.4rem);
border: 1px solid var(--theme-border);
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.008)),
color-mix(in srgb, var(--theme-bg) 88%, #000 12%);
}
.discovery-benefit-panel-head {
display: flex;
justify-content: space-between;
align-items: end;
gap: var(--gap-sm);
padding-bottom: clamp(1rem, 2vw, 1.35rem);
border-bottom: 1px solid var(--theme-border);
}
.discovery-benefit-panel-head span {
color: var(--theme-text-muted);
font-size: var(--text-xs);
letter-spacing: 0.22em;
text-transform: uppercase;
}
.discovery-benefit-panel-head strong {
color: var(--theme-text);
font-size: clamp(1.9rem, 4vw, 3.8rem);
font-weight: 300;
line-height: 0.9;
letter-spacing: 0;
white-space: nowrap;
}
.discovery-benefit {
display: grid;
grid-template-columns: minmax(0, 1fr);
gap: var(--gap-sm);
align-items: start;
padding-top: 1rem;
}
.discovery-comparison-icon {
display: inline-flex;
align-items: center;
justify-content: center;
width: 1.55rem;
height: 1.55rem;
border: 1px solid rgba(var(--theme-accent-rgb) / 0.48);
border-radius: 0;
color: var(--theme-accent);
font-size: 0.82rem;
line-height: 1;
}
.discovery-benefit strong {
display: block;
margin-bottom: 0.35rem;
color: var(--theme-text);
font-size: var(--text-base);
font-weight: 400;
line-height: 1.25;
}
.discovery-benefit p {
margin: 0;
color: var(--theme-text-muted);
font-size: var(--text-sm);
line-height: 1.55;
}
.discovery-section-intro,
.discovery-section-heading {
max-width: 74rem;
}
.discovery-section-heading {
display: block;
margin-bottom: clamp(1.8rem, 4vw, 3.8rem);
}
.discovery-section-heading h2 {
max-width: 11ch;
}
.discovery-steps-grid,
.discovery-products-grid,
.discovery-comparison-grid {
display: grid;
gap: var(--gap-sm);
}
.discovery-steps-grid {
grid-template-columns: repeat(3, minmax(0, 1fr));
margin-top: clamp(1.6rem, 4vw, 4rem);
}
.discovery-step-card,
.discovery-product-card,
.discovery-comparison-card {
border: 1px solid var(--theme-border);
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008)),
var(--theme-surface-soft);
}
.discovery-step-card {
min-height: 280px;
display: flex;
flex-direction: column;
justify-content: space-between;
gap: var(--gap-md);
padding: clamp(1rem, 2vw, 1.5rem);
}
.discovery-step-number {
color: var(--theme-accent);
font-size: var(--text-sm);
letter-spacing: 0.2em;
}
.discovery-step-card h3,
.discovery-comparison-head h3 {
margin: 0;
color: var(--theme-text);
font-size: var(--text-lg);
font-weight: 400;
line-height: 1.08;
letter-spacing: 0.02em;
text-transform: uppercase;
}
.discovery-step-card p,
.discovery-comparison-card p {
margin: 0;
color: var(--theme-text-muted);
font-size: var(--text-base);
line-height: 1.65;
}
.discovery-products-grid {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.discovery-product-card {
min-height: clamp(390px, 40vw, 560px);
display: grid;
grid-template-rows: auto minmax(14rem, 1fr) auto;
gap: var(--gap-sm);
padding: clamp(1rem, 2vw, 1.4rem);
overflow: hidden;
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 {
display: grid;
place-items: center;
min-height: 0;
overflow: hidden;
background: transparent;
}
.discovery-product-image img {
display: block;
width: min(86%, 360px);
height: auto;
object-fit: contain;
filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.24));
transition: transform var(--duration-slow) var(--ease-out);
}
.discovery-product-card:hover .discovery-product-image img {
transform: scale(1.04) rotate(-0.35deg);
}
.discovery-product-copy h3 {
max-width: 14ch;
margin: 0 0 0.45rem;
color: var(--theme-text);
font-size: var(--text-lg);
font-weight: 400;
line-height: 1.08;
letter-spacing: 0.02em;
text-transform: uppercase;
}
.discovery-product-copy p {
margin: 0;
color: var(--theme-text-muted);
font-size: var(--text-sm);
line-height: 1.5;
}
.discovery-product-tags {
display: flex;
flex-wrap: wrap;
gap: var(--gap-xs);
margin-top: var(--gap-sm);
}
.discovery-comparison-grid {
grid-column: 1 / -1;
grid-template-columns: 1fr 1fr;
align-self: start;
}
.discovery-comparison-card {
min-height: 240px;
padding: clamp(1.25rem, 3vw, 2.2rem);
}
.discovery-comparison-card--highlight {
border-color: rgba(var(--theme-accent-rgb) / 0.32);
background:
linear-gradient(135deg, rgba(var(--theme-accent-rgb) / 0.12), transparent 62%),
var(--theme-surface-soft);
}
.discovery-comparison-head {
display: flex;
align-items: center;
gap: var(--gap-sm);
margin-bottom: var(--gap-sm);
}
.discovery-comparison-icon {
width: 2.3rem;
height: 2.3rem;
font-size: 1.2rem;
}
.discovery-final-cta {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
gap: var(--gap-lg);
align-items: end;
margin-top: clamp(1rem, 3vw, 2rem);
padding: clamp(1.5rem, 4vw, 3.5rem);
overflow: hidden;
background:
radial-gradient(circle at 86% 12%, rgba(255, 255, 255, 0.24), transparent 18rem),
linear-gradient(135deg, var(--theme-accent), #e95700);
}
.discovery-final-cta .discovery-label,
.discovery-final-cta h2,
.discovery-final-cta p {
color: #fff;
}
.discovery-final-cta p {
max-width: 48rem;
}
.discovery-final-actions {
display: flex;
justify-content: flex-end;
min-width: min(100%, 22rem);
}
.discovery-final-actions .discovery-primary-btn {
border-color: rgba(255, 255, 255, 0.18);
background: #262626;
}
@media (max-width: 1180px) {
.discovery-story-grid,
.discovery-comparison-section,
.discovery-final-cta {
grid-template-columns: 1fr;
}
.discovery-hero {
grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.72fr);
align-items: center;
min-height: 100svh;
padding-top: clamp(5.6rem, 9vw, 7.4rem);
padding-bottom: clamp(1rem, 2vw, 1.6rem);
}
.discovery-hero-stage {
grid-column: 1;
grid-row: 1;
min-height: 0;
display: grid;
grid-template-columns: 1fr;
grid-template-rows: auto minmax(0, 1fr) auto;
gap: clamp(0.65rem, 1.4vw, 1rem);
align-self: stretch;
place-items: stretch;
}
.discovery-hero-copy {
position: static;
width: min(100%, 720px);
}
.discovery-hero-copy h1 {
max-width: 12ch;
font-size: clamp(2.4rem, 5.5vw, 4.6rem);
}
.discovery-hero-visual {
grid-column: auto;
grid-row: auto;
justify-items: center;
min-height: 0;
height: min(42svh, 420px);
}
.discovery-hero-visual img {
width: min(74%, 430px);
height: auto;
max-height: 100%;
}
.discovery-order-panel {
grid-column: 2;
grid-row: 1;
justify-self: stretch;
align-self: center;
width: 100%;
gap: var(--gap-xs);
}
.discovery-benefit-panel {
min-height: auto;
}
.discovery-products-grid,
.discovery-steps-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (max-width: 820px) {
.discovery-hero {
grid-template-columns: 1fr;
gap: clamp(0.75rem, 2vw, 1rem);
min-height: auto;
padding-top: clamp(6.7rem, 20vw, 7.25rem);
padding-bottom: clamp(1rem, 3vw, 1.5rem);
}
.discovery-hero-stage,
.discovery-order-panel {
grid-column: 1;
grid-row: auto;
}
.discovery-hero-copy {
width: 100%;
max-width: 100%;
}
.discovery-intro {
width: min(100%, 38ch);
max-width: 38ch;
}
.discovery-hero-copy h1 {
max-width: 100%;
font-size: clamp(2rem, 8vw, 3rem);
line-height: 0.9;
}
.discovery-intro {
font-size: var(--text-base);
}
.discovery-hero-visual {
height: min(30svh, 260px);
min-height: 190px;
}
.discovery-hero-visual img {
width: min(82%, 320px);
}
.discovery-panel-facts,
.discovery-section-heading,
.discovery-comparison-grid,
.discovery-products-grid,
.discovery-steps-grid {
grid-template-columns: 1fr;
}
.discovery-price-row {
order: 1;
}
.discovery-panel-actions {
order: 2;
}
.discovery-panel-facts {
order: 3;
}
.discovery-story-grid::before,
.discovery-process-section::before,
.discovery-included::before,
.discovery-comparison-section::before {
right: auto;
left: 0;
width: min(100%, 24rem);
}
.discovery-story-copy h2,
.discovery-section-heading h2,
.discovery-section-intro h2,
.discovery-final-cta h2 {
font-size: clamp(2.1rem, 11vw, 4rem);
}
.discovery-story-grid,
.discovery-process-section,
.discovery-included,
.discovery-comparison-section {
padding-block: clamp(4rem, 14vw, 6rem);
}
.discovery-benefit {
grid-template-columns: 1fr;
}
.discovery-final-actions {
justify-content: stretch;
min-width: 0;
}
}
@media (max-width: 520px) {
.discovery-hero-copy h1 {
font-size: clamp(1.95rem, 9vw, 2.85rem);
}
.discovery-kicker,
.discovery-label,
.discovery-price-row span,
.discovery-panel-facts span,
.discovery-product-index {
font-size: 0.68rem;
letter-spacing: 0.16em;
}
.discovery-price-row {
align-items: flex-start;
flex-direction: column;
gap: 0.25rem;
}
.discovery-primary-btn {
min-height: 48px;
padding-inline: 1rem;
font-size: 0.76rem;
white-space: normal;
}
.discovery-product-card {
min-height: 360px;
}
}
@media (prefers-reduced-motion: reduce) {
.discovery-primary-btn,
.discovery-product-card,
.discovery-product-image img {
transition: none;
}
}