Resolve merge conflicts and fix styling issues

- Resolve all merge conflicts from main branch pull
- Fix CSS load order: global stylesheet before page-specific on all pages
- Add navigation.js to impressum.html and datenschutz.html
- Unify nav classes across all pages (nav-tab-links + button-small)
- Add footer styles to global stylesheet
- Remove duplicate landingpage.css (redundant with index.css)
- Fix duplicate head/body tags in event_detail.html
- Merge login.js: keep user auth logic + snackbar support
- Merge index-carousel.js: keep dots + responsive resize handling
This commit is contained in:
Estelle Köhler committed 2026-04-12 10:49:17 +02:00
commit 5ee62ff604
27 files changed
+2823 -356

No files matched your search

+195 -25
View File
@@ -6,6 +6,25 @@
--control-min-height: 3rem;
--input-min-height: 3.5rem;
--card-min-height: 6rem;
--color-bg: var(--butter);
--color-surface: var(--white);
--color-surface-soft: var(--butter-light);
--color-text: var(--black);
--color-text-secondary: rgba(34, 33, 26, 0.8);
--color-muted: rgba(34, 33, 26, 0.68);
--color-border: rgba(102, 52, 13, 0.16);
--color-border-strong: var(--brown);
--color-divider: rgba(102, 52, 13, 0.14);
--color-primary: var(--olive);
--color-primary-hover: var(--olive-dark);
--color-progress-bg: rgba(212, 75, 36, 0.18);
--color-focus: var(--blue);
--color-error: var(--error);
--shadow-soft: 0 12px 30px rgba(102, 52, 13, 0.1);
--input-border-soft: rgba(102, 52, 13, 0.2);
--input-border-focus: rgba(107, 107, 5, 0.45);
--input-shadow-focus: 0 0 0 4px rgba(107, 107, 5, 0.12);
}
*,
@@ -20,7 +39,7 @@ html {
body {
margin: 0;
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
font-family: var(--font-main);
background: var(--color-bg);
color: var(--color-text);
line-height: 1.5;
@@ -108,6 +127,10 @@ a {
padding: var(--space-4) 0 var(--space-7);
}
.submission-success {
padding: var(--space-4) 0 var(--space-7);
}
.step--active {
display: block;
}
@@ -123,6 +146,7 @@ a {
min-height: 60vh;
align-content: center;
grid-template-columns: 1fr;
gap: var(--space-7);
}
.step-copy,
@@ -159,6 +183,7 @@ fieldset {
h1,
h2 {
margin: 0;
font-family: "Bagel Fat One", cursive;
font-size: clamp(2rem, 4vw, 4rem);
line-height: 1.03;
letter-spacing: -0.03em;
@@ -185,9 +210,22 @@ h2 {
background: linear-gradient(135deg, var(--color-surface), var(--color-surface-soft));
}
.intro-card-emoji {
font-size: 2rem;
margin-bottom: var(--space-3);
.intro-card--image {
width: 100%;
padding: 0;
border: 0;
overflow: hidden;
background: transparent;
box-shadow: none;
}
.intro-image {
width: 100%;
aspect-ratio: 16 / 10;
display: block;
object-fit: cover;
border-radius: 1.875rem;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}
label,
@@ -208,11 +246,13 @@ input[type="number"],
textarea {
width: 100%;
min-height: var(--input-min-height);
padding: 0.95rem 1rem;
border: 1px solid var(--color-border);
border-radius: 1rem;
background: var(--color-surface);
padding: 1rem 1.1rem;
border: 1px solid var(--input-border-soft);
border-radius: 1.125rem;
background: var(--butter-light);
color: var(--color-text);
box-shadow: 0 1px 2px rgba(102, 52, 13, 0.04);
transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
textarea {
@@ -220,6 +260,30 @@ textarea {
resize: vertical;
}
input[type="text"]:hover,
input[type="date"]:hover,
input[type="time"]:hover,
input[type="number"]:hover,
textarea:hover {
border-color: rgba(102, 52, 13, 0.28);
}
input[type="text"]:focus,
input[type="date"]:focus,
input[type="time"]:focus,
input[type="number"]:focus,
textarea:focus {
border-color: var(--input-border-focus);
box-shadow: var(--input-shadow-focus);
background: var(--butter-light);
outline: none;
}
.field-invalid {
border-color: var(--tomato) !important;
box-shadow: 0 0 0 2px rgba(212, 75, 36, 0.14);
}
.field-row {
display: grid;
gap: var(--space-4);
@@ -238,8 +302,8 @@ textarea {
padding: 1rem 1rem 1rem 1.05rem;
border: 1px solid var(--color-border);
border-radius: 1rem;
background: var(--color-surface);
transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
background: var(--butter-light);
transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.option-card small {
@@ -247,6 +311,7 @@ textarea {
}
.option-card:hover {
background: var(--olive-light);
transform: translateY(-1px);
box-shadow: var(--shadow-soft);
}
@@ -259,7 +324,18 @@ textarea {
}
.option-card:has(input:checked) {
border: 2px solid var(--color-border-strong);
border: 1px solid var(--color-primary);
background: var(--color-primary);
color: var(--white);
}
.option-card:has(input:checked) small {
color: rgba(247, 246, 230, 0.88);
}
.option-card--invalid {
border-color: var(--tomato) !important;
box-shadow: 0 0 0 2px rgba(212, 75, 36, 0.14);
}
.counter {
@@ -281,15 +357,44 @@ textarea {
.counter-button {
width: var(--control-min-height);
height: var(--control-min-height);
border: 1px solid var(--color-border);
border: 1px solid var(--color-primary);
border-radius: 50%;
background: var(--color-surface);
background: var(--color-primary);
color: var(--white);
font-size: 1.5rem;
line-height: 1;
box-shadow: 0 6px 16px rgba(107, 107, 5, 0.18);
transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.counter-button:hover {
background: var(--color-primary-hover);
transform: translateY(-1px);
}
.counter-button:focus-visible {
outline: 3px solid rgba(107, 107, 5, 0.22);
outline-offset: 3px;
}
.review-card {
padding: var(--space-5);
border-radius: var(--radius-lg);
display: grid;
gap: var(--space-4);
padding: 0;
border: 0;
border-radius: 0;
background: transparent;
box-shadow: none;
}
.review-card--success {
display: grid;
gap: var(--space-5);
padding: var(--space-3) 0 0;
border: 0;
border-radius: 0;
background: transparent;
box-shadow: none;
}
.review-list {
@@ -300,14 +405,29 @@ textarea {
.review-item {
display: grid;
gap: var(--space-1);
padding-bottom: var(--space-4);
border-bottom: 1px solid var(--color-divider);
gap: var(--space-2);
padding: 1rem 1.1rem;
border: 1px solid var(--input-border-soft);
border-radius: 1.125rem;
background: var(--butter-light);
box-shadow: 0 1px 2px rgba(102, 52, 13, 0.04);
cursor: pointer;
transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}
.review-item:last-child {
border-bottom: 0;
padding-bottom: 0;
border-bottom: 1px solid var(--input-border-soft);
}
.review-item:hover {
border-color: rgba(102, 52, 13, 0.28);
background: rgba(247, 246, 230, 0.92);
transform: translateY(-1px);
}
.review-item:focus-visible {
outline: 3px solid rgba(107, 107, 5, 0.2);
outline-offset: 3px;
}
.review-item dt {
@@ -320,16 +440,29 @@ textarea {
color: var(--color-text-secondary);
}
.submission-success-actions {
display: flex;
justify-content: center;
}
.flow-footer {
position: sticky;
bottom: 0;
z-index: 5;
margin-top: auto;
background: rgba(247, 247, 242, 0.96);
backdrop-filter: blur(8px);
background: var(--color-bg);
backdrop-filter: none;
padding-top: var(--space-4);
padding-bottom: env(safe-area-inset-bottom);
}
.progress-wrap {
position: relative;
width: min(100%, var(--content-width));
margin: 0 auto;
padding-top: 4.35rem;
}
.progress {
width: 100%;
height: 0.375rem;
@@ -340,15 +473,50 @@ textarea {
display: block;
width: 0;
height: 100%;
background: var(--color-primary);
background: var(--tomato);
transition: width 0.25s ease;
}
.progress-marker {
position: absolute;
top: 0;
transform: translateX(-50%);
display: grid;
justify-items: center;
gap: 0.2rem;
pointer-events: none;
}
.progress-marker::after {
content: "";
width: 0.125rem;
height: 1rem;
background: var(--tomato);
border-radius: 999px;
}
.progress-marker__circle {
width: 2.9rem;
height: 2.9rem;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 50%;
background: var(--tomato);
color: var(--butter-light);
font-size: 1.35rem;
font-weight: 600;
line-height: 1;
box-shadow: 0 10px 24px rgba(212, 75, 36, 0.18);
}
.flow-actions {
display: flex;
align-items: center;
justify-content: space-between;
gap: var(--space-4);
width: min(100%, var(--content-width));
margin: 0 auto;
padding: var(--space-4) 0;
}
@@ -455,8 +623,10 @@ textarea:focus-visible {
@media (min-width: 768px) {
.step-layout--intro {
grid-template-columns: 1.25fr 0.8fr;
width: min(100%, 56rem);
grid-template-columns: 1fr 1fr;
align-items: center;
gap: var(--space-8);
}
.field-row {
@@ -470,4 +640,4 @@ textarea:focus-visible {
.option-grid--4 {
grid-template-columns: repeat(4, minmax(0, 1fr));
}
}
}
+85 -5
View File
@@ -266,7 +266,6 @@
}
.btn-primary {
background: var(--olive);
color: #fffde8;
border: none;
border-radius: var(--radius-pill);
@@ -275,10 +274,52 @@
line-height: 1.3;
cursor: pointer;
white-space: nowrap;
transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary:hover {
filter: brightness(0.95);
.btn-primary-register {
background: var(--olive);
}
.btn-primary-register:hover,
.btn-primary-register:focus-visible {
background: #575704;
transform: translateY(-1px);
box-shadow: 0 4px 10px rgba(107, 107, 5, 0.28);
}
.btn-primary-register:active {
transform: translateY(0);
box-shadow: 0 2px 6px rgba(107, 107, 5, 0.25);
}
.btn-primary-danger {
background: var(--tomato);
}
.btn-primary-danger:hover,
.btn-primary-danger:focus-visible {
background: var(--tomato-dark);
transform: translateY(-1px);
box-shadow: 0 4px 10px rgba(188, 74, 52, 0.28);
}
.btn-primary-danger:active {
transform: translateY(0);
box-shadow: 0 2px 6px rgba(188, 74, 52, 0.25);
}
.btn-primary:disabled {
opacity: 0.6;
cursor: not-allowed;
}
.btn-primary-own,
.btn-primary-own:disabled {
background: var(--olive-light);
color: var(--black);
opacity: 1;
cursor: not-allowed;
}
/* ---------------------------------------------------------
@@ -680,12 +721,42 @@
}
.detail-primary-btn {
border: 2px solid var(--tomato);
border-radius: var(--radius-pill);
background: var(--tomato);
color: var(--white);
padding: 10px 22px;
cursor: pointer;
transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.detail-primary-btn-register {
border: 2px solid var(--olive);
background: var(--olive);
}
.detail-primary-btn-register:not(:disabled):hover,
.detail-primary-btn-register:not(:disabled):focus-visible {
background: #575704;
border-color: #575704;
transform: translateY(-1px);
box-shadow: 0 4px 10px rgba(107, 107, 5, 0.28);
}
.detail-primary-btn-danger {
border: 2px solid var(--tomato);
background: var(--tomato);
}
.detail-primary-btn-danger:not(:disabled):hover,
.detail-primary-btn-danger:not(:disabled):focus-visible {
background: var(--tomato-dark);
border-color: var(--tomato-dark);
transform: translateY(-1px);
box-shadow: 0 4px 10px rgba(188, 74, 52, 0.28);
}
.detail-primary-btn:not(:disabled):active {
transform: translateY(0);
box-shadow: 0 2px 6px rgba(102, 52, 13, 0.22);
}
.detail-primary-btn:disabled {
@@ -693,6 +764,15 @@
cursor: not-allowed;
}
.detail-primary-btn-own,
.detail-primary-btn-own:disabled {
border-color: var(--olive-light);
background: var(--olive-light);
color: var(--black);
opacity: 1;
cursor: not-allowed;
}
/* ---------------------------------------------------------
Responsive: Tablet (<= 850px)
+2 -2
View File
@@ -161,14 +161,14 @@ button[type="submit"]:active {
}
.error-message {
color: var(--tomato);
color: var(--error);
font-size: 0.8rem;
margin-top: 5px;
display: none;
}
.form-group.has-error input {
border-color: var(--tomato);
border-color: var(--error);
box-shadow: 0 0 5px rgba(212, 75, 36, 0.3);
}
+380
View File
@@ -0,0 +1,380 @@
.profile-page {
/* Reserve a large safe zone below sticky nav so title/actions are never covered. */
margin-top: 0;
padding-top: 6.5rem;
margin-bottom: var(--space-8);
}
/* Kopfbereich mit Titel und Logout-Aktion. */
.profile-hero {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: var(--space-4);
margin-bottom: var(--space-5);
}
.profile-kicker {
margin: 0;
color: var(--olive);
font-size: 1rem;
font-weight: 500;
letter-spacing: var(--ls-label);
}
#profile-headline {
margin: 0.4rem 0;
color: var(--brown);
font-size: clamp(2rem, 4.4vw, 2.8rem);
}
.profile-subline {
margin: 0;
max-width: 48rem;
}
.profile-logout {
border: none;
cursor: pointer;
}
.profile-grid {
display: grid;
grid-template-columns: 1fr;
gap: var(--space-4);
}
.profile-tabs {
display: inline-flex;
flex-wrap: wrap;
gap: var(--space-2);
}
.profile-tab {
border: 2px solid var(--olive);
border-radius: var(--radius-md);
background: var(--butter);
color: var(--black);
padding: 0.45rem 1rem;
min-height: 2.5rem;
font-family: "Jost", sans-serif;
font-size: 1rem;
font-weight: 500;
letter-spacing: var(--ls-ui);
cursor: pointer;
transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.profile-tab:hover,
.profile-tab:focus-visible {
background: #faf8e8;
}
.profile-tab.is-active {
border-color: transparent;
background: var(--olive);
color: var(--white);
}
/* Konsistentes Karten-Layout fuer alle Profilsektionen. */
.profile-panel {
background: rgba(255, 255, 255, 0.88);
border-radius: var(--radius-lg);
box-shadow: 0 3px 12px rgba(102, 52, 13, 0.1);
padding: var(--space-5);
}
.panel-head {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: var(--space-3);
}
.panel-title {
margin: 0;
color: var(--brown);
font-size: 1.8rem;
}
.panel-count {
min-width: 2rem;
padding: 0.1rem 0.65rem;
border-radius: var(--radius-pill);
background: var(--olive-light);
color: var(--black);
font-size: 0.95rem;
font-weight: 600;
text-align: center;
}
.profile-card-list {
display: grid;
gap: var(--space-2);
}
/* Einzelne Eventkarte fuer "Meine Events" und "Meine Anmeldungen". */
.profile-event-card {
border: 1px solid rgba(107, 107, 5, 0.25);
border-radius: var(--radius-md);
padding: var(--space-3);
display: flex;
justify-content: space-between;
align-items: center;
gap: var(--space-3);
}
.profile-event-card-clickable {
cursor: pointer;
transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.profile-event-card-clickable:hover {
box-shadow: 0 6px 16px rgba(102, 52, 13, 0.14);
transform: translateY(-1px);
}
.profile-event-title {
margin: 0;
color: var(--black);
font-family: "Jost", sans-serif;
font-size: 1.25rem;
font-weight: 600;
}
.profile-event-meta {
margin: 0.3rem 0 0;
font-size: 0.95rem;
color: var(--olive);
}
.profile-event-address-block {
margin-top: 0.55rem;
padding: 0.6rem 0.75rem;
border-radius: var(--radius-sm);
border-left: 4px solid var(--tomato);
background: rgba(232, 237, 209, 0.65);
}
.profile-event-address-label {
margin: 0;
color: var(--olive);
font-size: 0.72rem;
font-weight: 700;
letter-spacing: var(--ls-label);
text-transform: uppercase;
}
.profile-event-address {
margin: 0.2rem 0 0;
font-size: 0.95rem;
color: var(--black);
font-weight: 600;
line-height: 1.35;
}
.profile-event-link {
flex-shrink: 0;
color: var(--blue);
font-weight: 500;
text-decoration: none;
}
.profile-event-link:hover,
.profile-event-link:focus-visible {
text-decoration: underline;
text-underline-offset: 3px;
}
.profile-event-actions {
display: flex;
align-items: center;
gap: var(--space-2);
}
.profile-unregister-btn {
border: none;
border-radius: var(--radius-md);
background: var(--tomato);
color: var(--butter-light);
padding: 0.45rem 0.95rem;
font-family: "Jost", sans-serif;
font-size: 0.95rem;
font-weight: 500;
cursor: pointer;
transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.profile-cancel-btn {
border: none;
border-radius: var(--radius-md);
background: var(--tomato);
color: var(--butter-light);
padding: 0.45rem 0.95rem;
font-family: "Jost", sans-serif;
font-size: 0.95rem;
font-weight: 500;
cursor: pointer;
transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.profile-cancel-btn:hover,
.profile-cancel-btn:focus-visible {
background: var(--tomato-dark);
transform: translateY(-1px);
box-shadow: 0 4px 10px rgba(188, 74, 52, 0.28);
}
.profile-cancel-btn:active {
transform: translateY(0);
box-shadow: 0 2px 6px rgba(188, 74, 52, 0.25);
}
.profile-unregister-btn:hover,
.profile-unregister-btn:focus-visible {
background: var(--tomato-dark);
transform: translateY(-1px);
box-shadow: 0 4px 10px rgba(188, 74, 52, 0.28);
}
.profile-unregister-btn:active {
transform: translateY(0);
box-shadow: 0 2px 6px rgba(188, 74, 52, 0.25);
}
.profile-empty {
margin: 0;
color: var(--black);
}
.profile-empty-state {
text-align: center;
padding: 2.4rem 1.3rem;
border: 2px solid var(--olive-light);
border-radius: var(--radius-lg);
background: rgba(255, 255, 255, 0.92);
box-shadow: 0 3px 12px rgba(102, 52, 13, 0.08);
}
.profile-empty-kicker {
margin: 0 0 0.5rem;
color: var(--olive);
font-size: 0.8rem;
font-weight: 600;
letter-spacing: var(--ls-label);
text-transform: uppercase;
}
.profile-empty-state h3 {
margin: 0;
font-size: 1.5rem;
color: var(--brown);
}
.profile-empty-state p {
margin: 0.65rem auto 1rem;
max-width: 36rem;
}
.form-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: var(--space-3);
}
.form-group {
margin-bottom: var(--space-3);
}
.form-group label {
display: block;
margin-bottom: 0.35rem;
font-size: 0.95rem;
font-weight: 500;
}
.form-group input {
width: 100%;
border: 1px solid #d8d8d8;
border-radius: var(--radius-sm);
background: var(--white);
padding: 0.7rem 0.85rem;
font-size: 1rem;
}
.form-group input:focus {
outline: 2px solid rgba(107, 107, 5, 0.35);
outline-offset: 1px;
}
.input-hint {
margin: 0.4rem 0 0;
font-size: 0.9rem;
color: #535353;
}
.input-error {
margin-top: 0.35rem;
color: var(--error);
font-size: 0.85rem;
display: none;
}
.form-group.has-error .input-error {
display: block;
}
.form-group.has-error input {
border-color: var(--error);
}
.profile-feedback {
margin: 0.75rem 0 0;
font-size: 0.95rem;
color: var(--olive);
min-height: 1.3rem;
}
.profile-cta-row {
display: flex;
gap: var(--space-2);
margin-top: var(--space-3);
}
.profile-button-secondary {
background: var(--tomato);
}
.profile-button-secondary:hover {
background: var(--tomato-dark);
}
@media (max-width: 48rem) {
.profile-page {
padding-top: 5.5rem;
}
.profile-hero {
flex-direction: column;
align-items: stretch;
}
.profile-logout {
width: max-content;
}
.form-grid {
grid-template-columns: 1fr;
}
.profile-event-card {
flex-direction: column;
align-items: flex-start;
}
.profile-event-actions {
width: 100%;
justify-content: flex-start;
flex-wrap: wrap;
}
}
+156 -82
View File
@@ -1,9 +1,7 @@
/* Font Import */
/* Font Import */
@import url('https://fonts.googleapis.com/css2?family=Bagel+Fat+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;600&display=swap');
/* Reset / Normalize */
*,
*::before,
@@ -15,43 +13,54 @@
/* Colors + Main Font */
:root {
--max-width: 1200px;
--padding: 1.5rem;
--tomato: #D44B24;
--tomato-dark: #D44B24;
--olive: #6B6B05;
--olive-dark: #5C5C05;
--olive-light: #E5E1B7;
--butter: #FFFBD1;
--butter-light: #FFFDE3;
--olive-light: #C8CC7A;
--butter: #F5F1BC;
--butter-light: #F7F6E6;
--white: #ffffff;
--black: #221C1A;
--black: #22211A;
--brown: #66340d;
--blue: #3489DA;
--blue-dark: #1D70BF;
--error: #FF3B30;
--font-main: 'Jost', sans-serif;
--font-size-base: 16px;
--font-size-base: 1rem;
/* Spacing Scale */
--space-1: 8px;
--space-2: 12px;
--space-3: 16px;
--space-4: 20px;
--space-5: 24px;
--space-6: 32px;
/* Spacing Scale */
--space-1: 0.5rem;
--space-2: 0.75rem;
--space-3: 1rem;
--space-4: 1.25rem;
--space-5: 1.5rem;
--space-6: 2rem;
--space-7: 3rem;
--space-8: 4rem;
/* Radius Scale */
--radius-pill: 999px;
--radius-md: 20px;
--radius-lg: 30px;
/* Letter Spacing Scale */
/* Radius Scale */
--radius-pill: 62.4375rem;
--radius-sm: 0.5rem;
--radius-md: 1.5rem;
--radius-lg: 1.875rem;
/* Letter Spacing */
--ls-none: 0;
--ls-ui: 0.03em;
--ls-label: 0.045em;
--ls-sm: 2.5%;
--ls-label: 0.045rem;
}
/* Base Styles */
body {
font-family: var(--font-main);
font-size: 1.125em;
font-size: 1.125rem;
line-height: 1.5;
color: var(--black);
background-color: var(--butter);
@@ -64,98 +73,169 @@ img {
/* Typography */
h1, h2 {
h1, h2, h3, h4, h5, h6 {
font-family: 'Bagel Fat One';
margin-bottom: 0.5em;
}
h1 {
font-size: 2em;
font-weight: 600;
line-height: 120%;
letter-spacing: var(--ls-sm);
color: var(--brown);
}
p {
font-family: 'Jost', sans-serif;
margin-bottom: 1em;
margin-bottom: 1rem;
}
/* Layout */
.main-content {
margin-top: var(--space-8);
}
.container {
width: 90%;
max-width: 1200px;
max-width: 75rem;
margin: 0 auto;
}
/* Top Navigation */
.top-nav-wrap {
background: var(--butter);
padding: 6px 12px;
position: sticky;
height: 58px;
top: 1rem;
z-index: 1000;
background: none;
padding: 0 1rem;
}
.top-nav {
background: rgba(255, 255, 255, 0.95);
background: var(--white);
/*backdrop-filter: blur(3px) saturate(140%);
-webkit-backdrop-filter: blur(3px) saturate(140%);*/
border-radius: var(--radius-lg);
box-shadow: 0 3px 12px rgba(102, 52, 13, 0.1);
box-shadow: 0 0.1875rem 0.75rem rgba(102, 52, 13, 0.1);
display: flex;
justify-content: space-between;
align-items: center;
min-height: 58px;
padding: 3px 9px 3px var(--space-5);
min-height: 3rem;
padding: 0.1875rem 0.75rem 0.1875rem var(--space-5);
max-width: none;
width: 100%;
box-sizing: border-box;
margin: 0 auto;
}
.brand {
display: inline-flex;
align-items: center;
height: 50px;
height: 3.125rem;
text-decoration: none;
}
.brand img {
width: auto;
height: 100%;
max-width: 104px;
max-width: 6.5rem;
display: block;
}
.top-nav-links {
.nav-tab {
color: var(--black);
font-size: 1.125rem;
font-weight: 500;
letter-spacing: var(--ls-sm);
line-height: 1;
text-decoration: none;
}
.nav-tab:hover, .nav-tab:active,
.nav-tab:focus-visible {
text-decoration: underline;
text-underline-offset: 4px;
}
.button-small:hover, .button-small:active,
.button-small:focus-visible {
background: var(--olive-dark);
color: var(--black);
}
.nav-tab-links {
display: flex;
align-items: center;
gap: 16px;
gap: var(--space-5);
}
.nav-link {
color: var(--black);
line-height: 1.3;
/* Buttons */
.button {
display: inline-block;
padding: 0.5rem 1.25rem;
background-color: var(--olive);
border: none;
border-radius: var(--radius-lg);
font-family: 'Jost', sans-serif;
font-weight: 400;
font-size: 1.25rem;
color: var(--butter-light);
cursor: pointer;
}
.button:hover {
background-color: var(--olive-dark);
}
.button-small {
background: var(--olive);
color: var(--butter-light);
font-size: 1.125rem;
font-weight: 500;
letter-spacing: var(--ls-sm);
line-height: 1;
text-decoration: none;
padding: var(--space-1) var(--space-4);
border-radius: var(--radius-md);
border-width: 2px;
border-color: none;
border-radius: 20px
}
.nav-link:hover,
.nav-link:focus-visible {
.button-small:hover, .button-small:active,
.button-small:focus-visible {
background: var(--olive-dark);
color: var(--butter-light);
}
/* Auth-Links in ausgeloggter Navigation: klarer Aktiv-/Default-Zustand. */
.auth-nav-button--default {
background: transparent;
color: var(--olive);
border: 2px solid var(--olive);
}
.auth-nav-button--default:hover,
.auth-nav-button--default:focus-visible {
background: var(--olive-light);
color: var(--black);
}
.login-pill {
.auth-nav-button--active {
background: var(--olive);
border-radius: var(--radius-md);
color: var(--butter);
line-height: 1.3;
padding: var(--space-1) var(--space-4);
text-decoration: none;
color: var(--butter-light);
border: 2px solid var(--olive);
}
.profile-pill {
width: 38px;
height: 38px;
border-radius: 19px;
width: 2.375rem;
height: 2.375rem;
border-radius: 1.1875rem;
background: var(--tomato);
color: var(--butter);
font-size: 17px;
font-size: 1.0625rem;
font-weight: 500;
letter-spacing: var(--ls-ui);
line-height: 1.3;
@@ -165,30 +245,6 @@ p {
text-decoration: none;
}
/* Components */
.button {
display: inline-block;
padding: 0.5em 1.25em;
background-color: var(--olive-color);
font-family: 'Jost', sans-serif;
font-size: 1em;
color: var(--butter-light);
border: none;
border-radius: 2em;
cursor: pointer;
}
.button:hover {
background-color: var(--olive-dark);
}
/* Navigation */
.nav {
display: flex;
gap: 1rem;
}
/* Utilities */
.text-center {
text-align: left;
@@ -198,8 +254,26 @@ p {
display: none;
}
/* Footer */
.footer {
display: flex;
justify-content: center;
align-items: center;
gap: 1.5rem;
padding: var(--space-3) var(--space-5);
border: none;
margin-top: 2.5rem;
}
.footer__link {
color: var(--black);
text-decoration: underline;
font-size: 0.8rem;
font-weight: 400;
}
/* Media Queries (Responsive) */
@media (max-width: 768px) {
@media (max-width: 48rem) {
.container {
width: 95%;
}