236 lines
7.4 KiB
CSS
236 lines
7.4 KiB
CSS
/* Hallmark · shape: Marquee Hero (draw ff210f) · genre: modern-minimal · theme: Cobalt (deal 1/3, seed local-service-homes-small-21ad·35e5309b·2026-11-04·r0) · brand: Logo, Orange #f97316, Blau #2563eb · redesign: full · scope: Startseite + System
|
||
* hero: Poster · nav: slab · footer: colophon block · imagery: photographs, library 1, duotone (Platzhalter) · signature: Netz aus Punkten verschiedener Größe, Knoten mit Leistungen in Alltagssprache
|
||
* axes: light/grotesk-sans/cool · posture: committed (Original-Navy und Flächen #f0f4f8/#e8eef4, Slogan-Band in Orange) · modes: light+dark · contrast: pass · fold: pass · v2.0.0 */
|
||
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R3 V4 · weakest: R, Datensouveränität trägt viel Text; per Umschalter halbiert, Wörter bleiben die des Inhabers */
|
||
/* Hallmark · waive 38iii: farbige Phrase in Überschriften (Original-Look, ausdrücklicher Wunsch des Inhabers), einfarbig ohne Verlauf
|
||
* Hallmark · moved: Paperless nach /paperless, Datensouveränität nach /datensouveraenitaet (Wunsch des Inhabers); Stack-Badges (DB hero_badges) im Hero nicht mehr angezeigt
|
||
*/
|
||
/* Hallmark · theme override: Cobalt "kein warmer Akzent" weicht der Marke; Orange ist Markenfarbe (Vorgabe des Inhabers), nur Logo und Hauptaktion */
|
||
/* Hallmark · answered F4: .btn-secondary ist eine helle Taste, keine zweite Füllung; gefüllt ist nur Orange (Hero und Formular, beide "anfragen") · answered F7: alle Tasten teilen bewusst ein Rezept (Cobalt-Keycaps)
|
||
* Hallmark · kept: /privatkunden und /geschaeftskunden stehen jetzt in components/Zielgruppen.tsx (Daten-Array); Technologien-onClick ruft weiter setActive(tech.name) und merkt sich den Auslöser für den Fokus
|
||
* Hallmark · dismissed 41: .hero und .band nehmen Text über Tokens, die im Dunkelmodus mitwechseln · 28a: das Foto liegt weit unter dem Hero, nicht LCP · 76: Credit steht im Footer (data-credits)
|
||
* Hallmark · dropped: Schreibmaschinen-Wörter im Hero (Professionell, DSGVO-konform, Zuverlässig, Skalierbar), Zähl-Animation der Kennzahlen, Hinweis "Klick ausserhalb oder x zum Schliessen", Trenner "oder direkt" · Eyebrow "Über uns" (DB-Feld bleibt) */
|
||
@import "./tokens.css";
|
||
@import "./site.css";
|
||
|
||
@tailwind base;
|
||
@tailwind components;
|
||
@tailwind utilities;
|
||
|
||
/* Basis, global: gilt für alle Seiten */
|
||
@layer base {
|
||
html,
|
||
body {
|
||
overflow-x: clip;
|
||
}
|
||
html {
|
||
scroll-behavior: smooth;
|
||
scroll-padding-top: calc(var(--nav-h) + var(--space-lg));
|
||
scrollbar-color: var(--color-rule-2) var(--color-paper);
|
||
}
|
||
body {
|
||
background-color: var(--color-paper);
|
||
color: var(--color-ink);
|
||
font-family: var(--font-body);
|
||
font-size: var(--text-md);
|
||
line-height: 1.55;
|
||
-webkit-font-smoothing: antialiased;
|
||
caret-color: var(--color-accent);
|
||
}
|
||
::selection {
|
||
background: color-mix(in oklab, var(--color-accent) 24%, transparent);
|
||
color: var(--color-ink);
|
||
}
|
||
:focus-visible {
|
||
outline: 2px solid var(--color-focus);
|
||
outline-offset: 2px;
|
||
transition: none;
|
||
}
|
||
h1,
|
||
h2 {
|
||
text-wrap: balance;
|
||
}
|
||
p {
|
||
text-wrap: pretty;
|
||
}
|
||
[hidden] {
|
||
display: none !important;
|
||
}
|
||
|
||
@media (prefers-reduced-motion: reduce) {
|
||
html {
|
||
scroll-behavior: auto;
|
||
}
|
||
*:not(.keep-motion),
|
||
*:not(.keep-motion)::before,
|
||
*:not(.keep-motion)::after {
|
||
animation-duration: 0.01ms !important;
|
||
animation-iteration-count: 1 !important;
|
||
transition-duration: 0.01ms !important;
|
||
}
|
||
}
|
||
}
|
||
|
||
/* Gemeinsame Bausteine, auch von den Unterseiten genutzt */
|
||
@layer components {
|
||
/* Hauptaktion: orange Taste */
|
||
.btn-primary {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
gap: var(--space-xs);
|
||
min-height: 48px;
|
||
border: 1px solid var(--color-signal-edge);
|
||
border-radius: var(--radius-input);
|
||
background: var(--color-signal);
|
||
color: var(--color-signal-ink);
|
||
font-family: var(--font-display);
|
||
font-weight: 600;
|
||
box-shadow: var(--shadow-key-signal);
|
||
text-decoration: none;
|
||
transition: transform var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out);
|
||
}
|
||
.btn-primary:hover {
|
||
transform: translateY(-1px);
|
||
}
|
||
.btn-primary:active {
|
||
transform: translateY(3px);
|
||
box-shadow: var(--shadow-key-press);
|
||
}
|
||
.btn-primary:disabled,
|
||
.btn-primary[aria-disabled="true"] {
|
||
opacity: 0.55;
|
||
cursor: not-allowed;
|
||
transform: none;
|
||
}
|
||
|
||
/* Zweitaktion: helle Taste */
|
||
.btn-secondary,
|
||
.btn-nav {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
gap: var(--space-xs);
|
||
min-height: 48px;
|
||
border: 1px solid var(--color-rule-2);
|
||
border-radius: var(--radius-input);
|
||
background: var(--color-key-face);
|
||
color: var(--color-ink);
|
||
font-family: var(--font-display);
|
||
font-weight: 500;
|
||
box-shadow: var(--shadow-key);
|
||
text-decoration: none;
|
||
transition: transform var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out);
|
||
}
|
||
.btn-nav {
|
||
min-height: 40px;
|
||
padding: 0 var(--space-md);
|
||
font-size: var(--text-sm);
|
||
white-space: nowrap;
|
||
}
|
||
.btn-secondary:hover,
|
||
.btn-nav:hover {
|
||
transform: translateY(-1px);
|
||
}
|
||
.btn-secondary:active,
|
||
.btn-nav:active {
|
||
transform: translateY(3px);
|
||
box-shadow: var(--shadow-key-press);
|
||
}
|
||
}
|
||
|
||
@layer utilities {
|
||
/* Früher Verlaufstext; jetzt einfarbig im Signalblau */
|
||
.text-gradient {
|
||
color: var(--color-accent-text);
|
||
}
|
||
.text-gradient-orange {
|
||
color: var(--color-signal-text);
|
||
}
|
||
|
||
/* Punktraster auf der 8×16-Zelle des Feldes */
|
||
.bg-grid {
|
||
background-image: radial-gradient(var(--color-glyph-1) 1px, transparent 1px);
|
||
background-size: var(--cell-w) var(--cell-h);
|
||
}
|
||
|
||
.card-hover {
|
||
transition: transform var(--dur-short) var(--ease-out);
|
||
}
|
||
.card-hover:hover {
|
||
transform: translateY(-2px);
|
||
}
|
||
}
|
||
|
||
/* Rechtstexte (Impressum, Datenschutz) */
|
||
.legal-content section {
|
||
margin-bottom: var(--space-xl);
|
||
}
|
||
.legal-content h2 {
|
||
font-family: var(--font-display);
|
||
font-size: var(--text-lg);
|
||
font-weight: 600;
|
||
color: var(--color-ink);
|
||
margin-bottom: var(--space-sm);
|
||
margin-top: var(--space-xl);
|
||
padding-bottom: var(--space-xs);
|
||
border-bottom: 1px solid var(--color-rule);
|
||
}
|
||
.legal-content h3 {
|
||
font-family: var(--font-display);
|
||
font-size: var(--text-md);
|
||
font-weight: 600;
|
||
color: var(--color-signal-text);
|
||
margin-top: var(--space-lg);
|
||
margin-bottom: var(--space-xs);
|
||
}
|
||
.legal-content p {
|
||
color: var(--color-ink-2);
|
||
line-height: 1.75;
|
||
margin-bottom: var(--space-sm);
|
||
}
|
||
.legal-content ul {
|
||
list-style: none;
|
||
padding: 0;
|
||
margin: var(--space-sm) 0 var(--space-md) 0;
|
||
}
|
||
.legal-content ul li {
|
||
color: var(--color-ink-2);
|
||
line-height: 1.75;
|
||
padding-left: var(--space-lg);
|
||
position: relative;
|
||
margin-bottom: var(--space-xs);
|
||
}
|
||
.legal-content ul li::before {
|
||
content: "";
|
||
position: absolute;
|
||
left: 0;
|
||
top: 0.7rem;
|
||
width: 6px;
|
||
height: 6px;
|
||
background: var(--color-accent);
|
||
}
|
||
.legal-content a {
|
||
color: var(--color-accent-text);
|
||
text-decoration: underline;
|
||
text-underline-offset: 3px;
|
||
}
|
||
.legal-content a:hover {
|
||
text-decoration-color: var(--color-signal);
|
||
}
|
||
.legal-content strong {
|
||
color: var(--color-ink);
|
||
font-weight: 600;
|
||
}
|
||
.legal-content .note {
|
||
background: var(--color-paper-2);
|
||
color: var(--color-ink-2);
|
||
border: 1px solid var(--color-rule);
|
||
padding: var(--space-sm) var(--space-md);
|
||
border-radius: var(--radius-input);
|
||
margin: var(--space-sm) 0;
|
||
}
|
||
.legal-content .note p {
|
||
margin-bottom: 0;
|
||
}
|