Refactor website templates for improved clarity and user experience

- Updated titles and content in kontakt.html to better reflect services for schools.
- Enhanced styling in main.html for a more modern look and feel.
- Changed project descriptions in projekte.html to focus on practical examples from schools.
- Revised team.html to emphasize the structured approach and values of the team.
This commit is contained in:
2026-03-29 17:32:43 +02:00
parent 370a17b295
commit 84185c35ae
7 changed files with 349 additions and 471 deletions
+73 -71
View File
@@ -1,32 +1,32 @@
<!DOCTYPE html>
<html lang="en">
<html lang="de">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0, user-scalable=yes">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<title>{% block title %}IT Lösungen{% endblock %}</title>
<title>{% block title %}Digitale Schulverwaltung{% endblock %}</title>
{% block head %}
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Source+Sans+3:wght@400;500;600&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Merriweather:wght@700;900&family=Public+Sans:wght@400;500;600;700&display=swap" rel="stylesheet">
<style>
:root {
--bg-main: #f5f8fa;
--bg-soft: #e8eef2;
--bg-main: #f3f1ea;
--bg-soft: #e4e0d4;
--surface: #ffffff;
--text-main: #112332;
--text-soft: #466176;
--line: #d8e1e8;
--brand: #0a4c74;
--brand-strong: #073754;
--accent: #f28c28;
--text-main: #1f2e33;
--text-soft: #495d63;
--line: #d0d7d0;
--brand: #1c5a63;
--brand-strong: #143f46;
--accent: #b3672e;
--radius-md: 14px;
--shadow-sm: 0 10px 30px rgba(17, 35, 50, 0.08);
--shadow-sm: 0 10px 30px rgba(18, 40, 44, 0.08);
--shell-gutter: clamp(12px, 2.2vw, 34px);
--shell-max-width: 100vw;
--shell-max-width: 1240px;
}
* { box-sizing: border-box; }
@@ -35,10 +35,10 @@
margin: 0;
padding: 0;
min-height: 100%;
font-family: "Source Sans 3", system-ui, sans-serif;
font-family: "Public Sans", system-ui, sans-serif;
color: var(--text-main);
background: radial-gradient(circle at 85% -10%, #c5d8e5 0%, transparent 35%),
radial-gradient(circle at -10% 50%, #dce8ef 0%, transparent 42%),
background: radial-gradient(circle at 88% -8%, #dbe4d9 0%, transparent 34%),
radial-gradient(circle at -5% 58%, #ece4d2 0%, transparent 40%),
var(--bg-main);
}
@@ -50,37 +50,37 @@
h1 {
margin: 0;
font-family: "Space Grotesk", system-ui, sans-serif;
line-height: 1.08;
font-size: clamp(1.75rem, 4.5vw, 4.2rem);
font-family: "Merriweather", Georgia, serif;
line-height: 1.16;
font-size: clamp(1.85rem, 4vw, 3.5rem);
}
h2 {
margin: 0;
font-family: "Space Grotesk", system-ui, sans-serif;
line-height: 1.08;
font-size: clamp(1.4rem, 3.2vw, 3rem);
font-family: "Merriweather", Georgia, serif;
line-height: 1.2;
font-size: clamp(1.5rem, 3vw, 2.5rem);
}
h3 {
margin: 0;
font-family: "Space Grotesk", system-ui, sans-serif;
line-height: 1.08;
font-size: clamp(1.1rem, 2.5vw, 2rem);
font-family: "Merriweather", Georgia, serif;
line-height: 1.24;
font-size: clamp(1.2rem, 2vw, 1.8rem);
}
h4 {
margin: 0;
font-family: "Space Grotesk", system-ui, sans-serif;
line-height: 1.08;
font-family: "Merriweather", Georgia, serif;
line-height: 1.24;
font-size: clamp(1rem, 1.8vw, 1.5rem);
}
p {
margin: 0;
line-height: 1.55;
line-height: 1.6;
color: var(--text-soft);
font-size: clamp(0.95rem, 1.2vw, 1.1rem);
font-size: clamp(1rem, 1.15vw, 1.12rem);
}
a {
@@ -102,13 +102,13 @@
position: sticky;
top: 0;
z-index: 30;
backdrop-filter: blur(10px);
background: rgba(245, 248, 250, 0.86);
backdrop-filter: blur(12px);
background: rgba(245, 242, 234, 0.9);
border-bottom: 1px solid var(--line);
}
.site-nav-inner {
min-height: 78px;
min-height: 82px;
display: flex;
align-items: center;
justify-content: space-between;
@@ -116,20 +116,20 @@
}
.brand {
font-family: "Space Grotesk", system-ui, sans-serif;
font-size: 1.1rem;
font-family: "Merriweather", Georgia, serif;
font-size: 1.15rem;
font-weight: 700;
letter-spacing: 0.08em;
text-transform: uppercase;
letter-spacing: 0.03em;
color: var(--brand-strong);
}
.nav-links {
display: flex;
align-items: center;
gap: 1rem;
gap: 1.1rem;
font-weight: 600;
color: var(--text-soft);
font-size: 0.98rem;
}
.nav-links a:hover {
@@ -139,7 +139,7 @@
.nav-actions {
display: flex;
align-items: center;
gap: 0.6rem;
gap: 0.65rem;
}
.nav-btn {
@@ -148,21 +148,22 @@
justify-content: center;
border-radius: 999px;
border: 1px solid #bcd0de;
padding: 0.48rem 0.95rem;
padding: 0.52rem 0.98rem;
font-weight: 700;
color: #0e425f;
color: #1b4b52;
background: #ffffff;
transition: transform 0.15s ease;
transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.nav-btn:hover {
transform: translateY(-1px);
box-shadow: 0 6px 16px rgba(20, 53, 58, 0.12);
}
.nav-btn.primary {
color: #ffffff;
border-color: #0a4c74;
background: linear-gradient(120deg, #0b5b89 0%, #0b4262 100%);
border-color: #184f57;
background: linear-gradient(120deg, #286f78 0%, #194f56 100%);
}
.nav-dropdown {
@@ -182,7 +183,7 @@
content: "▾";
margin-left: 0.45rem;
font-size: 0.72rem;
color: #57798f;
color: #5f747a;
}
.nav-dropdown[open] > summary::after {
@@ -196,9 +197,9 @@
min-width: 220px;
padding: 0.5rem;
border-radius: 12px;
border: 1px solid #ccdae5;
border: 1px solid #ccd4cc;
background: #ffffff;
box-shadow: 0 12px 24px rgba(16, 44, 62, 0.15);
box-shadow: 0 12px 24px rgba(26, 45, 48, 0.14);
display: grid;
gap: 0.35rem;
z-index: 40;
@@ -208,16 +209,16 @@
padding: 0.5rem 0.65rem;
border-radius: 8px;
font-weight: 600;
color: #1a4865;
color: #214f55;
}
.dropdown-menu a:hover {
background: #f3f8fc;
background: #f2f6f3;
}
.main-wrap {
flex: 1 0 auto;
padding: 2rem 0 3.4rem;
padding: 2.2rem 0 3.5rem;
}
.flashes {
@@ -245,10 +246,10 @@
bottom: 1rem;
transform: translateX(-50%);
width: min(900px, calc(100% - 1.5rem));
border: 1px solid #c0d4e2;
border: 1px solid #c6d0c7;
border-radius: 14px;
background: rgba(255, 255, 255, 0.98);
box-shadow: 0 16px 32px rgba(16, 44, 62, 0.2);
box-shadow: 0 16px 32px rgba(26, 45, 48, 0.2);
padding: 0.95rem;
z-index: 70;
display: flex;
@@ -260,12 +261,12 @@
.cookie-banner p {
margin: 0;
color: #274f68;
color: #315055;
font-size: 0.92rem;
}
.cookie-banner a {
color: #0c537c;
color: #1b5b62;
text-decoration: underline;
font-weight: 700;
}
@@ -278,9 +279,9 @@
}
.cookie-btn {
border: 1px solid #0a4c74;
border: 1px solid #1c5a63;
border-radius: 999px;
background: linear-gradient(120deg, #0b5b89 0%, #0b4262 100%);
background: linear-gradient(120deg, #286f78 0%, #194f56 100%);
color: #ffffff;
font-weight: 700;
padding: 0.45rem 0.85rem;
@@ -288,9 +289,9 @@
}
.cookie-btn.secondary {
border-color: #c9d9e4;
border-color: #ccd5cc;
background: #ffffff;
color: #2b536b;
color: #315055;
}
.cookie-banner.hidden {
@@ -351,17 +352,17 @@
<body>
<nav class="site-nav">
<div class="site-shell site-nav-inner">
<a class="brand" href="{{ url_for('default') }}">Invario</a>
<a class="brand" href="{{ url_for('default') }}">Invario Schule</a>
<div class="nav-links" aria-label="Main Navigation">
<a href="{{ url_for('dienstleistungen') }}">Dienstleistungen</a>
<a href="{{ url_for('projekte') }}">Projekte</a>
<a href="{{ url_for('team') }}">Team</a>
<a href="{{ url_for('dienstleistungen') }}">Leistungen fuer Schulen</a>
<a href="{{ url_for('projekte') }}">Praxisbeispiele</a>
<a href="{{ url_for('team') }}">Unser Ansatz</a>
<a href="{{ url_for('kontakt') }}">Kontakt</a>
<a href="{{ url_for('inventarsystem') }}">Unser Produkt</a>
<a href="{{ url_for('inventarsystem') }}">Inventarsystem</a>
</div>
<div class="nav-actions">
{% if 'username' in session %}
<a class="nav-btn" href="{{ url_for('appointments') }}">Termin anfragen</a>
<a class="nav-btn" href="{{ url_for('appointments') }}">Beratungstermin</a>
<details class="nav-dropdown">
<summary class="nav-btn">Nutzerbereich</summary>
@@ -391,7 +392,7 @@
<a class="nav-btn" href="{{ url_for('logout') }}">Logout</a>
{% else %}
<a class="nav-btn" href="{{ url_for('blog') }}">Blog</a>
<a class="nav-btn" href="{{ url_for('blog') }}">Neuigkeiten</a>
<a class="nav-btn" href="{{ url_for('login') }}">Login</a>
<a class="nav-btn primary" href="{{ url_for('register') }}">Registrieren</a>
{% endif %}
@@ -415,15 +416,16 @@
<div class="footer-content">
<div class="footer-section">
<h4>Über uns</h4>
<p>Wir bieten professionelle IT-Lösungen für Ihre Inventur.</p>
<p>Digitale Verwaltungsablaeufe fuer Schulsekretariate und Schulleitungen in Deutschland.</p>
</div>
<div class="footer-section">
<h4>Schnelllinks</h4>
<ul class="footer-links">
<li><a href="{{ url_for('default') }}">Startseite</a></li>
<li><a href="{{ url_for('blog') }}">Blog</a></li>
<li><a href="{{ url_for('default') }}">Start</a></li>
<li><a href="{{ url_for('dienstleistungen') }}">Leistungsuebersicht</a></li>
<li><a href="{{ url_for('blog') }}">Neuigkeiten</a></li>
{% if 'username' in session %}
<li><a href="{{ url_for('appointments') }}">Termine</a></li>
<li><a href="{{ url_for('appointments') }}">Beratungstermine</a></li>
{% endif %}
</ul>
</div>
@@ -442,7 +444,7 @@
</div>
<style>
.site-footer {
background: linear-gradient(135deg, var(--brand-strong) 0%, #0a4c74 100%);
background: linear-gradient(135deg, var(--brand-strong) 0%, #1c5a63 100%);
color: #ffffff;
margin-top: auto;
padding: 3rem 0 1.5rem;
@@ -523,9 +525,9 @@
</style>
</footer>
<div class="cookie-banner hidden" id="cookieBanner" role="dialog" aria-live="polite" aria-label="Cookie Hinweis">
<p>Wir verwenden Cookies, um die Website sicher und benutzerfreundlich zu betreiben. Mit "Accept Cookies" stimmen Sie der Nutzung zu. Details in <a href="{{ url_for('datenschutz') }}">Datenschutz</a>.</p>
<p>Wir verwenden Cookies, um die Website sicher und benutzerfreundlich zu betreiben. Mit "Cookies akzeptieren" stimmen Sie der Nutzung zu. Details in <a href="{{ url_for('datenschutz') }}">Datenschutz</a>.</p>
<div class="cookie-actions">
<button type="button" class="cookie-btn" id="cookieAcceptBtn">Accept Cookies</button>
<button type="button" class="cookie-btn" id="cookieAcceptBtn">Cookies akzeptieren</button>
<button type="button" class="cookie-btn secondary" id="cookieDeclineBtn">Ablehnen und zu Ecosia</button>
</div>
</div>