/*
 * Farben, Raster und Wortmarke, gemeinsam fuer Mein Konto (Keycloak) und Tresor (Vaultwarden); dieselben Werte wie
 * in Social Media (apps/socialmedia/src/app/globals.css).
 */
:root {
  --gruene-tanne: #005538;
  --gruene-tanne-tief: #003d28;
  --gruene-klee: #008939;
  --gruene-grashalm: #8abd24;
  --gruene-sonne: #fff17a;
  --gruene-text: #15261d;
  --gruene-text-2: #56645b;
  --gruene-text-3: #7b867f;
  --gruene-grund: #f7f6f2;
  --gruene-rand: #e4e0d6;
  --gruene-rand-stark: #cfc9bb;
  --gruene-hauch: #eef6f0;
  --gruene-ring: 0 0 0 3px rgba(138, 189, 36, 0.55);
  --gruene-schatten: 0 18px 50px rgba(21, 38, 29, 0.18), 0 4px 12px rgba(21, 38, 29, 0.08);
  --gruene-schrift: 'PT Sans', 'Helvetica Neue', Arial, sans-serif;
}

.gruene-icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.gruene-vorleser { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Kopf der Seitenleiste: Raster und Wortmarke */
.gruene-leiste-kopf { display: flex; align-items: center; gap: 4px; }
.gruene-logo { display: flex; flex-direction: column; line-height: 1.15; color: #fff; text-decoration: none; white-space: nowrap; font-family: var(--gruene-schrift); }
.gruene-logo:hover, .gruene-logo:focus { color: #fff; text-decoration: none; }
.gruene-logo-zeile { display: flex; align-items: center; gap: 6px; }
.gruene-logo-gruene { background: var(--gruene-sonne); color: var(--gruene-tanne); font-weight: 700; font-size: 13px; padding: 1px 7px; border-radius: 4px; }
.gruene-logo-ort { font-weight: 700; font-size: 16px; }
.gruene-logo-app { font-size: 12px; color: rgba(255, 255, 255, 0.75); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 2px; }

/* Raster zum Wechseln zwischen den Werkzeugen */
.gruene-raster { position: relative; font-family: var(--gruene-schrift); }
.gruene-raster-knopf {
  width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 8px;
  background: transparent; color: #fff; cursor: pointer; padding: 0; flex: none;
}
.gruene-raster-knopf:hover, .gruene-raster-knopf[aria-expanded='true'] { background: rgba(255, 255, 255, 0.16); }
.gruene-raster-knopf:focus-visible { outline: none; box-shadow: var(--gruene-ring); }
.gruene-raster-menue {
  position: fixed; top: 64px; left: 8px; z-index: 1000; width: 320px; max-width: calc(100vw - 16px);
  background: #fff; color: var(--gruene-text); border: 1px solid var(--gruene-rand); border-radius: 14px;
  box-shadow: var(--gruene-schatten); padding: 8px; text-align: left;
}
.gruene-raster-menue[hidden] { display: none; }
.gruene-raster-titel { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gruene-text-3); padding: 6px 8px 8px; }
.gruene-kacheln { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.gruene-kachel {
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 6px 12px; border-radius: 10px;
  color: var(--gruene-text); font-size: 14px; font-weight: 700; text-align: center; text-decoration: none; line-height: 1.2;
}
.gruene-kachel:hover, .gruene-kachel:focus { background: var(--gruene-hauch); color: var(--gruene-text); text-decoration: none; }
.gruene-kachel:focus-visible { outline: none; box-shadow: var(--gruene-ring); }
.gruene-kachel small { font-weight: 400; font-size: 12px; color: var(--gruene-text-3); }
.gruene-kachel-symbol { width: 50px; height: 50px; border-radius: 14px; background: var(--gruene-hauch); color: var(--gruene-tanne); display: grid; place-items: center; }
.gruene-kachel-symbol .gruene-icon { width: 24px; height: 24px; }
.gruene-kachel[aria-current='page'] .gruene-kachel-symbol { background: var(--gruene-tanne); color: #fff; }
.gruene-raster-fuss { border-top: 1px solid var(--gruene-rand); margin: 8px -8px 0; padding: 8px 16px 2px; font-size: 12px; color: var(--gruene-text-3); }
