Files
2026-11-25 10:31:28 +00:00

2583 lines
69 KiB
CSS
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
@import "../styles/design-system/tokens/index.css";
@import "../styles/design-system/tokens/themes/aimighty.css";
@import "../styles/design-system/components/index.css";
/* ── Token [AM-TOKEN] ─────────────────────────────────────────────── */
/* ═══════════════════════════════════════════════════════════════════════
AImighty — Token der Anwendung (tokens/app.css)
Der Dialekt der Anwendung, siehe medien/app.md und ABGLEICH.md, T1
(entschieden von Kai am 01.10.2026). **Diese Datei ist die Quelle** für
Rocket, Insilo und Relay; jede App trägt eine unveränderte Kopie.
Nicht mit tokens/tokens.css mischen: Dort ist der Auftritt.
- --am-raum-* heißt dort Stufe (raum-6 = 32 px), hier Vielfaches
(raum-6 = 24 px).
- Dunkel schaltet dort .dark, hier die Klasse dunkel am <html>.
Herkunft: Rocket v26.10.4, frontend/app/globals.css, Abschnitt
[AM-TOKEN]. Rocket hatte ihn aus dem InSilo_Design-Paket
(tokens/globals.css). Übernommen ohne Wertänderung — was sich ändern
soll, steht als Eintrag in ABGLEICH.md und wird hier geändert, nicht
in einer App.
Die Schriften bindet jede App selbst ein (self-hosted, nie vom CDN) und
reicht sie als --font-geist-sans / --font-geist-mono herein.
Prüfen: python3 werkzeug/app-abgleich.py pfad/zur/app.css
═══════════════════════════════════════════════════════════════════════ */
:root {
/* ── Schrift ─────────────────────────────────────────────────────── */
--am-schrift-sans: var(--font-geist-sans), ui-sans-serif, system-ui, sans-serif;
--am-schrift-mono: var(--font-geist-mono), ui-monospace, "SF Mono", monospace;
/* ── Dichte — ein Hebel, keine zweite Wertetabelle ──────────────────
weit (Vorgabe) 1,1 · normal 1,0 · kompakt 0,9.
Auf Berührung greift automatisch `normal`. */
--am-skalierung: 1.1;
--am-einheit: 0.25rem; /* 4px */
/* ── Abstandsstufen — 4·8·12·16·24·32·48·64, an die Dichte gebunden ─ */
--am-raum-1: calc(var(--am-einheit) * 1 * var(--am-skalierung));
--am-raum-2: calc(var(--am-einheit) * 2 * var(--am-skalierung));
--am-raum-3: calc(var(--am-einheit) * 3 * var(--am-skalierung));
--am-raum-4: calc(var(--am-einheit) * 4 * var(--am-skalierung));
--am-raum-6: calc(var(--am-einheit) * 6 * var(--am-skalierung));
--am-raum-8: calc(var(--am-einheit) * 8 * var(--am-skalierung));
--am-raum-12: calc(var(--am-einheit) * 12 * var(--am-skalierung));
--am-raum-16: calc(var(--am-einheit) * 16 * var(--am-skalierung));
/* ── Lesespalte — App-Profil, hergeleitet, nicht gesetzt ──────────── */
--am-spur-inhalt: 27.75rem; /* 444px — 60 Zeichen bei 16px Grundgrad */
/* ── Zielgrößen ──────────────────────────────────────────────────── */
--am-ziel-zeiger: 2.5rem; /* 40px */
--am-ziel-beruehrung: 2.75rem; /* 44px, ohne Ausnahme */
--am-ziel-abstand: 0.5rem;
--am-ziel-abstand-beruehrung: 0.75rem;
/* ── Zeilenhöhe Tabellen, an Dichte gebunden: 56·48·40 ────────────── */
--am-zeile-tabelle: 3.5rem;
/* Die Höhe der Kopfzeile — **beide Spalten teilen sie sich**. Links
endet darauf die Linie unter der Wortmarke, rechts die unter dem
Seitentitel. Vorher rechnete jede Seite ihre Höhe aus ihrem Inhalt
aus, und die beiden Linien lagen 27 px auseinander: ein Versatz, den
man nicht benennen kann und trotzdem sieht. Wer hier etwas ändert,
verschiebt beide Linien gemeinsam — das ist der Zweck. */
--am-kopfhoehe: 5rem;
--am-leistenhoehe: 3.5rem;
/* Breite der Navigation am Desktop — für alle Anwendungen gleich, damit
die Kante beim Wechsel zwischen ihnen nicht springt (ABGLEICH R9). */
--am-navigation-breite: 15rem; /* 240px */
/* Lesespalte: Formulare, Einstellungen und Ansichten mit einer Hauptsache
stehen höchstens so breit, mittig oder links im Inhalt. Listen, Board,
Post und Kalender bleiben fließend (ABGLEICH G1). */
--am-lesespalte: 45rem; /* 720px */
/* Seitentitel in jeder Anwendung gleich groß: 22 px war kaum mehr als ein
Abschnittstitel, 40 px kostet in Listen eine Zeile (ABGLEICH G1). */
--am-seitentitel: 1.75rem; /* 28px */
/* ── Ebenen — wer über wem liegt (ABGLEICH R9) ────────────────────── */
--am-ebene-tabellenkopf: 10;
--am-ebene-seitenkopf: 20;
--am-ebene-navigation: 40;
--am-ebene-kopfleiste: 50;
--am-ebene-menue: 60;
--am-ebene-suche: 70;
--am-ebene-assistent: 90;
--am-ebene-dialog: 100;
--am-ebene-ueber-dialog: 200; /* Palette, Klappliste in einem Dialog */
/* ── Radien — Vorschlag, siehe Paket-README "Was noch fehlt" ──────── */
--am-radius-klein: 0.25rem;
--am-radius-mittel: 0.5rem;
--am-radius-gross: 0.75rem;
--am-radius-voll: 999px;
/* ── Randstärken ─────────────────────────────────────────────────── */
--am-rand-ruhend: 1px;
--am-rand-betont: 2px;
/* ── Bewegung — nur die dokumentierten Ausnahmen ──────────────────── */
/* Dieselbe Leiter und Kurve wie im Auftritt (kern/bewegung.md,
ABGLEICH T6, Kai 01.10.2026). Bis dahin trug die App --am-dauer-kurz
und --am-dauer-lang; sie entfallen. */
--am-dauer-schnell: 120ms; /* Hover, Fokus, Farbwechsel */
--am-dauer-mittel: 200ms; /* Aufklappen, Einblenden */
--am-dauer-langsam: 320ms; /* Menü, Overlay */
--am-kurve: cubic-bezier(0.2, 0, 0, 1); /* kein Federn, kein Überschwingen */
/* ── Hanseatenblau — Flächenleiter, Farbton 249,9 ─────────────────── */
--am-blau-25: #f5f9fc;
--am-blau-50: #eff4f9;
--am-blau-100: #e3eaf3;
--am-blau-200: #cfdbe7;
--am-blau-300: #afc0d2;
--am-blau-400: #819bb7;
--am-blau-500: #587898; /* Wendepunkt — als Text in beiden Modi lesbar */
--am-blau-600: #335578;
--am-blau-700: #142e47;
--am-blau-800: #0a2238;
--am-blau-900: #051729; /* Grundfläche */
--am-blau-950: #010c1a;
/* ── Gold — Auszeichnung, Farbton 85,7 ────────────────────────────── */
--am-gold-200: #ebddbd;
--am-gold-300: #dfc896;
--am-gold-400: #d7ba7b;
--am-gold-500: #caa960; /* das eine Markengold */
--am-gold-600: #b7974e;
--am-gold-700: #a4843a;
--am-gold-800: #8c6c1f; /* Gold als Text auf Weiß, 4,91:1 — derselbe Wert
wie --am-gold-text im Auftritt (ABGLEICH T3) */
--am-gold-900: #71560f;
/* ── Zustandsfarben — Text und Rand, keine Fläche außer im Formular ─ */
--am-erfolg: #007e46;
--am-hinweis: #066bb8;
--am-achtung: #9f5100;
--am-fehler: #ad3f38;
--am-erfolg-flaeche: #e7f6eb;
--am-erfolg-rand: #b5dcc1;
--am-hinweis-flaeche: #e8f3ff;
--am-hinweis-rand: #b6d5f4;
--am-achtung-flaeche: #feeee4;
--am-achtung-rand: #eec8af;
--am-fehler-flaeche: #ffedeb;
--am-fehler-rand: #f3c4be;
/* Lösch-Knopf beim Überfahren — heller wie die Handlung, nicht dunkler
(ABGLEICH R1). Weiß darauf 4,59:1; weiter aufhellen hieße durchfallen. */
--am-fehler-hover: #b9584f;
/* ── Halbsemantische Ebene, Hellmodus (Vorgabe) ───────────────────── */
--am-seite: #ffffff;
--am-flaeche-1: var(--am-blau-25); /* Karte, Tafel */
--am-flaeche-2: var(--am-blau-50); /* Menü, Aufklapper */
--am-flaeche-3: var(--am-blau-100); /* Dialog, Popover */
--am-trennlinie: var(--am-blau-200);
--am-rand: var(--am-blau-200);
/* Der Rand, an dem man ein Bedienelement erkennt (sekundärer Knopf,
offenes Auswahlfeld) — WCAG 1.4.11 verlangt 3:1. Blau 300 kam auf
1,86:1 (ABGLEICH T9). Blau 500, der Wendepunkt: Weiß 4,61 ·
Fläche 1 4,36 · Fläche 3 3,80:1. */
--am-rand-betont-farbe: var(--am-blau-500);
--am-text-primaer: var(--am-blau-900);
--am-text-sekundaer: var(--am-blau-600);
/* Eine eigene Rolle, keine Leiterstufe (ABGLEICH T9, Kai 01.10.2026).
#4f6c8a trägt auf jeder hellen Fläche: Weiß 5,46 · Fläche 1 5,16 ·
Fläche 2 4,94 · Fläche 3 4,51:1. Fläche 2 ist jede Zeile unter dem
Zeiger — dort fiel #567595 auf 4,34:1, im Dialog auf 3,96:1.
Blau 500 bleibt, wie es ist: Es ist der Wendepunkt für Zeichen, die in
beiden Modi tragen müssen (Pfeil im Auswahlfeld, Balken). */
--am-text-gedaempft: #4f6c8a;
--am-text-deaktiviert: var(--am-blau-400);
--am-handlung-ruhend: #002f56;
--am-handlung-hover: #104472;
--am-handlung-aktiv: #002140;
--am-handlung-text: #ffffff;
/* Der eine Schatten: nur für das, was schwebt — Klappmenü, Suchtreffer,
Popover, Dialog, Assistent —, immer zusammen mit dem betonten Rand.
Karten, Tafeln, Spalten und Knöpfe tragen nie einen (ABGLEICH R6,
Kai 01.10.2026). */
--am-schatten-1: 0 8px 24px rgb(5 23 41 / 12%), 0 1px 2px rgb(5 23 41 / 8%);
/* Das schwebende Schild des Assistenten unten rechts. */
--am-schatten-schild: 0 6px 16px rgb(5 23 41 / 28%);
/* Schrift auf einer satten Fläche, die in beiden Modi dunkel bleibt
(Blau 600/900, Fehlerrot) — dort ist Weiß richtig, auch im Dunkeln.
Auf der Handlungsfläche gilt dagegen --am-handlung-text. */
--am-text-auf-farbe: #ffffff;
/* Trennlinie innerhalb eines Handlungsknopfs (Knopfmenü). */
--am-trenner-auf-handlung: rgb(255 255 255 / 0.25);
--am-gold-auszeichnung: var(--am-gold-500);
--am-fokus-ring: #002f56;
--am-deckschicht: rgb(5 23 41 / 60%);
/* Gold als Beschriftung — Sprecher-Namen, aktiver Navigationseintrag,
Aufnahme-Pille. Eigene Stufe, weil --am-gold-800 laut Paket für Text
*auf Weiß* gerechnet ist: auf der dunklen Fläche kommt es nur auf
3,3:1 und fällt damit unter die Lesbarkeitsschwelle. Der Dunkelmodus
setzt darum weiter unten den helleren Ton. */
--am-gold-beschriftung: var(--am-gold-800);
/* Fläche eines ausgewählten Eintrags (Vorlage, Sprache, Sprecher).
Im Hellmodus trägt die goldene Tönung die Auszeichnung. Im
Dunkelmodus wäre dieselbe helle Fläche ein Loch, auf dem der helle
Text verschwindet — dort hebt eine dunklere Blaustufe den Eintrag,
und die Auszeichnung übernimmt der goldene Rand. */
--am-auswahl-flaeche: var(--am-gold-200);
/* ── Kalender — sechs Töne, nach Reihenfolge vergeben (ABGLEICH RL-R5,
Kai 06.10.2026) ────────────────────────────────────────────────────
Nur aus Blau- und Goldleiter: Grün und Rot sind Zustandsfarben, eine
dritte Familie gibt es nicht. Getragen werden sie als Grafik — Punkt,
Rand eines Termins —, nie als Schrift; der Name daneben bleibt Text.
Jeder Ton hält 3:1 (WCAG 1.4.11) auf Seite, Fläche 1 und Fläche 2:
Gold 700 3,19 · Blau 500 4,17 · Gold 900 6,24 · Blau 800 14,6 ·
Gold 800 4,43 · Blau 600 7,00. Gold und Blau wechseln sich ab. */
--am-kalender-1: var(--am-gold-700);
--am-kalender-2: var(--am-blau-500);
--am-kalender-3: var(--am-gold-900);
--am-kalender-4: var(--am-blau-800);
--am-kalender-5: var(--am-gold-800);
--am-kalender-6: var(--am-blau-600);
}
/* Dunkelmodus — Gold handelt, Blau trägt die Fläche ────────────────
Die dokumentierte Ausnahme: Blau auf Blau trägt nicht. */
html.dunkel {
--am-seite: var(--am-blau-900);
--am-flaeche-1: var(--am-blau-800);
--am-flaeche-2: var(--am-blau-700);
--am-flaeche-3: var(--am-blau-700);
/* Blau 600 kam im Dunkeln auf 2,34:1 (ABGLEICH T9). Blau 400: Seite
6,29 · Fläche 3 4,83:1. */
--am-rand-betont-farbe: var(--am-blau-400);
--am-trennlinie: var(--am-blau-700);
--am-rand: var(--am-blau-700);
/* Gebrochenes Weiß wie im Auftritt: reines Weiß überstrahlt auf
Hanseatenblau beim langen Lesen. 16,08:1 auf der Seite, 12,35:1 auf
Fläche 3 (ABGLEICH T3, Kai 01.10.2026). Weiß bleibt nur auf satten
Flächen: --am-text-auf-farbe. */
--am-text-primaer: #eef2f6;
--am-text-sekundaer: var(--am-blau-200);
--am-text-gedaempft: var(--am-blau-300);
--am-text-deaktiviert: var(--am-blau-400);
--am-handlung-ruhend: var(--am-gold-500);
--am-handlung-hover: var(--am-gold-400);
--am-handlung-aktiv: var(--am-gold-600);
--am-handlung-text: var(--am-blau-900);
--am-schatten-1: 0 8px 24px rgb(0 0 0 / 40%), 0 1px 2px rgb(0 0 0 / 30%);
--am-schatten-schild: 0 6px 16px rgb(0 0 0 / 45%);
--am-erfolg: #55c483;
--am-hinweis: #60b0ff;
--am-achtung: #ed914c;
--am-fehler: #f6857a;
--am-erfolg-flaeche: #102a1a;
--am-erfolg-rand: #1f4d31;
--am-hinweis-flaeche: #122539;
--am-hinweis-rand: #234566;
--am-achtung-flaeche: #351e0d;
--am-achtung-rand: #5f371a;
--am-fehler-flaeche: #371b18;
--am-fehler-rand: #62332e;
--am-fehler-hover: #f9948a; /* Blau 900 darauf 8,30:1 */
/* Der Ring folgt der Handlung wie im Auftritt (kern/schaltflaechen.md):
Gold 500, 8,06:1 auf der Seite, 6,19:1 auf Fläche 3. Gold 900 kam
auf 2,62:1 (ABGLEICH T9). */
--am-fokus-ring: var(--am-gold-500);
/* Auf Hanseatenblau trägt das Markengold: 7,2:1 auf der Navigationsfläche,
8,1:1 auf der Grundfläche. Es ist zugleich die Handlungsfarbe im
Dunkelmodus, also bleibt die Sprache geschlossen. */
--am-gold-beschriftung: var(--am-gold-500);
--am-auswahl-flaeche: var(--am-blau-700);
/* Kalender im Dunkeln, 3:1 auf Seite, Fläche 1 und 2: Gold 500 6,19 ·
Blau 400 4,83 · Gold 300 8,49 · Blau 200 9,88 · Gold 700 3,93 ·
Blau 300 7,47. */
--am-kalender-1: var(--am-gold-500);
--am-kalender-2: var(--am-blau-400);
--am-kalender-3: var(--am-gold-300);
--am-kalender-4: var(--am-blau-200);
--am-kalender-5: var(--am-gold-700);
--am-kalender-6: var(--am-blau-300);
}
/* Telefon: Seitentitel 20 px (ABGLEICH G1, Kai 11.10.2026) ─────── */
/* Am Telefon steht jede Seite allein, wie die Liste im Posteingang: 28 px
waren dort das Lauteste am Bildschirm und auf jeder Seite anders groß
als der Posteingang mit seinem Spaltenkopf. */
@media (max-width: 40rem) {
:root {
--am-seitentitel: 1.25rem; /* 20px */
}
}
/* Dichte — Zeiger vs. Berührung ─────────────────────────────────── */
@media (pointer: coarse) {
:root {
--am-skalierung: 1; /* normal — die Ziele stehen ohnehin auf 44px */
}
}
/* Dichte-Hebel für die spätere Einstellung am <html data-dichte="…"> */
html[data-dichte="normal"] { --am-skalierung: 1; }
html[data-dichte="kompakt"] { --am-skalierung: 0.9; }
/* Courier ─────────────────────────────────────────────────────── */
/* Brücke: generische ds-* Rollen auf die AM-Token des CI legen.
Wird in Phase 2 durch die HB-Bausteine ersetzt. */
:root {
--ds-font-sans: var(--am-schrift-sans);
--ds-font-mono: var(--am-schrift-mono);
--ds-bg: var(--am-seite);
--ds-surface: var(--am-flaeche-1);
--ds-surface-raised: var(--am-flaeche-1);
--ds-surface-sunken: var(--am-flaeche-2);
--ds-surface-hover: var(--am-flaeche-2);
--ds-text: var(--am-text-primaer);
--ds-text-muted: var(--am-text-sekundaer);
--ds-text-subtle: var(--am-text-gedaempft);
--ds-text-disabled: var(--am-text-deaktiviert);
--ds-text-on-accent: var(--am-text-auf-farbe);
--ds-border: var(--am-trennlinie);
--ds-border-strong: var(--am-rand-betont-farbe);
--ds-border-focus: var(--am-fokus-ring);
--ds-radius-control: var(--am-radius-mittel);
--ds-radius-surface: var(--am-radius-mittel);
--ds-radius-overlay: var(--am-radius-gross);
--ds-radius-full: var(--am-radius-voll);
--ds-action-bg: var(--am-handlung-ruhend);
--ds-action-bg-hover: var(--am-handlung-hover);
--ds-action-bg-active: var(--am-handlung-aktiv);
--ds-action-text: var(--am-handlung-text);
--ds-action2-bg: var(--am-flaeche-1);
--ds-action2-bg-hover: var(--am-flaeche-2);
--ds-action2-text: var(--am-text-primaer);
--ds-action2-border: var(--am-rand-betont-farbe);
--ds-action2-border-hover: var(--am-text-sekundaer);
--ds-action3-text: var(--am-text-sekundaer);
--ds-action3-bg-hover: var(--am-flaeche-2);
--ds-danger-action-bg: var(--am-fehler);
--ds-danger-action-bg-hover: var(--am-fehler-hover);
--ds-danger-action-bg-active: var(--am-fehler-hover);
--ds-danger-action-text: var(--am-handlung-text);
--ds-focus-ring: var(--am-fokus-ring);
--ds-success: var(--am-erfolg);
--ds-success-surface: var(--am-erfolg-flaeche);
--ds-success-border: var(--am-erfolg-rand);
--ds-warning: var(--am-achtung);
--ds-warning-surface: var(--am-achtung-flaeche);
--ds-warning-border: var(--am-achtung-rand);
--ds-danger: var(--am-fehler);
--ds-danger-surface: var(--am-fehler-flaeche);
--ds-danger-border: var(--am-fehler-rand);
--ds-info: var(--am-hinweis);
--ds-info-surface: var(--am-hinweis-flaeche);
--ds-info-border: var(--am-hinweis-rand);
--ds-selection-bg: var(--am-auswahl-flaeche);
--ds-selection-text: var(--am-text-primaer);
--ds-link: var(--am-gold-beschriftung);
--ds-link-hover: var(--am-gold-500);
--ds-overlay: var(--am-deckschicht);
--ds-disabled-bg: var(--am-flaeche-2);
--ds-disabled-border: var(--am-trennlinie);
--ds-disabled-text: var(--am-text-deaktiviert);
--ds-shadow-1: var(--am-schatten-1);
--ds-shadow-2: var(--am-schatten-1);
--ds-shadow-3: var(--am-schatten-schild);
--ds-space-1: var(--am-raum-1);
--ds-space-2: var(--am-raum-2);
--ds-space-3: var(--am-raum-3);
--ds-space-4: var(--am-raum-4);
--ds-space-6: var(--am-raum-6);
--ds-space-8: var(--am-raum-8);
--ds-space-12: var(--am-raum-12);
--ds-space-16: var(--am-raum-16);
--ds-control-md: var(--am-ziel-zeiger);
--ds-control-lg: var(--am-ziel-beruehrung);
--ds-target-touch: var(--am-ziel-beruehrung);
}
:root {
--ds-font-sans: var(--font-geist-sans), ui-sans-serif, system-ui, sans-serif;
--ds-font-mono: var(--font-geist-mono), ui-monospace, monospace;
--app-header-text: var(--ds-action-text);
}
:root.dunkel {
--app-header-text: var(--ds-text);
}
html {
scroll-behavior: smooth;
}
body {
min-height: 100dvh;
}
.app-header {
position: sticky;
top: 0;
z-index: var(--ds-z-header);
background: var(--ds-action-bg);
color: var(--app-header-text);
border-bottom: var(--ds-border-thin) solid var(--ds-link);
}
:root.dunkel .app-header {
background: var(--ds-surface-sunken);
}
.app-header__inner {
display: flex;
align-items: center;
gap: var(--ds-space-4);
min-height: var(--ds-space-16);
flex-wrap: wrap;
padding-block: var(--ds-space-2);
}
.app-brand {
display: inline-flex;
align-items: center;
gap: var(--am-raum-2);
color: inherit;
font-size: 1rem;
font-weight: 600;
letter-spacing: -0.01em;
text-decoration: none;
}
.app-brand:hover {
color: inherit;
}
.app-brand__mark {
width: var(--ds-space-2);
height: var(--ds-space-6);
background: var(--ds-selection-bg);
}
:root.dunkel .app-brand__mark {
background: var(--ds-link);
}
.app-nav {
display: flex;
align-items: center;
gap: var(--ds-space-1);
overflow-x: auto;
}
.app-nav__link {
display: inline-flex;
align-items: center;
gap: var(--ds-space-2);
min-height: var(--ds-target-touch);
padding-inline: var(--ds-space-3);
border-radius: var(--ds-radius-control);
color: inherit;
font-size: var(--ds-text-sm);
text-decoration: none;
white-space: nowrap;
opacity: 0.82;
}
.app-nav__link:hover {
background: var(--ds-selection-bg);
color: var(--ds-selection-text);
opacity: 1;
}
.app-nav__link[aria-current="page"] {
background: var(--ds-selection-bg);
color: var(--ds-selection-text);
font-weight: var(--ds-weight-semibold);
opacity: 1;
}
.app-theme-toggle {
margin-inline-start: auto;
min-height: var(--ds-target-touch);
padding-inline: var(--ds-space-3);
border: var(--ds-border-thin) solid currentColor;
border-radius: var(--ds-radius-control);
background: transparent;
color: inherit;
font-size: var(--ds-text-sm);
cursor: pointer;
}
.app-theme-toggle:hover {
background: var(--ds-selection-bg);
color: var(--ds-selection-text);
}
.app-main {
max-width: var(--ds-container-xl);
padding-block: var(--ds-space-8) var(--ds-space-16);
}
.app-header__inner {
max-width: var(--ds-container-xl);
}
.app-pagehead {
display: flex;
flex-direction: column;
gap: var(--ds-space-2);
margin-bottom: var(--ds-space-8);
}
.app-eyebrow {
color: var(--ds-link);
font-size: var(--ds-text-xs);
font-weight: var(--ds-weight-semibold);
letter-spacing: 0.14em;
text-transform: uppercase;
}
.app-pagehead h1 {
font-size: var(--am-seitentitel);
margin: 0;
}
.app-lead {
max-width: 65ch;
color: var(--ds-text-muted);
font-size: var(--ds-text-md);
margin: 0;
}
.app-stats {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
gap: var(--ds-space-4);
margin-bottom: var(--ds-space-6);
}
.app-stat {
display: flex;
flex-direction: column;
gap: var(--ds-space-1);
}
.app-panel {
display: flex;
flex-direction: column;
gap: var(--ds-space-4);
}
.app-panel__head {
display: flex;
align-items: center;
justify-content: space-between;
gap: var(--ds-space-3);
flex-wrap: wrap;
}
.app-panel__head h2 {
font-size: var(--ds-text-xl);
margin: 0;
}
.app-grid {
display: grid;
gap: var(--ds-space-6);
align-items: start;
}
@media (min-width: 80rem) {
.app-grid--sidebar {
grid-template-columns: minmax(0, 1.9fr) minmax(18rem, 1fr);
}
}
.app-filters {
display: flex;
flex-wrap: wrap;
gap: var(--ds-space-1);
margin-bottom: var(--ds-space-4);
}
.app-filter {
display: inline-flex;
align-items: center;
min-height: var(--ds-target-touch);
padding-inline: var(--ds-space-3);
border: var(--ds-border-thin) solid var(--ds-border);
border-radius: var(--ds-radius-control);
background: var(--ds-surface);
color: var(--ds-text-muted);
font-size: var(--ds-text-sm);
text-decoration: none;
white-space: nowrap;
}
.app-filter:hover {
background: var(--ds-surface-hover);
color: var(--ds-text);
}
.app-filter[aria-current="page"] {
background: var(--ds-selection-bg);
border-color: var(--ds-action-bg);
color: var(--ds-selection-text);
font-weight: var(--ds-weight-semibold);
}
.app-mono {
font-family: var(--ds-font-mono);
font-size: var(--ds-text-xs);
font-variant-numeric: tabular-nums;
}
.app-muted {
color: var(--ds-text-muted);
}
.app-nowrap {
white-space: nowrap;
}
.app-dl {
display: grid;
grid-template-columns: minmax(7rem, 10rem) minmax(0, 1fr);
gap: var(--ds-space-2) var(--ds-space-4);
margin: 0;
}
.app-dl dt {
color: var(--ds-text-muted);
font-size: var(--ds-text-sm);
}
.app-dl dd {
margin: 0;
min-width: 0;
overflow-wrap: anywhere;
}
.app-timeline {
display: flex;
flex-direction: column;
gap: var(--ds-space-4);
margin: 0;
padding: 0;
list-style: none;
}
.app-timeline__item {
padding-inline-start: var(--ds-space-4);
border-inline-start: var(--ds-border-thin) solid var(--ds-border-strong);
}
.app-timeline__head {
display: flex;
align-items: center;
gap: var(--ds-space-2);
flex-wrap: wrap;
margin-bottom: var(--ds-space-2);
}
.app-code {
margin: 0;
padding: var(--ds-space-4);
overflow-x: auto;
background: var(--ds-surface-sunken);
border: var(--ds-border-thin) solid var(--ds-border);
border-radius: var(--ds-radius-surface);
font-family: var(--ds-font-mono);
font-size: var(--ds-text-xs);
line-height: var(--ds-leading-relaxed);
}
.app-mail-preview {
width: 100%;
height: 46rem;
border: var(--ds-border-thin) solid var(--ds-border);
border-radius: var(--ds-radius-surface);
background: var(--ds-surface-sunken);
}
@media (max-width: 47.99rem) {
.app-mail-preview {
height: 58rem;
}
}
.app-key {
display: block;
padding: var(--ds-space-3);
overflow-wrap: anywhere;
background: var(--ds-warning-surface);
border: var(--ds-border-thin) solid var(--ds-warning-border);
border-radius: var(--ds-radius-control);
color: var(--ds-text);
font-family: var(--ds-font-mono);
font-size: var(--ds-text-sm);
}
.app-actions {
display: flex;
align-items: center;
gap: var(--ds-space-2);
flex-wrap: wrap;
}
.app-main > .ds-alert {
margin-bottom: var(--ds-space-6);
}
.app-section {
margin-top: var(--ds-space-6);
}
.app-hide-sm {
display: table-cell;
}
@media (max-width: 47.99rem) {
.app-hide-sm {
display: none;
}
.app-header__inner {
gap: var(--ds-space-2);
}
.app-nav {
order: 3;
width: 100%;
padding-bottom: var(--ds-space-1);
}
.app-theme-toggle {
margin-inline-start: auto;
}
.app-pagehead h1 {
font-size: var(--ds-text-3xl);
}
.app-dl {
grid-template-columns: 1fr;
gap: var(--ds-space-1);
}
.app-dl dd {
margin-bottom: var(--ds-space-3);
}
}
.app-table-scroll {
overflow-x: auto;
}
.app-form-row {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
gap: var(--ds-space-4);
}
.app-form {
max-width: 42rem;
}
.app-table-scroll {
width: 100%;
}
.app-table-scroll .ds-table th:last-child,
.app-table-scroll .ds-table td:last-child {
width: 1%;
white-space: nowrap;
}
.app-grid > *,
.app-panel,
.app-table-scroll {
min-width: 0;
}
.app-table-scroll {
-webkit-overflow-scrolling: touch;
}
.app-mobile-list {
display: none;
}
.app-mobile-item {
display: flex;
flex-direction: column;
gap: var(--ds-space-1);
padding-block: var(--ds-space-3);
border-bottom: var(--ds-border-thin) solid var(--ds-border);
}
.app-mobile-item:last-child {
border-bottom: 0;
}
.app-mobile-item__top {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: var(--ds-space-3);
}
.app-mobile-item__top a {
font-weight: var(--ds-weight-semibold);
overflow-wrap: anywhere;
}
.app-mobile-item__meta {
display: flex;
justify-content: space-between;
gap: var(--ds-space-3);
color: var(--ds-text-muted);
font-size: var(--ds-text-sm);
}
.app-mobile-item__error {
color: var(--ds-danger);
font-size: var(--ds-text-xs);
}
@media (max-width: 47.99rem) {
.app-mobile-list {
display: flex;
flex-direction: column;
}
.app-desktop-table {
display: none;
}
}
.app-mobile-item__actions {
display: flex;
justify-content: flex-end;
margin-top: var(--ds-space-1);
}
@media (max-width: 47.99rem) {
.app-main .ds-button,
.app-main .ds-button--sm {
min-height: var(--ds-target-touch);
}
.app-main .ds-input {
min-height: var(--ds-target-touch);
}
}
.app-message-list {
display: flex;
flex-direction: column;
}
.app-message-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: var(--ds-space-3);
padding-block: var(--ds-space-3);
border-bottom: var(--ds-border-thin) solid var(--ds-border);
text-decoration: none;
}
.app-message-row:last-child {
border-bottom: 0;
}
.app-message-row:hover {
background: var(--ds-surface-hover);
}
.app-message-row__main {
display: flex;
flex-direction: column;
gap: var(--ds-space-1);
min-width: 0;
}
.app-message-row__subject {
display: block;
max-width: 100%;
overflow: hidden;
color: var(--ds-link);
font-weight: var(--ds-weight-semibold);
text-overflow: ellipsis;
white-space: nowrap;
}
.app-message-row__meta {
display: flex;
flex-wrap: wrap;
gap: var(--ds-space-2);
color: var(--ds-text-muted);
font-size: var(--ds-text-sm);
}
.app-message-row .ds-badge {
flex: none;
}
@media (max-width: 47.99rem) {
.app-message-row__subject {
white-space: normal;
}
}
/* Shell: Sidebar links, Inhalt rechts */
.app-shell {
display: grid;
grid-template-columns: var(--am-navigation-breite) minmax(0, 1fr);
min-height: 100dvh;
}
.app-sidebar {
position: sticky;
top: 0;
display: flex;
flex-direction: column;
justify-content: space-between;
height: 100dvh;
padding: var(--ds-space-4);
overflow-y: auto;
background: var(--ds-action-bg);
color: var(--app-header-text);
border-inline-end: var(--ds-border-thin) solid var(--ds-link);
}
:root.dunkel .app-sidebar {
background: var(--ds-surface-sunken);
}
.app-sidebar__top {
display: flex;
flex-direction: column;
gap: var(--ds-space-6);
}
.app-sidebar__footer {
display: flex;
flex-direction: column;
gap: var(--ds-space-3);
padding-top: var(--ds-space-4);
border-top: var(--ds-border-thin) solid var(--ds-border);
}
.app-sidebar__link {
display: flex;
align-items: center;
min-height: var(--ds-target-touch);
padding-inline: var(--ds-space-3);
border-radius: var(--ds-radius-control);
color: inherit;
font-size: var(--ds-text-sm);
text-decoration: none;
opacity: 0.82;
}
.app-sidebar__link:hover {
background: var(--ds-selection-bg);
color: var(--ds-selection-text);
opacity: 1;
}
.app-sidebar__footer .app-theme-toggle {
width: 100%;
margin-inline-start: 0;
justify-content: center;
}
.app-content {
display: flex;
flex-direction: column;
min-width: 0;
}
.app-nav--sidebar {
flex-direction: column;
gap: var(--ds-space-4);
overflow: visible;
}
.app-nav--sidebar .app-nav__group {
display: flex;
flex-direction: column;
gap: var(--ds-space-1);
}
.app-nav--sidebar .app-nav__link {
width: 100%;
justify-content: flex-start;
gap: var(--ds-space-2);
}
.app-nav__title {
margin: 0;
padding-inline: var(--ds-space-3);
color: inherit;
font-size: var(--ds-text-xs);
font-weight: var(--ds-weight-semibold);
letter-spacing: 0.08em;
text-transform: uppercase;
opacity: 0.6;
}
.app-nav__icon {
width: var(--ds-icon-md);
height: var(--ds-icon-md);
flex: none;
}
.app-nav--mobile {
display: flex;
flex-wrap: wrap;
gap: var(--ds-space-1);
}
.app-nav--mobile .app-nav__group {
display: flex;
flex-wrap: wrap;
gap: var(--ds-space-1);
}
.app-nav--mobile .app-nav__link {
justify-content: flex-start;
}
.app-mobilebar {
display: none;
}
@media (max-width: 63.99rem) {
.app-shell {
grid-template-columns: 1fr;
}
.app-sidebar {
display: none;
}
.app-mobilebar {
position: sticky;
top: 0;
z-index: var(--ds-z-header);
display: block;
padding: var(--ds-space-2) var(--ds-space-4);
background: var(--ds-action-bg);
color: var(--app-header-text);
border-bottom: var(--ds-border-thin) solid var(--ds-link);
}
:root.dunkel .app-mobilebar {
background: var(--ds-surface-sunken);
}
.app-mobilebar__row {
display: flex;
align-items: center;
justify-content: space-between;
gap: var(--ds-space-3);
min-height: var(--am-leistenhoehe);
}
.app-mobilebar .app-brand {
font-size: 1rem;
}
.app-mobilebar .app-theme-toggle {
margin-inline-start: 0;
}
.app-main {
max-width: none;
padding-inline: var(--ds-space-4);
padding-block: var(--ds-space-6) var(--ds-space-12);
}
}
/* Seitenkopf mit Aktionen */
.app-pagehead__row {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: var(--ds-space-4);
flex-wrap: wrap;
}
.app-pagehead__actions {
display: flex;
align-items: center;
gap: var(--ds-space-2);
flex-wrap: wrap;
}
/* Filterleiste */
.app-toolbar {
display: grid;
grid-template-columns: minmax(12rem, 1fr) repeat(3, minmax(8rem, auto)) auto;
align-items: end;
gap: var(--ds-space-3);
margin-bottom: var(--ds-space-4);
}
.app-toolbar__actions {
display: flex;
align-items: center;
gap: var(--ds-space-2);
}
@media (max-width: 63.99rem) {
.app-toolbar {
grid-template-columns: 1fr;
}
.app-toolbar__actions {
flex-wrap: wrap;
}
}
/* Domains / DNS */
.app-code-list {
display: flex;
flex-direction: column;
gap: var(--ds-space-3);
}
.app-code-row {
display: grid;
grid-template-columns: 6rem minmax(10rem, 1fr) minmax(10rem, 1.4fr) auto;
align-items: center;
gap: var(--ds-space-3);
padding: var(--ds-space-3);
border: var(--ds-border-thin) solid var(--ds-border);
border-radius: var(--ds-radius-control);
background: var(--ds-surface-sunken);
}
.app-code-row .mono,
.app-code-row .app-mono {
overflow-wrap: anywhere;
}
@media (max-width: 63.99rem) {
.app-code-row {
grid-template-columns: 1fr;
}
}
/* Leerer Zustand */
.app-empty {
display: flex;
flex-direction: column;
align-items: center;
gap: var(--ds-space-3);
padding: var(--ds-space-8) var(--ds-space-4);
text-align: center;
}
.app-empty__icon {
display: inline-flex;
align-items: center;
justify-content: center;
width: var(--ds-space-16);
height: var(--ds-space-16);
border-radius: var(--ds-radius-surface);
background: var(--ds-selection-bg);
color: var(--ds-selection-text);
}
.app-empty__icon svg {
width: var(--ds-icon-xl);
height: var(--ds-icon-xl);
}
.app-empty__title {
margin: 0;
font-size: var(--ds-text-lg);
font-weight: var(--ds-weight-semibold);
}
.app-empty__text {
max-width: 42ch;
margin: 0;
color: var(--ds-text-muted);
}
/* Tabellen-Subject kürzen */
.app-ellipsis {
display: block;
max-width: 100%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.app-main {
width: 100%;
margin-inline: auto;
padding-inline: var(--ds-space-6);
}
.app-mobilebar__actions {
display: flex;
align-items: center;
gap: var(--ds-space-2);
}
.app-mobilemenu {
position: static;
}
.app-mobilemenu__toggle {
display: inline-flex;
align-items: center;
gap: var(--ds-space-2);
min-height: var(--ds-target-touch);
padding-inline: var(--ds-space-3);
border: var(--ds-border-thin) solid currentColor;
border-radius: var(--ds-radius-control);
background: transparent;
color: inherit;
font-size: var(--ds-text-sm);
cursor: pointer;
}
.app-mobilemenu__toggle:hover {
background: var(--ds-selection-bg);
color: var(--ds-selection-text);
}
.app-mobilemenu__panel {
position: absolute;
top: 100%;
right: 0;
left: 0;
z-index: var(--ds-z-menu);
padding: var(--ds-space-3) var(--ds-space-4) var(--ds-space-4);
background: var(--ds-action-bg);
color: var(--app-header-text);
border-bottom: var(--ds-border-thin) solid var(--ds-link);
box-shadow: var(--ds-shadow-2);
}
:root.dunkel .app-mobilemenu__panel {
background: var(--ds-surface-sunken);
}
.app-nav--mobile {
display: grid;
grid-template-columns: 1fr 1fr;
gap: var(--ds-space-1);
}
.app-nav--mobile .app-nav__group {
display: contents;
}
.app-nav--mobile .app-nav__link {
width: 100%;
}
.app-chart {
padding: var(--ds-space-3);
background: var(--ds-surface-sunken);
border: var(--ds-border-thin) solid var(--ds-border);
border-radius: var(--ds-radius-surface);
}
.app-chart svg {
display: block;
width: 100%;
height: auto;
}
.app-chart__grid {
stroke: var(--ds-border);
stroke-dasharray: 4 4;
}
.app-chart__line {
fill: none;
stroke: var(--ds-action-bg);
stroke-width: 2;
stroke-linecap: round;
stroke-linejoin: round;
}
.app-chart__dot {
fill: var(--ds-link);
}
.app-chart__axis {
display: flex;
justify-content: space-between;
margin-top: var(--ds-space-2);
color: var(--ds-text-muted);
font-size: var(--ds-text-xs);
}
.app-toolbar--compact {
grid-template-columns: minmax(12rem, 1fr) auto;
}
.app-toolbar--metrics {
grid-template-columns: repeat(2, minmax(10rem, 14rem)) auto;
}
@media (max-width: 63.99rem) {
.app-toolbar--compact,
.app-toolbar--metrics {
grid-template-columns: 1fr;
}
}
.app-domain-list {
display: flex;
flex-direction: column;
}
.app-domain-row {
display: flex;
align-items: center;
gap: var(--ds-space-3);
padding-block: var(--ds-space-3);
border-bottom: var(--ds-border-thin) solid var(--ds-border);
color: var(--ds-text);
text-decoration: none;
}
.app-domain-row:last-child {
border-bottom: 0;
}
.app-domain-row:hover {
background: var(--ds-surface-hover);
}
.app-domain-row__icon {
display: inline-flex;
align-items: center;
justify-content: center;
width: var(--ds-space-12);
height: var(--ds-space-12);
flex: none;
border-radius: var(--ds-radius-surface);
background: var(--ds-selection-bg);
color: var(--ds-selection-text);
}
.app-domain-row__icon svg {
width: var(--ds-icon-md);
height: var(--ds-icon-md);
}
.app-domain-row__main {
display: flex;
flex-direction: column;
gap: var(--ds-space-1);
min-width: 0;
}
.app-domain-row__name {
display: flex;
align-items: center;
gap: var(--ds-space-2);
flex-wrap: wrap;
color: var(--ds-link);
font-size: var(--ds-text-md);
font-weight: var(--ds-weight-semibold);
}
.app-domain-row__meta {
display: flex;
flex-wrap: wrap;
gap: var(--ds-space-2);
color: var(--ds-text-muted);
font-size: var(--ds-text-sm);
}
.app-domain-row__chevron {
width: var(--ds-icon-md);
height: var(--ds-icon-md);
margin-inline-start: auto;
flex: none;
color: var(--ds-text-subtle);
}
@media (max-width: 47.99rem) {
.app-domain-row {
align-items: flex-start;
}
.app-domain-row__chevron {
margin-top: var(--ds-space-2);
}
}
.app-domain-row__side {
display: flex;
align-items: center;
gap: var(--ds-space-2);
margin-inline-start: auto;
flex: none;
}
.app-steps {
display: flex;
flex-direction: column;
gap: var(--ds-space-2);
margin: 0;
padding-inline-start: var(--ds-space-4);
color: var(--ds-text-muted);
font-size: var(--ds-text-sm);
}
.app-domain-row__side .app-domain-row__chevron {
margin-inline-start: 0;
}
/* Sidebar-Feinschliff */
.app-sidebar__top {
gap: var(--ds-space-4);
}
.app-sidebar .app-brand {
font-size: 1rem;
}
.app-nav--sidebar {
gap: var(--ds-space-3);
}
.app-nav__title {
font-size: var(--ds-text-2xs);
letter-spacing: 0.1em;
opacity: 0.52;
}
.app-nav__group + .app-nav__group {
padding-top: var(--ds-space-3);
border-top: var(--ds-border-thin) solid color-mix(in srgb, currentColor 14%, transparent);
}
.app-nav__link:hover {
background: var(--am-flaeche-2);
color: var(--am-text-primaer);
}
.app-sidebar__status {
display: flex;
align-items: center;
gap: var(--ds-space-2);
padding-inline: var(--ds-space-3);
color: inherit;
font-size: var(--ds-text-xs);
opacity: 0.7;
}
.app-sidebar__dot {
width: var(--ds-space-2);
height: var(--ds-space-2);
border-radius: var(--ds-radius-full);
background: var(--ds-success);
}
/* Aktiver Eintrag: ruhiger als die volle Goldfläche */
.app-nav--sidebar .app-nav__link {
position: relative;
}
.app-nav--sidebar .app-nav__link[aria-current="page"] {
background: var(--am-flaeche-2);
color: var(--am-handlung-ruhend);
font-weight: var(--ds-weight-semibold);
}
.app-nav--sidebar .app-nav__link[aria-current="page"]::before {
display: none;
}
/* Link-Zustände in der Sidebar: nie von globalem a:hover/a:visited überschreiben lassen */
a.app-nav__link,
a.app-nav__link:visited {
color: inherit;
}
a.app-nav__link:hover {
color: inherit;
}
.app-nav--sidebar a.app-nav__link[aria-current="page"],
.app-nav--sidebar a.app-nav__link[aria-current="page"]:hover {
color: var(--am-handlung-ruhend);
}
.app-nav--mobile a.app-nav__link[aria-current="page"],
.app-nav--mobile a.app-nav__link[aria-current="page"]:hover {
color: var(--ds-selection-text);
}
/* Preise */
.app-toolbar--pricing {
grid-template-columns: minmax(12rem, 20rem) auto;
}
@media (max-width: 63.99rem) {
.app-toolbar--pricing {
grid-template-columns: 1fr;
}
}
.app-plan-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
gap: var(--ds-space-4);
}
.app-plan {
display: flex;
flex-direction: column;
gap: var(--ds-space-2);
}
.app-plan__head {
display: flex;
align-items: center;
justify-content: space-between;
gap: var(--ds-space-2);
}
.app-plan__head h2 {
margin: 0;
font-size: var(--ds-text-lg);
}
.app-plan__cost {
margin-top: var(--ds-space-2);
}
.app-plan__price {
color: var(--ds-text-muted);
font-size: var(--ds-text-sm);
}
.app-plan__note {
margin: 0;
color: var(--ds-text-muted);
font-size: var(--ds-text-sm);
}
.app-plan__conditions {
margin: 0;
padding-inline-start: var(--ds-space-4);
color: var(--ds-text-subtle);
font-size: var(--ds-text-xs);
}
/* Preisrechner: Eingabe und Button auf einer Linie */
.app-calc {
display: flex;
align-items: flex-end;
justify-content: space-between;
gap: var(--ds-space-6);
flex-wrap: wrap;
}
.app-calc__form {
display: flex;
align-items: flex-end;
gap: var(--ds-space-3);
flex-wrap: wrap;
}
.app-calc__result {
display: flex;
flex-direction: column;
align-items: flex-end;
gap: var(--ds-space-1);
text-align: right;
}
.app-calc__value {
font-size: var(--ds-text-3xl);
}
@media (max-width: 63.99rem) {
.app-calc {
align-items: stretch;
}
.app-calc__result {
align-items: flex-start;
text-align: left;
}
}
/* Zahlenspalten: Kopf und Werte rechtsbündig */
.ds-table th.ds-table__num {
text-align: right;
}
/* Übergang: dunkle Sidebar behält den goldenen aktiven Eintrag,
bis Phase 2 die helle HB-NAVIGATION übernimmt. */
.app-nav--sidebar .app-nav__link[aria-current="page"] {
background: transparent;
}
.app-nav--sidebar .app-nav__link[aria-current="page"]::before {
content: "";
display: block;
position: absolute;
top: var(--ds-space-2);
bottom: var(--ds-space-2);
left: 0;
width: var(--ds-space-1);
border-radius: var(--ds-radius-full);
background: var(--am-gold-500);
}
.app-nav--sidebar a.app-nav__link[aria-current="page"],
.app-nav--sidebar a.app-nav__link[aria-current="page"]:hover {
color: var(--am-gold-500);
}
/* Phase 2: helle Navigation nach HB-NAVIGATION ─────────────────── */
:root,
:root.dunkel {
--app-header-text: var(--am-text-primaer);
}
.app-sidebar,
.dunkel .app-sidebar {
background: var(--am-flaeche-1);
color: var(--am-text-primaer);
border-inline-end: 1px solid var(--am-trennlinie);
}
.app-sidebar .app-brand,
.dunkel .app-sidebar .app-brand {
color: var(--am-text-primaer);
}
.app-brand__mark,
.dunkel .app-brand__mark {
background: var(--am-gold-500);
}
.app-nav__title {
color: var(--am-text-gedaempft);
opacity: 1;
}
.app-nav--sidebar .app-nav__link {
color: var(--am-text-sekundaer);
}
.app-nav--sidebar .app-nav__link:hover {
background: var(--am-flaeche-2);
color: var(--am-text-primaer);
}
.app-nav--sidebar a.app-nav__link[aria-current="page"],
.app-nav--sidebar a.app-nav__link[aria-current="page"]:hover {
background: var(--am-flaeche-2);
color: var(--am-handlung-ruhend);
font-weight: 600;
}
.app-nav--sidebar .app-nav__link[aria-current="page"]::before {
display: none;
}
.app-nav__group + .app-nav__group {
border-top-color: var(--am-trennlinie);
}
.app-sidebar__footer {
border-top-color: var(--am-trennlinie);
}
.app-sidebar__status {
color: var(--am-text-sekundaer);
opacity: 1;
}
.app-sidebar__status .app-sidebar__dot {
background: var(--am-erfolg);
}
.app-sidebar .app-theme-toggle {
color: var(--am-text-primaer);
border-color: var(--am-rand-betont-farbe);
}
.app-sidebar .app-theme-toggle:hover {
background: var(--am-flaeche-2);
color: var(--am-text-primaer);
}
.app-mobilebar,
.dunkel .app-mobilebar,
.app-mobilemenu__panel,
.dunkel .app-mobilemenu__panel {
background: var(--am-flaeche-1);
color: var(--am-text-primaer);
border-color: var(--am-trennlinie);
}
.app-nav--mobile a.app-nav__link[aria-current="page"],
.app-nav--mobile a.app-nav__link[aria-current="page"]:hover {
background: var(--am-flaeche-2);
color: var(--am-handlung-ruhend);
}
/* Sticky Seitenkopf nach HB-SEITENKOPF */
.app-pagehead {
position: sticky;
top: 0;
z-index: var(--am-ebene-seitenkopf);
margin-bottom: var(--am-raum-6);
padding-block: var(--am-raum-4);
background: var(--am-seite);
border-bottom: 1px solid var(--am-trennlinie);
}
@media (max-width: 63.99rem) {
.app-pagehead {
top: var(--am-leistenhoehe);
padding-block: var(--am-raum-3);
}
}
/* ── Formularfelder [AM-FELD] ───────────────────────────────────────────────── */
@layer components {
.feld { margin-bottom: var(--am-raum-6); }
.feld label {
display: block;
font-size: 0.875rem;
font-weight: 600;
margin-bottom: var(--am-raum-2);
color: var(--am-text-primaer);
}
.feld label .optional {
font-weight: 400;
color: var(--am-text-gedaempft);
}
.feld input:not([type="checkbox"]),
.feld select,
.feld textarea {
width: 100%;
min-height: var(--am-ziel-zeiger);
padding: 0 var(--am-raum-4);
border: var(--am-rand-ruhend) solid var(--am-rand);
border-radius: var(--am-radius-mittel);
background: var(--am-seite);
color: var(--am-text-primaer);
font-family: var(--am-schrift-sans);
font-size: 0.9375rem;
}
.feld textarea {
padding: var(--am-raum-3) var(--am-raum-4);
line-height: 1.6;
resize: vertical;
}
.feld input:focus-visible,
.feld select:focus-visible,
.feld textarea:focus-visible {
outline: 2px solid var(--am-fokus-ring);
outline-offset: 2px;
}
.feld.fehler input,
.feld.fehler select,
.feld.fehler textarea {
border-color: var(--am-fehler-rand);
border-width: var(--am-rand-betont);
}
.feld-fehlertext {
color: var(--am-fehler);
font-size: 0.8125rem;
margin-top: var(--am-raum-2);
display: flex;
align-items: center;
gap: var(--am-raum-2);
}
.feld-hinweis {
color: var(--am-text-gedaempft);
font-size: 0.8125rem;
margin-top: var(--am-raum-2);
}
@media (pointer: coarse) {
.feld input:not([type="checkbox"]),
.feld select,
.feld textarea { min-height: var(--am-ziel-beruehrung); }
}
}
/* ── Eingabefeld, aus dem Paket übernommen [AM-FELD] ──────────────────────────── */
@layer components {
.input {
padding: 0 var(--am-raum-4);
height: var(--am-ziel-zeiger);
border: 1px solid var(--am-rand);
border-radius: var(--am-radius-mittel);
background: var(--am-seite);
color: var(--am-text-primaer);
font-family: var(--am-schrift-sans);
font-size: 0.9375rem;
width: 100%;
}
.input:focus-visible {
outline: 2px solid var(--am-fokus-ring);
outline-offset: 2px;
}
.input::placeholder { color: var(--am-text-deaktiviert); }
/* Der native Pfeil sitzt je nach Browser hart am Rand und ignoriert das
Padding. Deshalb abschalten und ein eigenes Zeichen setzen. */
select {
appearance: none;
-webkit-appearance: none;
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23587898' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right var(--am-raum-4) center;
background-size: 1rem 1rem;
padding-right: calc(var(--am-raum-4) * 2 + 1rem);
}
html.dunkel select {
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23afc0d2' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}
select[multiple],
select[size]:not([size="1"]) {
background-image: none;
padding-right: var(--am-raum-4);
}
}
/* ── Auswahlfelder haben ein Zeichen [AM-FELD] ──────────────────────────────────
Irgendwo in der Grundlage steht `appearance: none` auf Formularfeldern.
Damit verlor **jedes** Auswahlfeld der Anwendung sein Zeichen und sah
aus wie ein Textfeld: Man sah der Rolle in der Mitgliederliste nicht
an, dass man sie ändern kann, und dem Stufenfeld im Firmendialog nicht,
dass es eine Liste öffnet.
Die Farbe steht fest im Bild und folgt keinem Token — ein Data-URI
kennt keine CSS-Variablen. `--am-blau-500` ist genau dafür gewählt:
„Wendepunkt — als Text in beiden Modi lesbar". Ein Zeichen je
Darstellung wäre zwei Dateien für einen Haken.
Ganz am Ende der Datei, weil `.feld select` spezifischer ist als
`select`: Das Polster muss aus einer Regel kommen, die diese Auswahl
ebenfalls trifft, und die spätere gewinnt. */
select,
.feld select,
.werkzeugleiste select,
.mitglied-rolle {
/* `background-image`, nicht die Kurzform: `.feld select` setzt
`background: var(--am-seite)`, und eine Kurzform löscht das Bild
wieder. Beim ersten Versuch stand das Zeichen in einer eigenen
`select`-Regel und war deshalb unsichtbar. */
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%23587898' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right var(--am-raum-3) center;
background-size: 12px 8px;
padding-right: calc(var(--am-raum-3) + 1.25rem);
}
/* ── Karte [AM-KARTE] ────────────────────────────────────────────────────────── */
@layer components {
.karte {
background: var(--am-flaeche-1);
border: 1px solid var(--am-rand);
border-radius: var(--am-radius-mittel);
padding: var(--am-raum-6);
}
/* Am Handy reicht eine Karte im Seitenfluss von Kante zu Kante (Kai,
10.10.2026, „die gesamte Bildschirmbreite nutzen“): Strich oben und
unten, links und rechts keiner, keine Rundung, der Inhalt raum-4 vom
Bildschirmrand. Die Seite hat dort raum-4 Saum, den die Karte
überspannt. Nur mit `.seitenkarte` — ein Dialog bleibt eine Karte. */
@media (max-width: 40rem) {
.karte.seitenkarte {
margin-inline: calc(-1 * var(--am-raum-4));
border-inline: 0;
border-radius: 0;
padding: var(--am-raum-4);
}
}
}
/* ── Buttons [AM-KNOPF] ──────────────────────────────────────────────────────
Primär genau eine Handlung je Ansicht. Sekundär und still beliebig
oft. Höhe ist die Zielgröße, nicht Padding-Zufall. */
@layer components {
.btn-reihe {
display: flex;
flex-wrap: wrap;
gap: var(--am-raum-4);
align-items: center;
}
.btn {
font-family: var(--am-schrift-sans);
font-weight: 600;
font-size: 0.9375rem;
border-radius: var(--am-radius-mittel);
border: var(--am-rand-ruhend) solid transparent;
cursor: pointer;
display: inline-flex;
align-items: center;
justify-content: center;
gap: var(--am-raum-2);
transition:
background var(--am-dauer-schnell) var(--am-kurve),
color var(--am-dauer-schnell) var(--am-kurve),
border-color var(--am-dauer-schnell) var(--am-kurve);
height: var(--am-ziel-zeiger);
padding: 0 var(--am-raum-6);
}
.btn:focus-visible {
outline: 2px solid var(--am-fokus-ring);
outline-offset: 2px;
}
/* **Eine Größe.** Vorher gab es drei: 40 px, 32 px und ein nie
benutztes 44 px. Die 32 px unterschritten die Zielgröße, die das
Designsystem selbst mit „40 px Zeiger, ohne Ausnahme" vorschreibt —
und zwei Höhen nebeneinander lesen sich als Versehen, nicht als
Ordnung. `btn-klein` behält seinen Namen (er steht an gut hundert
Stellen) und nur noch das engere Seitenpolster, damit dichte
Werkzeugleisten nicht umbrechen. */
.btn-klein {
height: var(--am-ziel-zeiger);
padding: 0 var(--am-raum-4);
font-size: 0.875rem;
}
/* `.btn-gross` entfernt: nirgends verwendet, und eine dritte Höhe
wäre genau das Gegenteil dessen, was hier gewollt ist. */
/* Ein Knopf, der nur ein Zeichen trägt, ist quadratisch. Dieselbe Höhe
wie jeder andere — aber das Seitenpolster eines Textknopfes macht aus
einem 14-px-Zeichen sonst 49 px Breite, und vier davon nebeneinander
schieben eine Tabelle aus ihrem Block. */
.btn-symbol {
width: var(--am-ziel-zeiger);
padding: 0;
flex: none;
}
.btn-primaer {
background: var(--am-handlung-ruhend);
color: var(--am-handlung-text);
}
.btn-primaer:hover { background: var(--am-handlung-hover); }
.btn-primaer:active { background: var(--am-handlung-aktiv); }
/* Schrift in Textfarbe, Rand betont (ABGLEICH R1): Im Dunkeln wäre die
Handlungsfarbe Gold, und Gold für sekundär ist gesperrt. */
.btn-sekundaer {
background: transparent;
color: var(--am-text-primaer);
border-color: var(--am-rand-betont-farbe);
}
.btn-sekundaer:hover { background: var(--am-flaeche-2); }
.btn-still {
background: transparent;
color: var(--am-text-sekundaer);
}
.btn-still:hover {
background: var(--am-flaeche-1);
color: var(--am-text-primaer);
}
/* Gefahr: nur für das, was etwas wegnimmt, und immer mit Objekt im Wort
(„Aufnahme löschen“, nicht „Löschen“). Nie still, nie zweimal auf einer
Ansicht (kern/schaltflaechen.md, ABGLEICH R1). Schrift wie auf der
Handlung: hell Weiß (5,92:1), dunkel Blau 900 (7,37:1) — Weiß auf dem
hellen Rot des Dunkelmodus kam auf 2,45:1 (ABGLEICH T9). Beim
Überfahren heller wie jede Handlung, nicht dunkler. Bis ci-26.10.3
stand die Regel nur in Rocket (RK-SEGMENTLISTE); seit Insilo gehört sie
allen (ABGLEICH IN-R1). */
.btn-gefahr {
background: var(--am-fehler);
color: var(--am-handlung-text);
border-color: var(--am-fehler);
}
.btn-gefahr:hover {
background: var(--am-fehler-hover);
border-color: var(--am-fehler-hover);
}
.btn-gesperrt,
.btn:disabled {
background: var(--am-flaeche-2);
color: var(--am-text-deaktiviert);
cursor: not-allowed;
border-color: transparent;
}
.btn:disabled:hover { background: var(--am-flaeche-2); }
/* Berührung: 44px ohne Ausnahme — auch die kleinen Varianten. */
@media (pointer: coarse) {
.btn,
.btn-klein {
height: var(--am-ziel-beruehrung);
}
.btn-reihe { gap: var(--am-ziel-abstand-beruehrung); }
}
}
/* ── Leerzustand [AM-LEER] ──────────────────────────────────────────────────── */
@layer components {
.leerzustand {
text-align: center;
padding: var(--am-raum-16) var(--am-raum-8);
color: var(--am-text-sekundaer);
}
.leerzustand svg {
color: var(--am-blau-300);
margin-bottom: var(--am-raum-4);
}
.leerzustand h4 {
color: var(--am-text-primaer);
font-size: 1rem;
margin-bottom: var(--am-raum-2);
}
.leerzustand p {
max-width: 320px;
margin: 0 auto var(--am-raum-6);
}
}
/* ── Kennzahlen auf der Startseite [HB-KENNZAHL] ────────────────────────────────── */
@layer components {
.kennzahlen {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
gap: var(--am-raum-4);
padding: var(--am-raum-6) var(--am-raum-8) 0;
}
.kennzahl {
padding: var(--am-raum-4);
border: 1px solid var(--am-rand);
border-radius: var(--am-radius-gross);
background: var(--am-flaeche-1);
}
.kennzahl dt {
font-size: 0.75rem;
color: var(--am-text-gedaempft);
margin-bottom: var(--am-raum-2);
}
.kennzahl dd {
margin: 0;
font-family: var(--am-schrift-mono);
font-variant-numeric: tabular-nums;
font-size: 1.5rem;
font-weight: 600;
color: var(--am-text-primaer);
line-height: 1.1;
}
/* Als dd, damit die Liste gültig bleibt — deshalb hebt sie die
Zahlengestalt von `.kennzahl dd` wieder auf. */
.kennzahl .kennzahl-fuss {
font-family: inherit;
font-weight: 400;
line-height: inherit;
font-size: 0.75rem;
color: var(--am-text-gedaempft);
margin-top: var(--am-raum-1);
}
/* Am Handy zwei je Zeile statt einer: sieben Kacheln untereinander sind
mehr als ein Bildschirm (Rocket, Prognose, #115). Die Zahl eine Stufe
kleiner, damit „1.234.567 €“ in eine halbe Breite passt. */
@media (max-width: 40rem) {
.kennzahlen {
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: var(--am-raum-3);
padding-inline: var(--am-raum-4);
}
.kennzahl { padding: var(--am-raum-3); }
.kennzahl dd { font-size: 1.25rem; overflow-wrap: anywhere; }
}
}
/* ── Balken [HB-KENNZAHL] ───────────────────────────────────────────────────────
Sechs Balken rechtfertigen keine Diagrammbibliothek. Eine Breite in
Prozent sagt dasselbe und kostet nichts. */
@layer components {
.balken {
height: 8px;
border-radius: var(--am-radius-voll);
background: var(--am-flaeche-2);
overflow: hidden;
}
.balken-fuell {
height: 100%;
border-radius: var(--am-radius-voll);
background: var(--am-blau-500);
}
/* Verlustgründe tragen die Auszeichnungsfarbe, nicht Rot: Sie sind kein
Fehler, sondern das Wichtigste auf der Seite. */
.balken-fuell[data-betont="true"] {
background: var(--am-gold-500);
}
}
/* ── Nur für Vorleser [HB-TABELLE] ─────────────────────────────────────────────── */
@layer components {
.nur-vorleser {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}
/* Der Titel eines Leerzustands ist keine Überschrift: Als h4 übersprang
er auf den meisten Seiten zwei Ebenen. */
/* Das Zeichen über dem Satz: Die Grundregeln machen jedes SVG zum Block,
und ein Block folgt text-align nicht — bis 26.9.7 stand es links,
der Text mittig darunter (Kai, 1.10.2026). */
.leerzustand > svg { display: block; margin-inline: auto; }
.leerzustand .leerzustand-titel {
color: var(--am-text-primaer);
font-size: 1rem;
font-weight: 500;
margin: 0 auto var(--am-raum-2);
}
}
/* ── Werkzeugleiste über der Liste [HB-TABELLE] ────────────────────────────────── */
@layer components {
.werkzeugleiste {
display: flex;
align-items: center;
gap: var(--am-raum-3);
flex-wrap: wrap;
padding: var(--am-raum-3) var(--am-raum-8);
border-bottom: 1px solid var(--am-trennlinie);
background: var(--am-seite);
}
.suchfeld {
position: relative;
flex: 1 1 240px;
max-width: 360px;
}
.suchfeld svg {
position: absolute;
left: var(--am-raum-3);
top: 50%;
transform: translateY(-50%);
color: var(--am-text-gedaempft);
pointer-events: none;
}
.suchfeld input {
width: 100%;
height: var(--am-ziel-zeiger);
padding: 0 var(--am-raum-4) 0 calc(var(--am-raum-4) + 1.25rem);
border: 1px solid var(--am-rand);
border-radius: var(--am-radius-mittel);
background: var(--am-seite);
color: var(--am-text-primaer);
font-family: var(--am-schrift-sans);
font-size: 0.9375rem;
}
.suchfeld input:focus-visible {
outline: 2px solid var(--am-fokus-ring);
outline-offset: 2px;
}
.werkzeugleiste select {
height: var(--am-ziel-zeiger);
padding: 0 var(--am-raum-4);
border: 1px solid var(--am-rand);
border-radius: var(--am-radius-mittel);
background-color: var(--am-seite);
color: var(--am-text-primaer);
font-family: var(--am-schrift-sans);
font-size: 0.875rem;
}
}
/* ── Datentabelle [HB-TABELLE] ─────────────────────────────────────────────────
Dicht, ohne Zebrastreifen: Die Trennlinie reicht, und Streifen
kämpfen bei jeder Auswahlfarbe gegen die Auszeichnung. */
/* Oben dieselbe Luft wie beim Datensatz — sonst klebt die erste Karte
an der Trennlinie des Kopfes (Eingang, 5.9.2026). */
@layer components {
.liste {
padding: var(--am-raum-6) var(--am-raum-8) var(--am-raum-16);
}
.tabelle {
width: 100%;
border-collapse: collapse;
font-size: 0.875rem;
}
.tabelle thead th {
position: sticky;
top: 0;
z-index: var(--am-ebene-tabellenkopf);
text-align: left;
font-weight: 600;
font-size: 0.75rem;
letter-spacing: 0.04em;
text-transform: uppercase;
color: var(--am-text-gedaempft);
background: var(--am-seite);
padding: var(--am-raum-3) var(--am-raum-3);
border-bottom: 1px solid var(--am-rand);
white-space: nowrap;
}
.tabelle tbody tr {
border-bottom: 1px solid var(--am-trennlinie);
transition: background var(--am-dauer-schnell) var(--am-kurve);
}
/* Nur eine Zeile, die irgendwohin führt, zeigt die Hand. Mit der
Tastatur führt der Link in der ersten Spalte (.zeilen-ziel) dorthin —
vorher ließ sich keine Liste ohne Maus öffnen. */
.tabelle tbody tr[data-ziel] { cursor: pointer; }
.zeilen-ziel { color: inherit; text-decoration: none; }
.zeilen-ziel:hover { text-decoration: underline; text-underline-offset: 2px; }
.zeilen-ziel:focus-visible {
outline: 2px solid var(--am-fokus-ring);
outline-offset: 2px;
border-radius: var(--am-radius-klein);
}
/* Die zweite, leisere Zeile in einer Zelle (Beschreibung, Betreff). */
.zeile-unter { font-size: 0.8125rem; color: var(--am-text-gedaempft); font-weight: 400; }
.tabelle tbody tr:hover { background: var(--am-flaeche-1); }
.tabelle td {
padding: var(--am-raum-3);
vertical-align: middle;
color: var(--am-text-sekundaer);
}
.tabelle td.haupt {
color: var(--am-text-primaer);
font-weight: 500;
}
.tabelle td.zahl {
font-family: var(--am-schrift-mono);
font-variant-numeric: tabular-nums;
text-align: right;
white-space: nowrap;
}
/* Auf schmalen Geräten wird die Tabelle zur Rollfläche statt die Seite
nach rechts zu schieben — der erste Befund jeder Prüfseite. */
.rollbar {
overflow-x: auto;
-webkit-overflow-scrolling: touch;
}
/* Mit der Tastatur erreichbar (tabIndex), damit sich auch ohne Maus
seitlich rollen lässt — dann soll man sehen, wo man steht. */
.rollbar:focus-visible { outline: 2px solid var(--am-fokus-ring); outline-offset: 2px; }
}
/* ── Seitenkopf [HB-SEITENKOPF] ───────────────────────────────────────────────────
Bleibt beim Rollen stehen. In einer Liste mit 200 Zeilen ist die
Frage „wo bin ich und was kann ich hier tun" sonst nach dem dritten
Bildschirm unbeantwortet. */
@layer components {
.seitenkopf {
position: sticky;
top: 0;
z-index: var(--am-ebene-seitenkopf);
display: flex;
align-items: center;
justify-content: space-between;
gap: var(--am-raum-4);
flex-wrap: wrap;
padding: var(--am-raum-4) var(--am-raum-8);
background: var(--am-seite);
border-bottom: 1px solid var(--am-trennlinie);
}
/* Titel und Anzahl in einer Zeile. Untereinander wuchs der Kopf mit
seinem Inhalt und riss die Linie von der linken Spalte weg. */
.seitenkopf-zeile {
display: flex;
align-items: baseline;
gap: var(--am-raum-3);
flex-wrap: wrap;
}
/* Seitentitel in jeder AImighty-Anwendung gleich groß (ABGLEICH G1). */
.seitenkopf h1 {
font-size: var(--am-seitentitel);
font-weight: 600;
line-height: 1.2;
margin: 0;
}
/* Die Unterzeile bricht nicht: lieber gekürzt mit „…“ als drei Zeilen
Metatext am Handy (CI #22, werkzeug/zeilen.js). Der Titelblock darf
dafür schmaler werden als sein Inhalt. */
.seitenkopf > :first-child {
min-width: 0;
max-width: 100%;
}
.seitenkopf-zahl {
font-family: var(--am-schrift-mono);
font-size: 0.8125rem;
color: var(--am-text-gedaempft);
min-width: 0;
max-width: 100%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.seitenkopf-pfad {
font-size: 0.8125rem;
color: var(--am-text-gedaempft);
margin-bottom: var(--am-raum-1);
}
.seitenkopf-pfad a:hover {
color: var(--am-text-primaer);
text-decoration: underline;
text-underline-offset: 2px;
}
/* Hinweise am Handy als Zeichen im Kopf (CI „Handy-Kopf“): „ⓘ 2“ neben
dem Plus; getippt hängen sie als Fläche unter dem Kopf. Ohne Hinweis
kein Zeichen. Am Desktop stehen sie wie bisher in `.seitenhinweise`. */
.seitenkopf-hinweise:not(:has(.hinweis)) { display: none; }
.seitenkopf-hinweise > summary {
list-style: none; display: inline-flex; align-items: center; gap: var(--am-raum-1);
height: 2rem; padding: 0 var(--am-raum-3); border-radius: var(--am-radius-voll);
border: 1px solid var(--am-rand); background: var(--am-flaeche-1);
font-size: 0.8125rem; font-weight: 600; color: var(--am-text-sekundaer); cursor: pointer;
}
.seitenkopf-hinweise > summary::-webkit-details-marker { display: none; }
.seitenkopf-hinweise > summary:focus-visible { outline: 2px solid var(--am-fokus-ring); outline-offset: 2px; }
.seitenkopf-hinweise[open] > summary { background: var(--am-flaeche-2); }
.seitenkopf-hinweise:not([open]) .seitenkopf-hinweise-inhalt { display: none; }
.seitenkopf-hinweise-inhalt {
position: absolute; left: 0; right: 0; top: 100%; z-index: 1;
display: grid; gap: var(--am-raum-3);
padding: var(--am-raum-3) var(--am-raum-4) var(--am-raum-4);
background: var(--am-seite); border-bottom: 1px solid var(--am-trennlinie);
max-height: 70dvh; overflow-y: auto;
}
@media (max-width: 40rem) {
.seitenkopf { padding: var(--am-raum-3) var(--am-raum-4); gap: var(--am-raum-2); }
/* Knöpfe enger, damit Titel, Hinweis-Zeichen und Plus in eine Zeile
passen; reicht der Platz nicht (lange Wort-Knöpfe), bricht der Kopf
um, statt herauszuragen. */
.seitenkopf > .btn-reihe { gap: var(--am-raum-2); }
}
}
/* ── Marke in der Kopfecke [HB-MARKE] ────────────────────────────────────────── */
@layer components {
.marke {
display: inline-flex;
align-items: center;
gap: var(--am-raum-2);
font-weight: 600;
font-size: 1rem;
letter-spacing: -0.01em;
color: var(--am-text-primaer);
}
/* Die Wortmarke, nicht nachgebaut: zwei gelieferte Dateien, von denen
je nach Darstellung eine sichtbar ist. Beide tragen dasselbe goldene
Wappen — nur „mighty" wechselt die Farbe. */
.marke-logo { display: block; flex: none; line-height: 0; }
.marke-logo-bild {
display: block;
width: auto;
height: 28px; /* 472×167 → 79 px breit, deutlich über der Mindestgröße von 45 px */
}
.marke-logo-bild.dunkel { display: none; }
.dunkel .marke-logo-bild.hell { display: none; }
.dunkel .marke-logo-bild.dunkel { display: block; }
/* Welche der AImighty-Anwendungen das hier ist. Gedämpft: Die Marke
trägt, das Produktwort ordnet nur ein. */
.marke-produkt {
white-space: nowrap;
font-size: 0.75rem;
font-weight: 500;
letter-spacing: 0.06em;
color: var(--am-text-gedaempft);
padding-left: var(--am-raum-2);
border-left: 1px solid var(--am-trennlinie);
}
}
/* ── Courier-Anpassungen [RK-COURIER] ─────────────────────────────── */
.app-kennzahlen {
padding: 0;
margin-bottom: var(--am-raum-6);
}
.tabelle th.zahl {
text-align: right;
}
.leerzustand .btn-reihe {
justify-content: center;
}
.app-toolbar .feld,
.app-calc .feld,
.werkzeugleiste .feld {
margin-bottom: 0;
}
@media (max-width: 47.99rem) {
.app-main .btn {
min-height: var(--am-ziel-beruehrung);
}
}
.seitenkopf {
top: 0;
margin-bottom: var(--am-raum-6);
padding-inline: 0;
padding-block: var(--am-raum-4);
}
@media (max-width: 63.99rem) {
.seitenkopf {
top: var(--am-leistenhoehe);
padding-block: var(--am-raum-3);
}
}
/* Unlayered Basis darf die CI-Bausteine nicht überstimmen. */
a.btn,
a.btn:visited,
a.btn:hover {
color: var(--am-text-primaer);
}
a.btn-primaer,
a.btn-primaer:visited,
a.btn-primaer:hover {
color: var(--am-handlung-text);
}
a.btn-gefahr,
a.btn-gefahr:visited,
a.btn-gefahr:hover {
color: var(--am-handlung-text);
}
.leerzustand h4 {
margin-bottom: var(--am-raum-2);
}
.leerzustand p {
max-width: 320px;
margin: 0 auto var(--am-raum-6);
}
.leerzustand > svg {
display: block;
margin-inline: auto;
margin-bottom: var(--am-raum-4);
}
.kennzahl dt {
margin-bottom: var(--am-raum-2);
}
.kennzahl .kennzahl-fuss {
margin-top: var(--am-raum-1);
}
/* Buttons: Textfarbe explizit, sonst gewinnt `button { color: inherit }`
aus der unlayered Basis gegen die CI-Schicht. */
button.btn {
color: var(--am-text-primaer);
}
button.btn-primaer,
button.btn-gefahr {
color: var(--am-handlung-text);
}
button.btn-sekundaer {
color: var(--am-text-primaer);
}
button.btn-still {
color: var(--am-text-sekundaer);
}
/* Marke: gelieferte SVGs, genau eines sichtbar, 28 px hoch. */
.marke-logo-bild {
display: block;
width: auto;
height: 28px;
}
.marke-logo-bild.dunkel {
display: none;
}
.dunkel .marke-logo-bild.hell {
display: none;
}
.dunkel .marke-logo-bild.dunkel {
display: block;
}