First Implementation

This commit is contained in:
caroschulte02-alt
2026-05-13 01:31:50 +02:00
parent e7bc5a5709
commit f1feb4677e
+87 -91
View File
@@ -1,103 +1,98 @@
* { * {
* {
box-sizing: border-box; box-sizing: border-box;
} }
/* ========================= /* =========================
Farben (HIGH CONTRAST) Farben
========================= */ ========================= */
:root { :root {
--bg: #f1f5f9; --bg: #eef2f7;
--white: #ffffff; --white: #ffffff;
/* Navigation dunkler für mehr Kontrast */ --nav: #1e293b;
--nav: #0f172a; --nav-hover: #334155;
--nav-hover: #1e293b;
/* kräftigeres Blau */ --primary: #2563eb;
--primary: #1d4ed8; --primary-hover: #1d4ed8;
--primary-hover: #1e40af;
/* Text deutlich dunkler */ --text: #1e293b;
--text: #0b1220; --text-light: #64748b;
--text-light: #1f2937;
/* klarere Borders */ --border: #dbe4ee;
--border: #cbd5e1; }
}
/* ========================= /* =========================
Body Body
========================= */ ========================= */
body { body {
font-family: "Segoe UI", Arial, sans-serif; font-family: "Segoe UI", Arial, sans-serif;
background-color: var(--bg); background-color: var(--bg);
color: var(--text); color: var(--text);
} }
/* ========================= /* =========================
Header Header
========================= */ ========================= */
header { header {
background-color: var(--nav); background-color: var(--nav);
} }
/* ========================= /* =========================
Logo / Bild Logo / Bild
========================= */ ========================= */
header img { header img {
object-fit: cover; object-fit: cover;
background-color: white; background-color: white;
border-radius: 14px; border-radius: 14px;
} }
/* ========================= /* =========================
Navigation Navigation
========================= */ ========================= */
nav { nav {
background-color: var(--nav); background-color: var(--nav);
} }
nav a { nav a {
text-decoration: none; text-decoration: none;
color: #f8fafc; /* heller für starken Kontrast */ color: #f1f5f9;
font-weight: 600; font-weight: 600;
border-radius: 10px; border-radius: 10px;
transition: 0.3s ease; transition: 0.3s ease;
} }
nav a:hover { nav a:hover {
background-color: var(--nav-hover); background-color: var(--nav-hover);
color: #ffffff; color: white;
} }
/* ========================= /* =========================
Suchfeld Suchfeld
========================= */ ========================= */
input[type="text"], input[type="text"],
input[type="search"] { input[type="search"] {
border: 1px solid var(--border); border: 1px solid var(--border);
background-color: white; background-color: white;
font-size: 1rem; font-size: 1rem;
border-radius: 12px; border-radius: 12px;
color: var(--text); }
}
input:focus { input:focus {
border-color: var(--primary); border-color: var(--primary);
outline: 3px solid #93c5fd; }
}
/* ========================= /* =========================
Buttons Buttons
========================= */ ========================= */
button { button {
background-color: var(--primary); background-color: var(--primary);
color: white; color: white;
border: none; border: none;
@@ -106,82 +101,83 @@ button {
cursor: pointer; cursor: pointer;
border-radius: 12px; border-radius: 12px;
transition: 0.25s ease;
}
/* Hover Bewegung */ transition: 0.25s ease;
button:hover { }
/* Hover Bewegung */
button:hover {
background-color: var(--primary-hover); background-color: var(--primary-hover);
transform: translateY(-2px); transform: translateY(-2px);
} }
/* Tastatur-Fokus (wichtig für Accessibility) */ /* Klick-Effekt */
button:focus,
nav a:focus {
outline: 3px solid #93c5fd;
outline-offset: 2px;
}
/* ========================= button:active {
transform: translateY(0px);
}
/* =========================
Hauptinhalt Hauptinhalt
========================= */ ========================= */
main { main {
background-color: var(--white); background-color: var(--white);
border-radius: 24px; border-radius: 24px;
} }
/* ========================= /* =========================
Überschriften Überschriften
========================= */ ========================= */
h1 { h1 {
color: var(--primary); color: var(--primary);
font-size: 3.5rem; font-size: 3.5rem;
} }
h2 { h2 {
color: var(--primary); color: var(--primary);
} }
/* ========================= /* =========================
Texte Texte
========================= */ ========================= */
p { p {
color: var(--text-light); color: var(--text-light);
line-height: 1.8; line-height: 1.8;
font-size: 1.08rem; font-size: 1.08rem;
} }
/* ========================= /* =========================
Links Links
========================= */ ========================= */
a { a {
color: var(--primary); color: var(--primary);
transition: 0.3s ease; transition: 0.3s ease;
} }
a:hover { a:hover {
color: var(--primary-hover); color: var(--primary-hover);
text-decoration: underline; }
}
/* ========================= /* =========================
Footer Footer
========================= */ ========================= */
footer { footer {
background-color: var(--white); background-color: var(--white);
} }
footer a { footer a {
text-decoration: none; text-decoration: none;
color: var(--text-light); color: var(--text-light);
font-weight: 500; font-weight: 500;
} }
footer a:hover { footer a:hover {
color: var(--primary); color: var(--primary);
}
} }