eis-website/style.css
2026-06-03 16:17:28 +02:00

456 lines
No EOL
8 KiB
CSS

/* ================================
EIS PROJEKT – style.css
================================ */
*, *::before, *::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
:root {
--pink: #f9a8c9;
--rose: #e8679a;
--violet: #9b59b6;
--cream: #fff8f3;
--text: #2d1a2e;
--muted: #7a5c7e;
}
body {
font-family: 'DM Sans', sans-serif;
background: var(--cream);
color: var(--text);
min-height: 100vh;
overflow-x: hidden;
}
/* ── NAVIGATION ── */
nav {
position: sticky;
top: 0;
z-index: 100;
background: rgba(255, 248, 243, 0.85);
backdrop-filter: blur(12px);
border-bottom: 1px solid rgba(232, 103, 154, 0.15);
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 2.5rem;
height: 64px;
}
.nav-logo {
font-family: 'Playfair Display', serif;
font-size: 1.3rem;
color: var(--rose);
letter-spacing: 0.02em;
}
.nav-links {
display: flex;
gap: 2rem;
list-style: none;
}
.nav-links a {
text-decoration: none;
font-size: 0.9rem;
font-weight: 500;
color: var(--muted);
letter-spacing: 0.04em;
transition: color 0.2s;
}
.nav-links a:hover {
color: var(--rose);
}
/* ── HERO ── */
.hero {
position: relative;
display: grid;
grid-template-columns: 1fr 1fr;
align-items: center;
min-height: 88vh;
padding: 4rem 2.5rem;
gap: 3rem;
overflow: hidden;
}
.hero::before {
content: '';
position: absolute;
inset: 0;
background:
radial-gradient(ellipse 70% 60% at 80% 50%, rgba(249, 168, 201, 0.25) 0%, transparent 70%),
radial-gradient(ellipse 50% 50% at 10% 80%, rgba(155, 89, 182, 0.1) 0%, transparent 60%);
pointer-events: none;
}
.hero-content {
position: relative;
z-index: 1;
}
.hero-tag {
display: inline-flex;
align-items: center;
gap: 6px;
font-size: 0.78rem;
font-weight: 500;
letter-spacing: 0.1em;
text-transform: uppercase;
color: var(--rose);
background: rgba(232, 103, 154, 0.1);
padding: 6px 14px;
border-radius: 100px;
margin-bottom: 1.5rem;
border: 1px solid rgba(232, 103, 154, 0.2);
}
.hero h1 {
font-family: 'Playfair Display', serif;
font-size: clamp(2.8rem, 5vw, 4.2rem);
line-height: 1.1;
margin-bottom: 1.5rem;
color: var(--text);
}
.hero h1 span {
background: linear-gradient(135deg, var(--rose), var(--violet));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.hero p {
font-size: 1.05rem;
line-height: 1.75;
color: var(--muted);
max-width: 420px;
margin-bottom: 2.5rem;
}
.btn-group {
display: flex;
gap: 1rem;
flex-wrap: wrap;
}
.btn-primary {
display: inline-flex;
align-items: center;
gap: 8px;
background: linear-gradient(135deg, var(--rose), var(--violet));
color: white;
padding: 13px 26px;
border-radius: 50px;
font-size: 0.9rem;
font-weight: 500;
text-decoration: none;
transition: transform 0.2s, box-shadow 0.2s;
box-shadow: 0 4px 20px rgba(232, 103, 154, 0.35);
}
.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 6px 28px rgba(232, 103, 154, 0.45);
}
.btn-ghost {
display: inline-flex;
align-items: center;
gap: 8px;
color: var(--rose);
padding: 13px 26px;
border-radius: 50px;
font-size: 0.9rem;
font-weight: 500;
text-decoration: none;
border: 1.5px solid rgba(232, 103, 154, 0.35);
transition: background 0.2s, border-color 0.2s;
}
.btn-ghost:hover {
background: rgba(232, 103, 154, 0.07);
border-color: var(--rose);
}
/* ── HERO IMAGE ── */
.hero-visual {
position: relative;
z-index: 1;
display: flex;
align-items: center;
justify-content: center;
}
.img-frame {
position: relative;
width: 100%;
max-width: 420px;
}
.img-frame::before {
content: '';
position: absolute;
top: -12px;
left: -12px;
right: 12px;
bottom: 12px;
border: 2px solid rgba(232, 103, 154, 0.25);
border-radius: 24px;
z-index: 0;
}
.img-frame img {
position: relative;
z-index: 1;
width: 100%;
height: 360px;
object-fit: cover;
border-radius: 20px;
display: block;
}
.img-badge {
position: absolute;
bottom: -16px;
left: 24px;
background: white;
border-radius: 14px;
padding: 10px 18px;
display: flex;
align-items: center;
gap: 10px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
z-index: 2;
}
.badge-icon {
font-size: 1.5rem;
}
.badge-text {
font-size: 0.8rem;
font-weight: 500;
color: var(--text);
line-height: 1.3;
}
.badge-text span {
display: block;
font-size: 0.7rem;
color: var(--muted);
}
/* ── SECTIONS ── */
section {
padding: 5rem 2.5rem;
max-width: 1100px;
margin: 0 auto;
}
.section-label {
font-size: 0.75rem;
font-weight: 500;
letter-spacing: 0.12em;
text-transform: uppercase;
color: var(--rose);
margin-bottom: 0.75rem;
}
.section-title {
font-family: 'Playfair Display', serif;
font-size: clamp(1.8rem, 3vw, 2.4rem);
margin-bottom: 1rem;
color: var(--text);
}
.section-sub {
font-size: 1rem;
color: var(--muted);
max-width: 560px;
line-height: 1.7;
margin-bottom: 3rem;
}
/* ── STATS ── */
.stats-row {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1.5rem;
margin-top: 3rem;
}
.stat-card {
text-align: center;
padding: 2rem 1.5rem;
border: 1px solid rgba(232, 103, 154, 0.18);
border-radius: 20px;
background: white;
}
.stat-num {
font-family: 'Playfair Display', serif;
font-size: 2.5rem;
color: var(--rose);
display: block;
margin-bottom: 0.4rem;
}
.stat-label {
font-size: 0.85rem;
color: var(--muted);
}
/* ── GALLERY ── */
.gallery-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1.25rem;
}
.gallery-col {
display: flex;
flex-direction: column;
gap: 1.25rem;
}
.gallery-card {
border-radius: 16px;
overflow: hidden;
position: relative;
background: #f0e8ef;
}
.gallery-card img {
width: 100%;
height: 240px;
object-fit: cover;
display: block;
transition: transform 0.4s ease;
}
.gallery-card.tall img {
height: 360px;
}
.gallery-col .gallery-card img {
height: 160px;
}
.gallery-card:hover img {
transform: scale(1.04);
}
.gallery-overlay {
position: absolute;
inset: 0;
background: linear-gradient(to top, rgba(45, 26, 46, 0.6) 0%, transparent 50%);
opacity: 0;
transition: opacity 0.3s;
display: flex;
align-items: flex-end;
padding: 1.25rem;
}
.gallery-card:hover .gallery-overlay {
opacity: 1;
}
.gallery-overlay-text {
color: white;
font-size: 0.85rem;
font-weight: 500;
}
/* ── CTA STRIP ── */
.cta-section {
padding-top: 0;
}
.info-strip {
background: linear-gradient(135deg, var(--rose), var(--violet));
border-radius: 24px;
padding: 3rem 3.5rem;
display: grid;
grid-template-columns: 1fr auto;
align-items: center;
gap: 2rem;
}
.info-strip h3 {
font-family: 'Playfair Display', serif;
font-size: 1.8rem;
color: white;
margin-bottom: 0.5rem;
}
.info-strip p {
color: rgba(255, 255, 255, 0.8);
font-size: 0.95rem;
line-height: 1.6;
}
.btn-white {
display: inline-flex;
align-items: center;
gap: 8px;
background: white;
color: var(--rose);
padding: 13px 26px;
border-radius: 50px;
font-size: 0.9rem;
font-weight: 600;
text-decoration: none;
white-space: nowrap;
transition: transform 0.2s;
}
.btn-white:hover {
transform: translateY(-2px);
}
/* ── FOOTER ── */
footer {
background: var(--text);
color: rgba(255, 255, 255, 0.65);
text-align: center;
padding: 2rem;
font-size: 0.85rem;
margin-top: 4rem;
}
footer span {
color: var(--pink);
}
/* ── RESPONSIVE ── */
@media (max-width: 768px) {
.hero {
grid-template-columns: 1fr;
}
.hero-visual {
display: none;
}
.gallery-grid {
grid-template-columns: 1fr 1fr;
}
.info-strip {
grid-template-columns: 1fr;
}
.stats-row {
grid-template-columns: 1fr;
}
nav {
padding: 0 1.5rem;
}
.nav-links {
display: none;
}
section {
padding: 3rem 1.5rem;
}
}