Merge branch 'style/leistungen-kopfzeile' into 'main'

style: Kopfzeile an Original angleichen (Logo mittig, Schriftgrößen) und Lande-Animation ergänzen

See merge request leon/portfolio-photo!5
This commit is contained in:
Leon Tonhäuser committed 2026-06-10 16:40:20 +00:00
commit c497247545
1 file changed
+29 -9
+29 -9
View File
@@ -77,14 +77,19 @@
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
/* ---------- Kopfleiste (wie im Export: Name links, Kontakt-Button rechts) ---------- */
/* ---------- 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 40px;
padding: 24px;
}
.topbar-name { line-height: 1.3; }
.topbar-name strong { display: block; font-size: 18px; font-weight: 600; }
.topbar-name span { font-size: 14px; color: var(--text-leise); }
.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 {
@@ -210,19 +215,34 @@
/* ---------- 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; }
}
</style>
</head>
<body>
<header class="topbar">
<header class="topbar landen">
<a class="topbar-name" href="./">
<strong>Leon Tonhäuser</strong>
<span>Sportfotograf</span>
</a>
<a class="topbar-logo" href="./" aria-label="Startseite">
<!-- schwarze Logo-Variante (die weiße ist für dunkle Hintergründe, z. B. im Dock) -->
<img src="assets/images_TjoYzMAQxwv1bHENgPbqipmQUU.png" alt="Leon Tonhäuser Logo" width="50" height="50">
</a>
<a class="button" href="./kontakt">Kontakt</a>
</header>
@@ -247,9 +267,9 @@
<main>
<section class="hero">
<div class="container">
<span class="pill">Leistungen</span>
<h1>Was du buchen kannst</h1>
<p class="gedaempft">
<span class="pill landen" style="animation-delay:0.1s">Leistungen</span>
<h1 class="landen" style="animation-delay:0.2s">Was du buchen kannst</h1>
<p class="gedaempft landen" style="animation-delay:0.3s">
Ob packender Spieltag oder besonderes Event – hier findest du die passende
Begleitung. Alle Pakete sind Ausgangspunkte: Umfang und Ablauf stimmen wir
gemeinsam auf dein Projekt ab.