design anpassung

This commit is contained in:
2026-06-23 00:06:31 +02:00
parent 1891ec0a51
commit cbea23083d
30 changed files with 785 additions and 547 deletions
+362 -143
View File
@@ -1,44 +1,54 @@
:root {
--bg: #f6efe6;
--bg-accent: #efe0cd;
--surface: rgba(255, 252, 248, 0.92);
--surface-strong: #fffaf2;
--text: #1f140f;
--muted: #6b544a;
--border: rgba(86, 48, 26, 0.14);
--primary: #8f4518;
--primary-strong: #6f2f0e;
--secondary: #124f47;
--success: #e7f7ef;
--danger: #ffe3df;
--shadow: 0 20px 60px rgba(86, 48, 26, 0.12);
--radius: 24px;
--bg: #f5f6f8;
--bg-accent: #eef2f7;
--surface: #ffffff;
--surface-subtle: #f9fafb;
--surface-strong: #ffffff;
--text: #111827;
--muted: #6b7280;
--border: #d9dee7;
--border-strong: #b8c0cc;
--primary: #0f62fe;
--primary-strong: #0043ce;
--secondary: #344054;
--success: #ecfdf3;
--success-border: #a6e9c5;
--danger: #fef2f2;
--danger-border: #fecaca;
--info: #eff6ff;
--info-border: #bfdbfe;
--shadow: 0 1px 2px rgba(16, 24, 40, 0.06), 0 8px 24px rgba(16, 24, 40, 0.04);
--radius: 8px;
}
* {
box-sizing: border-box;
}
html {
color-scheme: light;
}
body {
margin: 0;
min-height: 100vh;
color: var(--text);
font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
background:
radial-gradient(circle at top left, rgba(143, 69, 24, 0.18), transparent 26rem),
radial-gradient(circle at top right, rgba(18, 79, 71, 0.14), transparent 24rem),
linear-gradient(160deg, var(--bg) 0%, #fcf7f0 48%, var(--bg-accent) 100%);
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
font-size: 16px;
line-height: 1.55;
background: linear-gradient(180deg, #fbfcfe 0%, var(--bg) 100%);
}
body,
button,
input,
select,
textarea {
letter-spacing: 0;
}
.page-backdrop {
position: fixed;
inset: 0;
pointer-events: none;
background:
linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
background-size: 3rem 3rem;
mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), transparent 70%);
display: none;
}
.shell {
@@ -50,22 +60,23 @@ body {
position: sticky;
top: 0;
z-index: 20;
backdrop-filter: blur(18px);
background: rgba(246, 239, 230, 0.72);
background: rgba(255, 255, 255, 0.88);
border-bottom: 1px solid var(--border);
backdrop-filter: saturate(1.2) blur(18px);
}
.header-inner,
.footer-grid,
.button-row,
.metric-row,
.top-nav,
.inline-head,
.two-column,
.grid-three,
.content-grid,
.plan-grid,
.metric-cards {
.metric-cards,
.action-strip,
.section-actions {
display: grid;
gap: 1rem;
}
@@ -73,22 +84,22 @@ body {
.header-inner {
grid-template-columns: auto 1fr;
align-items: center;
padding: 1rem 0;
padding: 0.9rem 0;
}
.brand {
display: inline-flex;
align-items: center;
gap: 0.85rem;
gap: 0.75rem;
min-width: 0;
color: inherit;
text-decoration: none;
}
.brand strong,
.hero h1,
.page-head h1,
.section-head h2 {
letter-spacing: -0.03em;
.brand strong {
display: block;
font-size: 0.98rem;
font-weight: 700;
}
.brand small,
@@ -97,37 +108,49 @@ body {
.feature-list,
.metric-row span,
.top-nav a,
.site-footer p {
.site-footer p,
.form-note,
.table-empty {
color: var(--muted);
}
.brand-mark {
display: inline-grid;
place-items: center;
width: 2.75rem;
height: 2.75rem;
border-radius: 0.9rem;
background: linear-gradient(135deg, var(--primary), #c07a3d);
color: white;
width: 2.35rem;
height: 2.35rem;
border-radius: var(--radius);
background: var(--text);
color: #ffffff;
font-size: 0.82rem;
font-weight: 700;
flex: 0 0 auto;
}
.top-nav {
grid-auto-flow: column;
justify-content: end;
display: flex;
flex-wrap: wrap;
justify-content: flex-end;
align-items: center;
gap: 0.35rem;
}
.top-nav a {
display: inline-flex;
align-items: center;
min-height: 2.35rem;
padding: 0.5rem 0.7rem;
border-radius: var(--radius);
text-decoration: none;
padding: 0.65rem 0.9rem;
border-radius: 999px;
font-size: 0.94rem;
font-weight: 600;
white-space: nowrap;
}
.top-nav a.active,
.top-nav a:hover {
background: rgba(18, 79, 71, 0.08);
color: var(--secondary);
background: var(--info);
color: var(--primary-strong);
}
.main-shell {
@@ -151,40 +174,60 @@ body {
.hero-card,
.card,
.form-card,
.table-card {
.table-card,
.plan-card,
.timeline,
.metric-card,
.quick-action {
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius);
box-shadow: var(--shadow);
}
.hero-copy {
padding: 2.4rem;
.hero-copy,
.hero-card {
padding: 2rem;
}
.hero-card {
padding: 2rem;
align-self: stretch;
background:
linear-gradient(180deg, rgba(255,255,255,0.84), rgba(255,250,242,0.94)),
linear-gradient(135deg, rgba(18,79,71,0.12), transparent 50%);
}
h1,
h2,
h3,
p {
margin-top: 0;
}
.hero h1,
.page-head h1 {
font-size: clamp(2.2rem, 4vw, 4.6rem);
line-height: 0.96;
max-width: 13ch;
margin: 0.6rem 0 1rem;
font-size: 3rem;
line-height: 1.05;
font-weight: 760;
}
.lead {
font-size: 1.15rem;
.section-head h2,
.card h2,
.hero-card h2 {
font-size: 1.35rem;
line-height: 1.25;
}
.lead,
.page-head p {
max-width: 58rem;
color: var(--secondary);
font-size: 1.08rem;
line-height: 1.7;
max-width: 56rem;
}
.button-row,
.metric-row {
.metric-row,
.section-actions {
grid-auto-flow: column;
justify-content: start;
}
@@ -193,43 +236,73 @@ body {
display: inline-flex;
justify-content: center;
align-items: center;
padding: 0.95rem 1.25rem;
border-radius: 999px;
min-height: 2.75rem;
padding: 0.72rem 1rem;
border-radius: var(--radius);
border: 1px solid transparent;
text-decoration: none;
font-weight: 700;
font-weight: 650;
cursor: pointer;
transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease, box-shadow 120ms ease;
}
.button-primary {
color: white;
background: linear-gradient(135deg, var(--primary), var(--primary-strong));
color: #ffffff;
background: var(--primary);
}
.button-primary:hover {
background: var(--primary-strong);
}
.button-secondary {
color: var(--secondary);
border-color: rgba(18, 79, 71, 0.24);
background: rgba(18, 79, 71, 0.08);
color: var(--text);
border-color: var(--border);
background: var(--surface);
}
.button-secondary:hover {
border-color: var(--border-strong);
background: var(--surface-subtle);
}
.button:disabled,
.button[aria-disabled="true"] {
opacity: 0.55;
cursor: not-allowed;
}
.metric-row {
list-style: none;
padding: 0;
margin: 1.4rem 0 0;
align-items: end;
margin: 1.5rem 0 0;
align-items: start;
}
.metric-row strong {
.metric-row li {
max-width: 15rem;
}
.metric-row strong,
.metric-card strong,
.stats-panel strong {
display: block;
font-size: 1.7rem;
font-size: 1.6rem;
line-height: 1.15;
}
.metric-row span,
.metric-card span,
.stats-panel span {
display: block;
margin-top: 0.25rem;
}
.eyebrow {
display: inline-block;
text-transform: uppercase;
letter-spacing: 0.18em;
font-size: 0.72rem;
color: var(--primary);
margin-bottom: 0.45rem;
color: var(--primary-strong);
font-size: 0.84rem;
font-weight: 700;
}
@@ -237,35 +310,40 @@ body {
.stack-list,
.step-list {
margin: 1rem 0 0;
padding-left: 1.2rem;
padding-left: 1.15rem;
}
.feature-list li,
.step-list li {
margin: 0.45rem 0;
}
.stats-panel,
.metric-cards,
.content-grid,
.plan-grid,
.grid-three {
.grid-three,
.action-strip {
margin-top: 1.5rem;
}
.stats-panel {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 0.85rem;
gap: 0.8rem;
}
.stats-panel div,
.metric-card {
padding: 1rem;
border-radius: 1rem;
background: rgba(255,255,255,0.74);
background: var(--surface-subtle);
border: 1px solid var(--border);
border-radius: var(--radius);
box-shadow: none;
}
.metric-card strong,
.stats-panel strong {
display: block;
font-size: 1.7rem;
.metric-card {
min-height: 7rem;
}
.content-grid,
@@ -277,13 +355,14 @@ body {
.card,
.form-card,
.table-card,
.timeline {
padding: 1.4rem;
.timeline,
.plan-card {
padding: 1.25rem;
}
.highlighted {
border-color: rgba(143, 69, 24, 0.38);
background: linear-gradient(180deg, rgba(255, 251, 244, 0.98), rgba(250, 236, 219, 0.9));
border-color: var(--primary);
box-shadow: 0 0 0 1px rgba(15, 98, 254, 0.2), var(--shadow);
}
.page-head {
@@ -292,14 +371,17 @@ body {
.inline-head {
grid-template-columns: 1fr auto;
align-items: center;
align-items: start;
}
.form-card,
.table-card {
.form-card {
overflow: hidden;
}
.table-card {
overflow-x: auto;
}
.form-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
@@ -314,7 +396,7 @@ label {
display: grid;
gap: 0.45rem;
margin-bottom: 1rem;
font-weight: 700;
font-weight: 650;
}
input,
@@ -328,30 +410,59 @@ input,
select,
textarea {
width: 100%;
padding: 0.85rem 1rem;
border-radius: 1rem;
border: 1px solid rgba(86, 48, 26, 0.18);
background: rgba(255,255,255,0.95);
min-height: 2.75rem;
padding: 0.72rem 0.85rem;
border-radius: var(--radius);
border: 1px solid var(--border);
background: #ffffff;
color: var(--text);
}
input::placeholder,
textarea::placeholder {
color: #98a2b3;
}
input:focus,
select:focus,
textarea:focus {
outline: none;
border-color: var(--primary);
box-shadow: 0 0 0 3px rgba(15, 98, 254, 0.16);
}
a:focus-visible,
button:focus-visible,
.button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
outline: 3px solid rgba(15, 98, 254, 0.35);
outline-offset: 2px;
}
table {
width: 100%;
min-width: 42rem;
border-collapse: collapse;
}
th,
td {
padding: 0.95rem 0.8rem;
border-bottom: 1px solid rgba(86, 48, 26, 0.08);
padding: 0.82rem 0.75rem;
border-bottom: 1px solid var(--border);
text-align: left;
vertical-align: top;
}
th {
font-size: 0.82rem;
text-transform: uppercase;
letter-spacing: 0.12em;
color: var(--muted);
font-size: 0.86rem;
font-weight: 700;
}
tbody tr:hover {
background: var(--surface-subtle);
}
.stack-list {
@@ -363,68 +474,135 @@ th {
display: grid;
gap: 0.2rem;
padding: 0.85rem 0;
border-bottom: 1px solid rgba(86, 48, 26, 0.08);
border-bottom: 1px solid var(--border);
}
.flash {
.stack-list li:last-child {
border-bottom: 0;
}
.flash,
.alert {
margin-bottom: 1rem;
padding: 1rem 1.2rem;
border-radius: 1rem;
font-weight: 700;
padding: 0.9rem 1rem;
border-radius: var(--radius);
font-weight: 650;
}
.flash-success {
background: var(--success);
border: 1px solid rgba(18, 79, 71, 0.16);
border: 1px solid var(--success-border);
}
.flash-error {
.flash-error,
.alert-error {
background: var(--danger);
border: 1px solid rgba(143, 69, 24, 0.16);
}
.alert {
margin-bottom: 1rem;
padding: 1rem 1.2rem;
border-radius: 1rem;
font-weight: 700;
border: 1px solid var(--danger-border);
color: #7f1d1d;
}
.alert-info {
background: rgba(18, 79, 71, 0.08);
border: 1px solid rgba(18, 79, 71, 0.16);
color: var(--secondary);
}
.alert-error {
background: var(--danger);
border: 1px solid rgba(143, 69, 24, 0.16);
color: var(--primary-strong);
background: var(--info);
border: 1px solid var(--info-border);
color: #1e3a8a;
}
.code-block {
overflow: auto;
padding: 1rem;
border-radius: 1rem;
background: #201814;
color: #fef0df;
border-radius: var(--radius);
background: #111827;
color: #f9fafb;
font-size: 0.9rem;
}
.text-link {
color: var(--secondary);
color: var(--primary-strong);
font-weight: 650;
text-decoration: none;
}
.text-link:hover {
text-decoration: underline;
}
.site-footer {
padding: 0 0 2rem;
}
.footer-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
padding: 1.5rem;
background: rgba(255,255,255,0.64);
padding: 1.25rem 0;
border-top: 1px solid var(--border);
}
.action-strip {
grid-template-columns: repeat(4, minmax(0, 1fr));
margin-bottom: 1.5rem;
}
.quick-action {
display: grid;
align-content: start;
gap: 0.25rem;
min-height: 7rem;
padding: 1rem;
color: inherit;
text-decoration: none;
}
.quick-action strong {
font-size: 1rem;
}
.quick-action span {
color: var(--muted);
font-size: 0.92rem;
}
.quick-action.primary {
border-color: rgba(15, 98, 254, 0.35);
background: var(--info);
}
.quick-action:hover {
border-color: var(--primary);
}
.section-actions {
margin: 1rem 0;
}
.form-note {
margin: 0 0 1rem;
padding: 0.85rem 1rem;
border: 1px solid var(--border);
border-radius: var(--radius);
background: var(--surface-subtle);
}
.status-pill {
display: inline-flex;
align-items: center;
min-height: 1.75rem;
padding: 0.2rem 0.55rem;
border-radius: var(--radius);
background: var(--surface-subtle);
border: 1px solid var(--border);
color: var(--secondary);
font-size: 0.86rem;
font-weight: 650;
}
.inline-form {
margin: 0.65rem 0 0;
}
code {
padding: 0.12rem 0.28rem;
border-radius: 5px;
background: var(--surface-subtle);
border: 1px solid var(--border);
}
@media (max-width: 960px) {
@@ -436,18 +614,59 @@ th {
.grid-three,
.footer-grid,
.form-grid,
.inline-head {
.inline-head,
.action-strip {
grid-template-columns: 1fr;
}
.top-nav,
.button-row,
.metric-row {
grid-auto-flow: row;
justify-content: start;
}
.header-inner {
grid-template-columns: 1fr;
gap: 0.75rem;
}
.top-nav {
justify-content: flex-start;
flex-wrap: nowrap;
overflow-x: auto;
padding-bottom: 0.1rem;
scrollbar-width: thin;
}
.button-row,
.metric-row,
.section-actions {
grid-auto-flow: row;
justify-content: stretch;
}
.button-row .button,
.section-actions .button {
width: 100%;
}
.hero h1,
.page-head h1 {
max-width: 100%;
font-size: 2.15rem;
}
.hero-copy,
.hero-card {
padding: 1.25rem;
}
.stats-panel {
grid-template-columns: 1fr;
}
}
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
scroll-behavior: auto !important;
transition-duration: 0.01ms !important;
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
}
}