364 lines
12 KiB
CSS
364 lines
12 KiB
CSS
/* Stile der Startseiten-Variante „Tiefenflug" (start-2.html).
|
||
Basis: Token + Bausteine aus leistungen.html (Stand Juni 2026),
|
||
damit Topbar, Dock, Buttons und Footer identisch aussehen.
|
||
Eigene Abschnitte folgen unten ab „TIEFENFLUG-INTRO". */
|
||
|
||
/* Werte aus docs/style-tokens.md (Framer-Export) */
|
||
:root {
|
||
--bg: #ffffff;
|
||
--flaeche-hell: #f9fafb;
|
||
--pill-grau: #f2f4f7;
|
||
--linie: #e4e7ec;
|
||
--text: #000000;
|
||
--text-gedaempft: rgba(0, 0, 0, 0.56);
|
||
--text-leise: #667085;
|
||
--radius-karte: 16px;
|
||
--radius-pill: 100px;
|
||
}
|
||
|
||
* { box-sizing: border-box; margin: 0; padding: 0; }
|
||
|
||
body {
|
||
background: var(--bg);
|
||
color: var(--text);
|
||
font-family: "Inter", "Inter Placeholder", sans-serif;
|
||
font-feature-settings: "blwf" on, "cv09" on, "cv03" on, "cv04" on, "cv11" on;
|
||
font-weight: 500;
|
||
letter-spacing: -0.04em;
|
||
line-height: 1.5;
|
||
font-size: 18px;
|
||
}
|
||
|
||
a { color: inherit; text-decoration: none; }
|
||
img { display: block; }
|
||
|
||
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
|
||
|
||
/* ---------- Kopfleiste (wie im Export: Name links, Logo mittig, Kontakt-Button rechts) ---------- */
|
||
.topbar {
|
||
position: relative;
|
||
display: flex; align-items: center; justify-content: space-between;
|
||
padding: 24px;
|
||
}
|
||
.topbar-name { line-height: 1.5; }
|
||
.topbar-name strong { display: block; font-size: 20px; font-weight: 500; letter-spacing: -0.05em; }
|
||
.topbar-name span { font-size: 14px; font-weight: 400; color: var(--text-leise); }
|
||
.topbar-logo {
|
||
position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
|
||
}
|
||
.topbar-logo img { width: 50px; height: 50px; object-fit: contain; }
|
||
|
||
/* ---------- Schwebende Navigation unten (wie im Export: blendet beim Scrollen ein) ---------- */
|
||
.dock {
|
||
position: fixed; bottom: 32px; left: 50%; z-index: 60;
|
||
display: flex; align-items: center; gap: 28px;
|
||
background: var(--text); color: #fff;
|
||
border-radius: 24px; padding: 13px 24px;
|
||
opacity: 0; transform: translate(-50%, 16px); pointer-events: none;
|
||
transition: opacity 0.4s ease-out, transform 0.4s ease-out;
|
||
}
|
||
.dock.sichtbar { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
|
||
.dock-logo img { width: 38px; height: 38px; object-fit: contain; }
|
||
.dock-links { display: flex; align-items: center; gap: 28px; font-size: 16px; }
|
||
.dock-links a { color: #fff; transition: opacity 0.2s ease-out; }
|
||
.dock-links a:hover { opacity: 0.64; }
|
||
.dock-links a[aria-current="page"] { opacity: 0.64; }
|
||
.dock-burger { display: none; }
|
||
|
||
@media (max-width: 809.98px) {
|
||
.container { padding: 0 20px; }
|
||
.topbar { padding: 20px 20px; }
|
||
|
||
.dock { gap: 20px; padding: 12px 18px; }
|
||
.dock-burger {
|
||
display: block; background: none; border: 0; cursor: pointer;
|
||
width: 36px; height: 36px; position: relative;
|
||
}
|
||
.dock-burger span {
|
||
position: absolute; left: 6px; width: 24px; height: 2px; background: #fff;
|
||
transition: transform 0.2s ease-out;
|
||
}
|
||
.dock-burger span:nth-child(1) { top: 13px; }
|
||
.dock-burger span:nth-child(2) { top: 21px; }
|
||
|
||
.dock-links {
|
||
display: none;
|
||
position: fixed; bottom: 96px; left: 50%; transform: translateX(-50%);
|
||
flex-direction: column; align-items: center; gap: 4px;
|
||
background: var(--text); border-radius: 24px;
|
||
padding: 20px 40px; width: max-content;
|
||
}
|
||
.dock-links a { display: block; padding: 8px 0; font-size: 20px; }
|
||
.dock.offen .dock-links { display: flex; }
|
||
.dock.offen .dock-burger span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
|
||
.dock.offen .dock-burger span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
|
||
}
|
||
|
||
/* ---------- Typografie ---------- */
|
||
h1 { font-size: 55px; line-height: 1.2; letter-spacing: -0.06em; font-weight: 500; }
|
||
h2 { font-size: 40px; line-height: 1.2; letter-spacing: -0.06em; font-weight: 500; }
|
||
h3 { font-size: 24px; line-height: 1.2; letter-spacing: -0.05em; font-weight: 500; }
|
||
.gedaempft { color: var(--text-gedaempft); }
|
||
|
||
@media (max-width: 809.98px) {
|
||
h1 { font-size: 40px; }
|
||
h2 { font-size: 32px; }
|
||
}
|
||
|
||
/* ---------- Bausteine ---------- */
|
||
.pill {
|
||
display: inline-block; background: var(--pill-grau);
|
||
border-radius: 32px; padding: 6px 16px; font-size: 16px;
|
||
}
|
||
.button {
|
||
display: inline-block; background: var(--text); color: #fff;
|
||
border-radius: var(--radius-pill); padding: 12px 28px; font-size: 16px;
|
||
transition: opacity 0.2s ease-out, transform 0.2s ease-out;
|
||
}
|
||
.button:hover { opacity: 0.85; transform: scale(1.02); }
|
||
|
||
/* ---------- Abschnitte ---------- */
|
||
.hero { padding: 90px 0 70px; }
|
||
.hero p { max-width: 620px; margin-top: 24px; }
|
||
.hero h1 { margin-top: 20px; max-width: 800px; }
|
||
|
||
.pakete { padding: 30px 0 60px; }
|
||
.pakete-grid {
|
||
display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px;
|
||
}
|
||
.paket {
|
||
background: var(--flaeche-hell); border: 1px solid var(--linie);
|
||
border-radius: var(--radius-karte); padding: 32px;
|
||
display: flex; flex-direction: column; gap: 16px;
|
||
}
|
||
.paket .zielgruppe { font-size: 14px; color: var(--text-leise); }
|
||
.paket ul { list-style: none; margin-top: 4px; flex-grow: 1; }
|
||
.paket li {
|
||
padding-left: 26px; position: relative; margin-bottom: 10px;
|
||
font-size: 16px; color: var(--text-gedaempft);
|
||
}
|
||
.paket li::before { content: "✓"; position: absolute; left: 0; color: var(--text); }
|
||
.paket .button { align-self: flex-start; }
|
||
|
||
@media (max-width: 1023.98px) { .pakete-grid { grid-template-columns: 1fr; } }
|
||
|
||
.ablauf { padding: 60px 0; border-top: 1px solid var(--linie); }
|
||
.ablauf-grid {
|
||
display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px;
|
||
}
|
||
.schritt .nummer {
|
||
font-size: 14px; color: var(--text-leise); display: block; margin-bottom: 12px;
|
||
}
|
||
.schritt p { font-size: 16px; color: var(--text-gedaempft); margin-top: 8px; }
|
||
@media (max-width: 809.98px) { .ablauf-grid { grid-template-columns: 1fr; } }
|
||
|
||
.abschluss { padding: 90px 0 110px; text-align: center; }
|
||
.abschluss h2 { max-width: 640px; margin: 0 auto; }
|
||
.abschluss .button { margin-top: 32px; }
|
||
|
||
/* ---------- Footer ---------- */
|
||
.footer { border-top: 1px solid var(--linie); padding: 60px 0 140px; }
|
||
.footer-grid {
|
||
display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap;
|
||
}
|
||
.footer h4 { font-size: 14px; margin-bottom: 14px; }
|
||
.footer ul { list-style: none; }
|
||
.footer li { margin-bottom: 8px; }
|
||
.footer a { font-size: 16px; color: var(--text-gedaempft); transition: color 0.2s ease-out; }
|
||
.footer a:hover { color: var(--text); }
|
||
.footer-credit { font-size: 14px; color: var(--text-leise); margin-top: 48px; }
|
||
.footer-credit a { font-size: 14px; }
|
||
|
||
/* ---------- Sanftes Einblenden beim Scrollen (wie im Export: nach oben + Opazität) ---------- */
|
||
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease-out, transform 0.7s ease-out; }
|
||
.reveal.sichtbar { opacity: 1; transform: none; }
|
||
|
||
/* ---------- Lande-Animation beim Seitenaufruf (Easing + Dauer wie die Erscheinen-Effekte des Exports) ---------- */
|
||
.landen {
|
||
opacity: 0; transform: translateY(40px);
|
||
animation: landen 2s cubic-bezier(0.56, 0.22, 0.05, 0.99) forwards;
|
||
}
|
||
@keyframes landen {
|
||
to { opacity: 1; transform: none; }
|
||
}
|
||
|
||
@media (prefers-reduced-motion: reduce) {
|
||
.reveal { opacity: 1; transform: none; transition: none; }
|
||
.dock { transition: none; }
|
||
.landen { opacity: 1; transform: none; animation: none; }
|
||
}
|
||
|
||
/* ==================== LANDUNG (normale Startseite) ==================== */
|
||
|
||
.landung .hero { padding: 90px 0 40px; }
|
||
.landung .hero h1 {
|
||
font-size: clamp(40px, 6vw, 72px);
|
||
font-weight: 600;
|
||
letter-spacing: -0.05em;
|
||
line-height: 1.05;
|
||
margin: 18px 0 18px;
|
||
}
|
||
.landung .hero .gedaempft { max-width: 560px; }
|
||
|
||
.auszug { padding: 30px 0 70px; }
|
||
.auszug-grid {
|
||
display: grid;
|
||
grid-template-columns: repeat(3, 1fr);
|
||
gap: 14px;
|
||
margin-bottom: 36px;
|
||
}
|
||
.auszug-grid img {
|
||
width: 100%;
|
||
height: 280px;
|
||
object-fit: cover;
|
||
border-radius: var(--radius-karte);
|
||
transition: transform 0.2s ease-out;
|
||
}
|
||
.auszug-grid a:hover img { transform: scale(1.02); }
|
||
|
||
.zeilen { padding-bottom: 90px; }
|
||
.zeile {
|
||
display: flex; justify-content: space-between; align-items: baseline;
|
||
border-top: 1px solid var(--linie);
|
||
padding: 22px 0;
|
||
color: var(--text-leise);
|
||
font-size: 16px;
|
||
transition: color 0.2s ease-out;
|
||
}
|
||
.zeile b { color: var(--text); font-size: 20px; font-weight: 600; letter-spacing: -0.04em; }
|
||
.zeile:hover { color: var(--text); }
|
||
|
||
@media (max-width: 760px) {
|
||
.auszug-grid { grid-template-columns: 1fr; }
|
||
.auszug-grid img { height: 220px; }
|
||
}
|
||
|
||
/* ==================== TIEFENFLUG-INTRO ==================== */
|
||
|
||
.flug-strecke { height: 640vh; position: relative; }
|
||
|
||
.flug-buehne {
|
||
position: sticky; top: 0;
|
||
height: 100vh;
|
||
overflow: hidden;
|
||
perspective: 800px;
|
||
perspective-origin: 50% 50%;
|
||
background: var(--bg);
|
||
}
|
||
|
||
/* Name als Umriss-Schrift hinter den Fotos */
|
||
.flug-name {
|
||
position: absolute; left: 50%; top: 50%;
|
||
transform: translate(-50%, -50%);
|
||
font-weight: 600;
|
||
font-size: clamp(40px, 8vw, 110px);
|
||
letter-spacing: 18px;
|
||
white-space: nowrap;
|
||
color: transparent;
|
||
-webkit-text-stroke: 1.5px rgba(18, 18, 18, 0.28);
|
||
will-change: transform, opacity;
|
||
pointer-events: none;
|
||
}
|
||
|
||
/* Verlaufs-Bilder: laufen weich ins Weiße aus, JS steuert die Deckkraft */
|
||
.geist {
|
||
position: absolute; top: 0; bottom: 0;
|
||
width: 52%; height: 100%;
|
||
object-fit: cover;
|
||
opacity: 0;
|
||
will-change: opacity;
|
||
pointer-events: none;
|
||
}
|
||
.geist.links { left: 0; -webkit-mask-image: linear-gradient(to right, black 20%, transparent 95%); mask-image: linear-gradient(to right, black 20%, transparent 95%); }
|
||
.geist.rechts { right: 0; -webkit-mask-image: linear-gradient(to left, black 20%, transparent 95%); mask-image: linear-gradient(to left, black 20%, transparent 95%); }
|
||
|
||
/* Schwebende Fotos */
|
||
.flug-foto {
|
||
position: absolute; left: 50%; top: 50%;
|
||
width: clamp(180px, 22vw, 300px);
|
||
aspect-ratio: 3 / 2;
|
||
transform-style: preserve-3d;
|
||
will-change: transform, opacity;
|
||
pointer-events: none;
|
||
}
|
||
.flug-foto img {
|
||
width: 100%; height: 100%;
|
||
object-fit: cover;
|
||
border-radius: 4px;
|
||
box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
|
||
animation: schweben 5s ease-in-out infinite alternate;
|
||
}
|
||
.flug-foto:nth-child(2n) img { animation-delay: 1.3s; }
|
||
.flug-foto:nth-child(3n) img { animation-delay: 2.4s; }
|
||
@keyframes schweben {
|
||
from { transform: translateY(0); }
|
||
to { transform: translateY(-12px); }
|
||
}
|
||
|
||
.flug-hinweis {
|
||
position: absolute; bottom: 24px; left: 50%;
|
||
transform: translateX(-50%);
|
||
font-family: "Fragment Mono", monospace;
|
||
font-size: 13px;
|
||
letter-spacing: 3px;
|
||
color: #98a2b3;
|
||
animation: pulsieren 1.8s ease-in-out infinite;
|
||
}
|
||
@keyframes pulsieren { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }
|
||
|
||
/* Preis-Moment (Gold nur hier – Akzent für die Auszeichnung) */
|
||
.preis {
|
||
position: absolute; inset: 0;
|
||
display: flex; flex-direction: column;
|
||
align-items: center; justify-content: center;
|
||
opacity: 0;
|
||
will-change: opacity, transform;
|
||
pointer-events: none;
|
||
}
|
||
.preis-bild { position: relative; }
|
||
.preis-bild img {
|
||
display: block;
|
||
width: min(560px, 70vw);
|
||
border-radius: var(--radius-karte);
|
||
box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
|
||
}
|
||
.medaille {
|
||
position: absolute; left: 50%; bottom: -44px;
|
||
transform: translateX(-50%);
|
||
z-index: 3;
|
||
width: 96px; height: 96px;
|
||
border-radius: 50%;
|
||
background: radial-gradient(circle at 35% 30%, #f3d27a, #c9a227 60%, #9a7a1c);
|
||
display: flex; align-items: center; justify-content: center;
|
||
font-weight: 600; font-size: 34px; color: #fff;
|
||
border: 3px solid #fff;
|
||
box-shadow: 0 10px 28px rgba(154, 122, 28, 0.45), inset 0 2px 6px rgba(255, 255, 255, 0.5);
|
||
}
|
||
.preis-text {
|
||
margin-top: 64px;
|
||
font-family: "Fragment Mono", monospace;
|
||
font-size: 14px;
|
||
letter-spacing: 3px;
|
||
color: #9a7a1c;
|
||
}
|
||
.konfetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
|
||
|
||
/* ==================== FALLBACKS ====================
|
||
- .kein-js: steht im HTML und wird von tiefenflug.js entfernt;
|
||
ohne JS bleibt sie stehen und das Intro verschwindet.
|
||
- .ohne-intro: setzt tiefenflug.js bei prefers-reduced-motion.
|
||
- mobil: weniger schwebende Fotos (data-mobil="aus"). */
|
||
|
||
.kein-js .flug-strecke,
|
||
.ohne-intro .flug-strecke { display: none; }
|
||
|
||
@media (prefers-reduced-motion: reduce) {
|
||
.flug-foto img, .flug-hinweis { animation: none; }
|
||
}
|
||
|
||
@media (max-width: 760px) {
|
||
.flug-foto[data-mobil="aus"] { display: none; }
|
||
.flug-strecke { height: 500vh; }
|
||
.flug-name { -webkit-text-stroke-width: 1px; }
|
||
}
|