feat: Website und Hub zweisprachig (Deutsch/Englisch)
Website (rinkplanner.programmschmiede.de) liegt jetzt im Repo unter web/: Sprachweiche nach Accept-Language (der User-Agent enthält keine Sprache), /de/ und /en/ als eigene URLs mit hreflang, Cookie für die manuelle Wahl, Texte in web/i18n.php, Markup in web/template.php. Deployment über tools/deploy_web.sh (--sync, --check, --all); /index.html leitet weiter. Hub: optionale englische Oberfläche über den DE/EN-Umschalter, Cookie RHUB_LANG, Route /language. Alle Texte (Views, Meldungen, Validierung, API-messages) stehen in hub/app/i18n_strings.php und laufen über t(); Datum und Zahlen folgen der Sprache. Die API behält ihre code-Felder und antwortet ohne Cookie weiter deutsch. deploy_hub.sh --check prüft jetzt Schlüsselparität und fehlende t()-Schlüssel. Doku: docs/website.md neu, docs/hub.md und AGENTS.md ergänzt.
This commit is contained in:
parent
6c8dc942e8
commit
9819311403
41 changed files with 2801 additions and 326 deletions
682
web/assets/site.css
Normal file
682
web/assets/site.css
Normal file
|
|
@ -0,0 +1,682 @@
|
|||
:root {
|
||||
--ink: #050d19;
|
||||
--navy: #071a30;
|
||||
--ice: #c9f0ff;
|
||||
--frost: #eefaff;
|
||||
--sky: #7dd3fc;
|
||||
--blue: #38bdf8;
|
||||
--deep-blue: #185a86;
|
||||
--gold: #f3d7a3;
|
||||
--text: #f4fbff;
|
||||
--muted: rgba(224, 244, 255, 0.68);
|
||||
--line: rgba(190, 230, 255, 0.17);
|
||||
--glass: rgba(7, 24, 43, 0.58);
|
||||
--glass-strong: rgba(8, 29, 51, 0.82);
|
||||
--shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
|
||||
--radius: 24px;
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
min-height: 100vh;
|
||||
overflow-x: hidden;
|
||||
background: var(--ink);
|
||||
color: var(--text);
|
||||
font-family: "Manrope", "Segoe UI", system-ui, sans-serif;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
}
|
||||
|
||||
::selection {
|
||||
background: rgba(125, 211, 252, 0.35);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
a {
|
||||
color: var(--ice);
|
||||
}
|
||||
|
||||
.bg-media {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: -3;
|
||||
overflow: hidden;
|
||||
background:
|
||||
radial-gradient(circle at 28% 18%, rgba(56, 189, 248, 0.18), transparent 38%),
|
||||
radial-gradient(circle at 76% 44%, rgba(24, 90, 134, 0.34), transparent 44%),
|
||||
linear-gradient(145deg, #050d19 0%, #071a30 48%, #0a2742 100%);
|
||||
}
|
||||
|
||||
.bg-video {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
opacity: 0.58;
|
||||
filter: saturate(1.08) contrast(1.04);
|
||||
}
|
||||
|
||||
body.no-video .bg-video {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.bg-shade {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background:
|
||||
linear-gradient(180deg, rgba(3, 9, 18, 0.28) 0%, rgba(3, 9, 18, 0.62) 58%, var(--ink) 100%),
|
||||
radial-gradient(circle at 50% 42%, transparent 0%, rgba(3, 9, 18, 0.46) 76%);
|
||||
}
|
||||
|
||||
.bg-aurora {
|
||||
position: absolute;
|
||||
inset: -20%;
|
||||
background:
|
||||
radial-gradient(ellipse at 18% 55%, rgba(125, 211, 252, 0.16), transparent 34%),
|
||||
radial-gradient(ellipse at 82% 32%, rgba(243, 215, 163, 0.08), transparent 28%),
|
||||
radial-gradient(ellipse at 54% 84%, rgba(56, 189, 248, 0.12), transparent 32%);
|
||||
filter: blur(30px);
|
||||
animation: aurora 16s ease-in-out infinite alternate;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.trail {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: -2;
|
||||
overflow: hidden;
|
||||
pointer-events: none;
|
||||
opacity: 0.58;
|
||||
}
|
||||
|
||||
.trail svg {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.trail-line {
|
||||
fill: none;
|
||||
stroke: rgba(201, 240, 255, 0.34);
|
||||
stroke-width: 1.4;
|
||||
stroke-linecap: round;
|
||||
stroke-dasharray: 3 22;
|
||||
animation: trailDash 9s linear infinite;
|
||||
}
|
||||
|
||||
.trail-line.two {
|
||||
stroke: rgba(125, 211, 252, 0.26);
|
||||
animation-duration: 13s;
|
||||
animation-direction: reverse;
|
||||
}
|
||||
|
||||
.trail-line.three {
|
||||
stroke: rgba(243, 215, 163, 0.16);
|
||||
animation-duration: 17s;
|
||||
}
|
||||
|
||||
.grain {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: -1;
|
||||
pointer-events: none;
|
||||
opacity: 0.05;
|
||||
background-image: radial-gradient(rgba(255, 255, 255, 0.9) 0.6px, transparent 0.6px);
|
||||
background-size: 3px 3px;
|
||||
}
|
||||
|
||||
.site-header {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
z-index: 20;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 24px;
|
||||
padding: 20px clamp(20px, 5vw, 64px);
|
||||
background: linear-gradient(180deg, rgba(3, 9, 18, 0.78), transparent);
|
||||
}
|
||||
|
||||
.brand {
|
||||
color: var(--text);
|
||||
text-decoration: none;
|
||||
font-size: 0.92rem;
|
||||
font-weight: 800;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.brand span {
|
||||
color: var(--sky);
|
||||
}
|
||||
|
||||
.site-nav {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.site-nav a {
|
||||
color: var(--muted);
|
||||
text-decoration: none;
|
||||
font-size: 0.82rem;
|
||||
font-weight: 600;
|
||||
padding: 9px 14px;
|
||||
border-radius: 999px;
|
||||
transition: color 0.2s ease, background 0.2s ease;
|
||||
}
|
||||
|
||||
.site-nav a:hover {
|
||||
color: var(--text);
|
||||
background: rgba(201, 240, 255, 0.08);
|
||||
}
|
||||
|
||||
.site-nav .nav-back {
|
||||
color: var(--text);
|
||||
border: 1px solid var(--line);
|
||||
background: rgba(7, 24, 43, 0.42);
|
||||
backdrop-filter: blur(12px);
|
||||
}
|
||||
|
||||
.lang-switch {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 2px;
|
||||
padding: 3px;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 999px;
|
||||
background: rgba(7, 24, 43, 0.42);
|
||||
backdrop-filter: blur(12px);
|
||||
}
|
||||
|
||||
.site-nav .lang-switch a {
|
||||
padding: 6px 10px;
|
||||
border-radius: 999px;
|
||||
font-size: 0.72rem;
|
||||
font-weight: 800;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.site-nav .lang-switch a[aria-current="page"] {
|
||||
color: #04111f;
|
||||
background: linear-gradient(135deg, var(--frost), var(--sky));
|
||||
}
|
||||
|
||||
main {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
width: min(1180px, 100%);
|
||||
margin: 0 auto;
|
||||
padding: 0 clamp(20px, 5vw, 64px);
|
||||
}
|
||||
|
||||
.hero {
|
||||
min-height: 92vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
text-align: center;
|
||||
padding: 150px 0 80px;
|
||||
}
|
||||
|
||||
.eyebrow,
|
||||
.section-kicker {
|
||||
margin: 0 0 22px;
|
||||
color: var(--sky);
|
||||
font-size: 0.72rem;
|
||||
font-weight: 800;
|
||||
letter-spacing: 0.28em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.eyebrow {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.eyebrow::before {
|
||||
content: "";
|
||||
display: block;
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
border-radius: 50%;
|
||||
background: var(--sky);
|
||||
box-shadow: 0 0 18px rgba(125, 211, 252, 0.9);
|
||||
}
|
||||
|
||||
h1 {
|
||||
margin: 0 0 -0.24em;
|
||||
font-family: "Playfair Display", Georgia, serif;
|
||||
font-size: clamp(2.9rem, 13vw, 9.5rem);
|
||||
font-weight: 600;
|
||||
line-height: 0.88;
|
||||
padding-bottom: 0.28em;
|
||||
letter-spacing: -0.045em;
|
||||
background: linear-gradient(180deg, #ffffff 0%, var(--ice) 48%, var(--sky) 100%);
|
||||
-webkit-background-clip: text;
|
||||
background-clip: text;
|
||||
color: transparent;
|
||||
filter: drop-shadow(0 22px 54px rgba(56, 189, 248, 0.22));
|
||||
}
|
||||
|
||||
.lede {
|
||||
max-width: 650px;
|
||||
margin: 30px auto 0;
|
||||
color: var(--muted);
|
||||
font-size: clamp(1.02rem, 1.8vw, 1.22rem);
|
||||
font-weight: 400;
|
||||
line-height: 1.75;
|
||||
}
|
||||
|
||||
.hero-actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
gap: 12px;
|
||||
margin-top: 34px;
|
||||
}
|
||||
|
||||
.button {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 10px;
|
||||
padding: 14px 24px;
|
||||
border-radius: 999px;
|
||||
border: 1px solid transparent;
|
||||
text-decoration: none;
|
||||
font-size: 0.94rem;
|
||||
font-weight: 800;
|
||||
letter-spacing: 0.01em;
|
||||
transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
|
||||
}
|
||||
|
||||
.button:hover {
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
.button-primary {
|
||||
color: #04111f;
|
||||
background: linear-gradient(135deg, var(--frost), var(--sky) 48%, var(--blue));
|
||||
box-shadow: 0 14px 38px rgba(56, 189, 248, 0.26);
|
||||
}
|
||||
|
||||
.button-primary:hover {
|
||||
box-shadow: 0 20px 48px rgba(56, 189, 248, 0.36);
|
||||
}
|
||||
|
||||
.button-ghost {
|
||||
color: var(--text);
|
||||
border-color: var(--line);
|
||||
background: rgba(7, 24, 43, 0.38);
|
||||
backdrop-filter: blur(14px);
|
||||
}
|
||||
|
||||
.button-ghost:hover {
|
||||
background: rgba(201, 240, 255, 0.09);
|
||||
}
|
||||
|
||||
.hero-meta {
|
||||
margin-top: 26px;
|
||||
color: var(--muted);
|
||||
font-size: 0.82rem;
|
||||
letter-spacing: 0.03em;
|
||||
}
|
||||
|
||||
.section {
|
||||
padding: 92px 0;
|
||||
scroll-margin-top: 80px;
|
||||
}
|
||||
|
||||
.section h2 {
|
||||
margin: 0;
|
||||
font-family: "Playfair Display", Georgia, serif;
|
||||
font-size: clamp(2.2rem, 4.6vw, 3.7rem);
|
||||
font-weight: 500;
|
||||
line-height: 1.08;
|
||||
letter-spacing: -0.025em;
|
||||
}
|
||||
|
||||
.section-lede {
|
||||
max-width: 680px;
|
||||
margin: 18px auto 0;
|
||||
color: var(--muted);
|
||||
font-size: 1.02rem;
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
.centered {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.feature-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 16px;
|
||||
margin-top: 42px;
|
||||
}
|
||||
|
||||
.feature-card {
|
||||
padding: 26px;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: var(--radius);
|
||||
background: var(--glass);
|
||||
box-shadow: var(--shadow);
|
||||
backdrop-filter: blur(20px);
|
||||
}
|
||||
|
||||
.feature-icon {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
margin-bottom: 20px;
|
||||
border: 1px solid rgba(201, 240, 255, 0.28);
|
||||
border-radius: 50%;
|
||||
color: var(--ice);
|
||||
font-size: 1.25rem;
|
||||
background: radial-gradient(circle at 30% 20%, rgba(201, 240, 255, 0.22), transparent 60%);
|
||||
}
|
||||
|
||||
.feature-card h3 {
|
||||
margin: 0 0 10px;
|
||||
font-size: 1.02rem;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.feature-card p {
|
||||
margin: 0;
|
||||
color: var(--muted);
|
||||
font-size: 0.9rem;
|
||||
line-height: 1.68;
|
||||
}
|
||||
|
||||
.downloads {
|
||||
padding-top: 70px;
|
||||
}
|
||||
|
||||
.download-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 18px;
|
||||
max-width: 920px;
|
||||
margin: 44px auto 0;
|
||||
}
|
||||
|
||||
.download-card {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
padding: 34px 30px;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: var(--radius);
|
||||
background: var(--glass-strong);
|
||||
box-shadow: var(--shadow);
|
||||
backdrop-filter: blur(24px);
|
||||
}
|
||||
|
||||
.os-badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-width: 84px;
|
||||
padding: 7px 13px;
|
||||
border: 1px solid rgba(201, 240, 255, 0.26);
|
||||
border-radius: 999px;
|
||||
color: var(--ice);
|
||||
font-size: 0.68rem;
|
||||
font-weight: 800;
|
||||
letter-spacing: 0.16em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.download-card h3 {
|
||||
margin: 18px 0 8px;
|
||||
font-size: 1.45rem;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.download-card > p {
|
||||
margin: 0;
|
||||
color: var(--muted);
|
||||
font-size: 0.9rem;
|
||||
line-height: 1.65;
|
||||
}
|
||||
|
||||
.download-card .button {
|
||||
width: 100%;
|
||||
margin-top: 24px;
|
||||
}
|
||||
|
||||
.download-card .button span {
|
||||
font-weight: 600;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.sub-link {
|
||||
display: inline-block;
|
||||
margin-top: 14px;
|
||||
color: var(--ice);
|
||||
font-size: 0.82rem;
|
||||
font-weight: 600;
|
||||
text-decoration: underline;
|
||||
text-decoration-color: rgba(201, 240, 255, 0.32);
|
||||
text-underline-offset: 4px;
|
||||
}
|
||||
|
||||
.hint {
|
||||
margin-top: 20px !important;
|
||||
color: rgba(224, 244, 255, 0.54) !important;
|
||||
font-size: 0.78rem !important;
|
||||
line-height: 1.6 !important;
|
||||
}
|
||||
|
||||
.download-note {
|
||||
max-width: 720px;
|
||||
margin: 26px auto 0;
|
||||
color: rgba(224, 244, 255, 0.5);
|
||||
font-size: 0.78rem;
|
||||
line-height: 1.6;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.notes-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 16px;
|
||||
margin-top: 36px;
|
||||
}
|
||||
|
||||
.note-card {
|
||||
padding: 26px;
|
||||
border-top: 1px solid var(--line);
|
||||
}
|
||||
|
||||
.note-card h3 {
|
||||
margin: 0 0 9px;
|
||||
font-size: 0.95rem;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.note-card p {
|
||||
margin: 0;
|
||||
color: var(--muted);
|
||||
font-size: 0.88rem;
|
||||
line-height: 1.66;
|
||||
}
|
||||
|
||||
.release-list {
|
||||
display: grid;
|
||||
gap: 16px;
|
||||
max-width: 860px;
|
||||
margin: 36px auto 0;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.release-card {
|
||||
padding: 24px 26px;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: var(--radius);
|
||||
background: var(--glass);
|
||||
backdrop-filter: blur(20px);
|
||||
}
|
||||
|
||||
.release-head {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: baseline;
|
||||
gap: 10px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.release-version {
|
||||
font-weight: 800;
|
||||
color: var(--ice);
|
||||
}
|
||||
|
||||
.release-date {
|
||||
color: var(--muted);
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
.release-badge {
|
||||
margin-left: auto;
|
||||
padding: 3px 10px;
|
||||
border: 1px solid rgba(201, 240, 255, 0.28);
|
||||
border-radius: 999px;
|
||||
color: var(--ice);
|
||||
font-size: 0.68rem;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.release-card ul {
|
||||
margin: 0;
|
||||
padding-left: 18px;
|
||||
color: var(--muted);
|
||||
font-size: 0.9rem;
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
.release-card li {
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
.release-card li:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.site-footer {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
width: min(1180px, 100%);
|
||||
margin: 30px auto 0;
|
||||
padding: 30px clamp(20px, 5vw, 64px) 42px;
|
||||
border-top: 1px solid var(--line);
|
||||
color: var(--muted);
|
||||
font-size: 0.78rem;
|
||||
}
|
||||
|
||||
.site-footer a {
|
||||
color: var(--muted);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.site-footer a:hover {
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
@keyframes aurora {
|
||||
from { transform: translate3d(-2%, -1%, 0) scale(1); }
|
||||
to { transform: translate3d(2%, 2%, 0) scale(1.06); }
|
||||
}
|
||||
|
||||
@keyframes trailDash {
|
||||
to { stroke-dashoffset: -260; }
|
||||
}
|
||||
|
||||
@media (max-width: 900px) {
|
||||
.feature-grid,
|
||||
.notes-grid {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.download-grid {
|
||||
grid-template-columns: 1fr;
|
||||
max-width: 560px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.site-header {
|
||||
padding: 16px 18px;
|
||||
}
|
||||
|
||||
.site-nav > a:not(.nav-back) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.site-header {
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.site-nav {
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.hero {
|
||||
min-height: 88vh;
|
||||
padding-top: 126px;
|
||||
}
|
||||
|
||||
.section {
|
||||
padding: 68px 0;
|
||||
}
|
||||
|
||||
.feature-grid,
|
||||
.notes-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.download-card {
|
||||
padding: 28px 22px;
|
||||
}
|
||||
|
||||
.bg-video {
|
||||
opacity: 0.42;
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
html {
|
||||
scroll-behavior: auto;
|
||||
}
|
||||
|
||||
*,
|
||||
*::before,
|
||||
*::after {
|
||||
animation-duration: 0.001ms !important;
|
||||
animation-iteration-count: 1 !important;
|
||||
transition-duration: 0.001ms !important;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue