Add subtle interface polish and clean URLs
This commit is contained in:
1 parent
3575a35877
commit
39407585f2
8 files changed
+338
-40
No files matched your search
+167
-4
@@ -119,9 +119,26 @@ a { color: inherit; text-decoration: none; }
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
transition: transform .09s ease, box-shadow .09s ease,
|
||||
background .15s ease, color .15s ease;
|
||||
}
|
||||
.btn::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 1px 1px auto;
|
||||
height: 42%;
|
||||
border-radius: 5px 5px 3px 3px;
|
||||
background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,0));
|
||||
opacity: .28;
|
||||
pointer-events: none;
|
||||
transition: opacity .15s ease, transform .15s ease;
|
||||
}
|
||||
.btn:hover::before {
|
||||
opacity: .42;
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
.btn:hover { transform: translateY(-1px); }
|
||||
/* Tastendruck — Kappe fährt auf die Grundfläche herunter */
|
||||
.btn:active { transform: translateY(8px); }
|
||||
|
||||
@@ -215,13 +232,21 @@ a { color: inherit; text-decoration: none; }
|
||||
background: rgba(255,255,255,.94);
|
||||
backdrop-filter: blur(8px);
|
||||
border-bottom: 1px solid var(--line);
|
||||
transition: background .18s ease, box-shadow .18s ease, border-color .18s ease;
|
||||
}
|
||||
.site-header.is-scrolled {
|
||||
background: rgba(255,255,255,.98);
|
||||
border-bottom-color: rgba(10,10,10,.14);
|
||||
box-shadow: 0 8px 28px -24px rgba(0,0,0,.55);
|
||||
}
|
||||
.header-inner {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
height: 74px;
|
||||
transition: height .18s ease;
|
||||
}
|
||||
.site-header.is-scrolled .header-inner { height: 66px; }
|
||||
.brand-logo { height: 26px; width: auto; }
|
||||
.nav {
|
||||
display: flex;
|
||||
@@ -245,11 +270,20 @@ a { color: inherit; text-decoration: none; }
|
||||
border: 1.5px solid var(--black);
|
||||
padding: 11px 10px;
|
||||
cursor: pointer;
|
||||
transition: background .15s ease;
|
||||
}
|
||||
.nav-toggle span {
|
||||
width: 20px; height: 1.5px;
|
||||
background: var(--black);
|
||||
display: block;
|
||||
transform-origin: center;
|
||||
transition: transform .18s cubic-bezier(.2, 0, 0, 1), opacity .18s ease;
|
||||
}
|
||||
.nav-toggle[aria-expanded="true"] span:first-child {
|
||||
transform: translateY(3.25px) rotate(45deg);
|
||||
}
|
||||
.nav-toggle[aria-expanded="true"] span:last-child {
|
||||
transform: translateY(-3.25px) rotate(-45deg);
|
||||
}
|
||||
.mobile-nav {
|
||||
/* Standardmäßig nie sichtbar — wird nur im Mobil-Breakpoint
|
||||
@@ -260,6 +294,7 @@ a { color: inherit; text-decoration: none; }
|
||||
padding: 16px 32px 24px;
|
||||
border-bottom: 1px solid var(--line);
|
||||
background: var(--paper);
|
||||
transform-origin: top center;
|
||||
}
|
||||
.mobile-nav a:not(.btn) {
|
||||
padding: 12px 0;
|
||||
@@ -334,6 +369,42 @@ a { color: inherit; text-decoration: none; }
|
||||
}
|
||||
.node-graph { display: block; width: 100%; height: auto; }
|
||||
|
||||
.flow-lines path {
|
||||
stroke-dasharray: 260;
|
||||
stroke-dashoffset: 260;
|
||||
animation: graphLineIn .6s cubic-bezier(.2, 0, 0, 1) forwards;
|
||||
}
|
||||
.flow-lines path:nth-child(2) { animation-delay: .04s; }
|
||||
.flow-lines path:nth-child(3) { animation-delay: .08s; }
|
||||
.flow-lines path:nth-child(4) { animation-delay: .12s; }
|
||||
.flow-lines path:nth-child(5) { animation-delay: .16s; }
|
||||
.flow-ports circle,
|
||||
.gnode,
|
||||
.graph-emblem {
|
||||
opacity: 0;
|
||||
transform-box: fill-box;
|
||||
transform-origin: center;
|
||||
animation: graphNodeIn .28s cubic-bezier(.2, 0, 0, 1) forwards;
|
||||
}
|
||||
.gnode:nth-of-type(1) { animation-delay: .08s; }
|
||||
.gnode:nth-of-type(2) { animation-delay: .11s; }
|
||||
.gnode:nth-of-type(3) { animation-delay: .14s; }
|
||||
.gnode:nth-of-type(4) { animation-delay: .20s; }
|
||||
.gnode:nth-of-type(5) { animation-delay: .23s; }
|
||||
.flow-ports circle { animation-delay: .26s; }
|
||||
.flow-ports-center circle { animation-delay: .30s; }
|
||||
.graph-emblem {
|
||||
animation-name: graphEmblemIn;
|
||||
animation-delay: .18s;
|
||||
animation-duration: .36s;
|
||||
animation-timing-function: cubic-bezier(.2, 0, 0, 1);
|
||||
animation-fill-mode: forwards;
|
||||
}
|
||||
.flow-signal {
|
||||
fill: var(--black);
|
||||
opacity: .72;
|
||||
}
|
||||
|
||||
.gnode rect {
|
||||
fill: var(--paper);
|
||||
stroke: var(--black);
|
||||
@@ -399,9 +470,30 @@ a { color: inherit; text-decoration: none; }
|
||||
border-bottom: 1px solid var(--line-strong);
|
||||
padding: 36px 32px 40px;
|
||||
background: var(--paper);
|
||||
transition: background .15s ease;
|
||||
position: relative;
|
||||
transition: background .15s ease, box-shadow .15s ease;
|
||||
}
|
||||
.card::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: -1px;
|
||||
left: -1px;
|
||||
right: -1px;
|
||||
height: 2px;
|
||||
background: var(--black);
|
||||
opacity: 0;
|
||||
transform: scaleX(.65);
|
||||
transform-origin: left center;
|
||||
transition: opacity .15s ease, transform .15s ease;
|
||||
}
|
||||
.card:hover {
|
||||
background: var(--paper-2);
|
||||
box-shadow: inset 0 0 0 999px rgba(0,0,0,.012);
|
||||
}
|
||||
.card:hover::before {
|
||||
opacity: 1;
|
||||
transform: scaleX(1);
|
||||
}
|
||||
.card:hover { background: var(--paper-2); }
|
||||
/* Icon-Keycap — gewölbte Taste mit erhöhter Oberfläche (3D) */
|
||||
.icon-key {
|
||||
position: relative;
|
||||
@@ -413,6 +505,11 @@ a { color: inherit; text-decoration: none; }
|
||||
/* Tastenkörper / Seitenwände */
|
||||
background: linear-gradient(180deg, #DADADA 0%, #C0C0C0 60%, #B0B0B0 100%);
|
||||
box-shadow: 0 9px 13px -5px rgba(0,0,0,.28);
|
||||
transition: transform .16s cubic-bezier(.2, 0, 0, 1), box-shadow .16s ease;
|
||||
}
|
||||
.card:hover .icon-key {
|
||||
transform: translateY(-3px);
|
||||
box-shadow: 0 13px 16px -7px rgba(0,0,0,.32);
|
||||
}
|
||||
/* erhöhte, leicht gewölbte Tastenoberfläche */
|
||||
.icon-key::before {
|
||||
@@ -640,12 +737,15 @@ a { color: inherit; text-decoration: none; }
|
||||
border: 1.5px solid var(--line);
|
||||
border-radius: 7px;
|
||||
padding: 12px 14px;
|
||||
transition: border-color .15s ease;
|
||||
transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
|
||||
}
|
||||
.form-row:focus-within label { color: var(--black); }
|
||||
.form-row input:focus,
|
||||
.form-row textarea:focus {
|
||||
outline: none;
|
||||
border-color: var(--black);
|
||||
background: #FFFFFF;
|
||||
box-shadow: 0 0 0 3px rgba(255,255,255,.9), 0 0 0 4px rgba(10,10,10,.18);
|
||||
}
|
||||
.form-row textarea { resize: vertical; }
|
||||
.form-row.invalid input,
|
||||
@@ -677,6 +777,7 @@ a { color: inherit; text-decoration: none; }
|
||||
padding: 12px 14px;
|
||||
border: 1.5px solid var(--black);
|
||||
border-radius: 7px;
|
||||
animation: statusIn .22s cubic-bezier(.2, 0, 0, 1);
|
||||
}
|
||||
.form-status.ok { background: var(--black); color: var(--paper); }
|
||||
.form-status.err { border-color: #C0392B; color: #C0392B; }
|
||||
@@ -738,7 +839,10 @@ a { color: inherit; text-decoration: none; }
|
||||
.nav { display: none; }
|
||||
.nav-toggle { display: flex; }
|
||||
/* Mobil-Menü nur sichtbar, wenn JS das hidden-Attribut entfernt */
|
||||
.mobile-nav:not([hidden]) { display: flex; }
|
||||
.mobile-nav:not([hidden]) {
|
||||
display: flex;
|
||||
animation: mobileMenuIn .18s cubic-bezier(.2, 0, 0, 1);
|
||||
}
|
||||
.hero-grid { grid-template-columns: 1fr; gap: 48px; padding: 140px 32px 72px; }
|
||||
.cards { grid-template-columns: 1fr 1fr; }
|
||||
.steps { grid-template-columns: 1fr 1fr; }
|
||||
@@ -768,8 +872,58 @@ a { color: inherit; text-decoration: none; }
|
||||
.footer-base { flex-direction: column; gap: 8px; }
|
||||
}
|
||||
|
||||
.reveal {
|
||||
opacity: 0;
|
||||
transform: translateY(8px);
|
||||
transition: opacity .24s cubic-bezier(.2, 0, 0, 1),
|
||||
transform .24s cubic-bezier(.2, 0, 0, 1);
|
||||
}
|
||||
.reveal.is-visible {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
.reveal.reveal-delay-1 { transition-delay: .08s; }
|
||||
.reveal.reveal-delay-2 { transition-delay: .10s; }
|
||||
.reveal.reveal-delay-3 { transition-delay: .12s; }
|
||||
.reveal.reveal-delay-4 { transition-delay: .14s; }
|
||||
|
||||
@keyframes graphLineIn {
|
||||
to { stroke-dashoffset: 0; }
|
||||
}
|
||||
@keyframes graphNodeIn {
|
||||
from { opacity: 0; transform: translateY(4px); }
|
||||
to { opacity: 1; transform: translateY(0) scale(1); }
|
||||
}
|
||||
@keyframes graphEmblemIn {
|
||||
from { opacity: 0; transform: translateY(4px); }
|
||||
to { opacity: 1; transform: translateY(0) scale(1) rotate(0deg); }
|
||||
}
|
||||
@keyframes mobileMenuIn {
|
||||
from { opacity: 0; transform: translateY(-8px) scaleY(.98); }
|
||||
to { opacity: 1; transform: translateY(0) scaleY(1); }
|
||||
}
|
||||
@keyframes statusIn {
|
||||
from { opacity: 0; transform: translateY(6px); }
|
||||
to { opacity: 1; transform: translateY(0); }
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
html { scroll-behavior: auto; }
|
||||
*,
|
||||
*::before,
|
||||
*::after {
|
||||
animation-duration: .001ms !important;
|
||||
animation-iteration-count: 1 !important;
|
||||
scroll-behavior: auto !important;
|
||||
transition-duration: .001ms !important;
|
||||
}
|
||||
.reveal {
|
||||
opacity: 1;
|
||||
transform: none;
|
||||
}
|
||||
.flow-signal {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
/* ============================================================
|
||||
@@ -804,6 +958,15 @@ a { color: inherit; text-decoration: none; }
|
||||
display: block;
|
||||
border: 1.5px solid var(--black);
|
||||
}
|
||||
.td-feature-img.reveal,
|
||||
.shot.reveal img {
|
||||
clip-path: inset(0 0 12% 0);
|
||||
transition-property: opacity, transform, clip-path;
|
||||
}
|
||||
.td-feature-img.reveal.is-visible,
|
||||
.shot.reveal.is-visible img {
|
||||
clip-path: inset(0);
|
||||
}
|
||||
|
||||
/* GameJam-Teaser — Hero-Element der GameJam-Seite, als HTML nachgebaut */
|
||||
.gj-teaser {
|
||||
|
||||
Reference in new issue
Block a user