feat: Grundgerüst der Startseiten-Variante Tiefenflug (start-2)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
6a45940b44
commit
d068ebb827
2 files changed
+252
No files matched your search
@@ -0,0 +1,189 @@
|
||||
/* 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; }
|
||||
}
|
||||
@@ -0,0 +1,63 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="de" class="kein-js">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<title>Leon Tonhäuser | Sport- & Eventfotografie</title>
|
||||
<meta name="description" content="Sport- und Eventfotografie: Emotionen, Momente und die Energie des Sports – Portfolio von Leon Tonhäuser.">
|
||||
<link href="assets/images_TjoYzMAQxwv1bHENgPbqipmQUU.png" rel="icon">
|
||||
<link rel="apple-touch-icon" href="assets/images_TjoYzMAQxwv1bHENgPbqipmQUU.png">
|
||||
|
||||
<!-- Global site tag (gtag.js) - Google Analytics -->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-CC4TX68365"></script>
|
||||
<script>
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){window.dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
gtag('config', 'G-CC4TX68365');
|
||||
</script>
|
||||
|
||||
<!-- Inter: exakt dieselben Schriftdateien wie der Framer-Export -->
|
||||
<style>
|
||||
@font-face { font-family: "Inter"; src: url("https://framerusercontent.com/assets/hyOgCu0Xnghbimh0pE8QTvtt2AU.woff2"); font-display: swap; font-style: normal; font-weight: 600; unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F }
|
||||
@font-face { font-family: "Inter"; src: url("https://framerusercontent.com/assets/NeGmSOXrPBfEFIy5YZeHq17LEDA.woff2"); font-display: swap; font-style: normal; font-weight: 600; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116 }
|
||||
@font-face { font-family: "Inter"; src: url("https://framerusercontent.com/assets/oYaAX5himiTPYuN8vLWnqBbfD2s.woff2"); font-display: swap; font-style: normal; font-weight: 600; unicode-range: U+1F00-1FFF }
|
||||
@font-face { font-family: "Inter"; src: url("https://framerusercontent.com/assets/lEJLP4R0yuCaMCjSXYHtJw72M.woff2"); font-display: swap; font-style: normal; font-weight: 600; unicode-range: U+0370-03FF }
|
||||
@font-face { font-family: "Inter"; src: url("https://framerusercontent.com/assets/cRJyLNuTJR5jbyKzGi33wU9cqIQ.woff2"); font-display: swap; font-style: normal; font-weight: 600; unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF }
|
||||
@font-face { font-family: "Inter"; src: url("https://framerusercontent.com/assets/yDtI2UI8XcEg1W2je9XPN3Noo.woff2"); font-display: swap; font-style: normal; font-weight: 600; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD }
|
||||
@font-face { font-family: "Inter"; src: url("https://framerusercontent.com/assets/A0Wcc7NgXMjUuFdquHDrIZpzZw0.woff2"); font-display: swap; font-style: normal; font-weight: 600; unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB }
|
||||
@font-face { font-family: "Inter"; src: url("https://framerusercontent.com/assets/5vvr9Vy74if2I6bQbJvbw7SY1pQ.woff2"); font-display: swap; font-style: normal; font-weight: 400; unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F }
|
||||
@font-face { font-family: "Inter"; src: url("https://framerusercontent.com/assets/EOr0mi4hNtlgWNn9if640EZzXCo.woff2"); font-display: swap; font-style: normal; font-weight: 400; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116 }
|
||||
@font-face { font-family: "Inter"; src: url("https://framerusercontent.com/assets/Y9k9QrlZAqio88Klkmbd8VoMQc.woff2"); font-display: swap; font-style: normal; font-weight: 400; unicode-range: U+1F00-1FFF }
|
||||
@font-face { font-family: "Inter"; src: url("https://framerusercontent.com/assets/OYrD2tBIBPvoJXiIHnLoOXnY9M.woff2"); font-display: swap; font-style: normal; font-weight: 400; unicode-range: U+0370-03FF }
|
||||
@font-face { font-family: "Inter"; src: url("https://framerusercontent.com/assets/JeYwfuaPfZHQhEG8U5gtPDZ7WQ.woff2"); font-display: swap; font-style: normal; font-weight: 400; unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF }
|
||||
@font-face { font-family: "Inter"; src: url("https://framerusercontent.com/assets/GrgcKwrN6d3Uz8EwcLHZxwEfC4.woff2"); font-display: swap; font-style: normal; font-weight: 400; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD }
|
||||
@font-face { font-family: "Inter"; src: url("https://framerusercontent.com/assets/b6Y37FthZeALduNqHicBT6FutY.woff2"); font-display: swap; font-style: normal; font-weight: 400; unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB }
|
||||
@font-face { font-family: "Inter"; src: url("https://framerusercontent.com/assets/5A3Ce6C9YYmCjpQx9M4inSaKU.woff2"); font-display: swap; font-style: normal; font-weight: 500; unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F }
|
||||
@font-face { font-family: "Inter"; src: url("https://framerusercontent.com/assets/Qx95Xyt0Ka3SGhinnbXIGpEIyP4.woff2"); font-display: swap; font-style: normal; font-weight: 500; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116 }
|
||||
@font-face { font-family: "Inter"; src: url("https://framerusercontent.com/assets/6mJuEAguuIuMog10gGvH5d3cl8.woff2"); font-display: swap; font-style: normal; font-weight: 500; unicode-range: U+1F00-1FFF }
|
||||
@font-face { font-family: "Inter"; src: url("https://framerusercontent.com/assets/xYYWaj7wCU5zSQH0eXvSaS19wo.woff2"); font-display: swap; font-style: normal; font-weight: 500; unicode-range: U+0370-03FF }
|
||||
@font-face { font-family: "Inter"; src: url("https://framerusercontent.com/assets/otTaNuNpVK4RbdlT7zDDdKvQBA.woff2"); font-display: swap; font-style: normal; font-weight: 500; unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF }
|
||||
@font-face { font-family: "Inter"; src: url("https://framerusercontent.com/assets/UjlFhCnUjxhNfep4oYBPqnEssyo.woff2"); font-display: swap; font-style: normal; font-weight: 500; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD }
|
||||
@font-face { font-family: "Inter"; src: url("https://framerusercontent.com/assets/DolVirEGb34pEXEp8t8FQBSK4.woff2"); font-display: swap; font-style: normal; font-weight: 500; unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB }
|
||||
@font-face { font-family: "Inter"; src: url("https://framerusercontent.com/assets/vQyevYAyHtARFwPqUzQGpnDs.woff2"); font-display: swap; font-style: normal; font-weight: 400; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD }
|
||||
@font-face { font-family: "Inter"; src: url("https://framerusercontent.com/assets/d3tHnaQIAeqiE5hGcRw4mmgWYU.woff2"); font-display: swap; font-style: normal; font-weight: 500; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD }
|
||||
@font-face { font-family: "Inter Placeholder"; src: local("Arial"); ascent-override: 89.79%; descent-override: 22.36%; line-gap-override: 0.00%; size-adjust: 107.89% }
|
||||
</style>
|
||||
|
||||
<!-- Fragment Mono für Monospace-Akzente (Preis-Schriftzug) -->
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Fragment+Mono&display=swap" rel="stylesheet">
|
||||
|
||||
<link rel="stylesheet" href="custom/tiefenflug.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<!-- Intro „Tiefenflug" (Task 4) -->
|
||||
|
||||
<!-- Normale Startseite (Task 3) -->
|
||||
|
||||
<script src="custom/vendor/canvas-confetti.min.js"></script>
|
||||
<script src="custom/tiefenflug.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user